当前位置:网站首页 > 技术博客 > 正文

i3d(3. Getting Started with Pre-trained I3D Models on Kinetcis400¶)



We will try out a pre-trained I3D model on a single video clip.

First, please follow the to install and if you haven’t done so yet.

Then, we download the video and extract a 32-frame clip from it.

Now we define transformations for the video clip. This transformation function does three things: center crop the image to 224x224 in size, transpose it to , and normalize with mean and standard deviation calculated across all ImageNet images.

Next, we load a pre-trained I3D model.

Note that if you want to use InceptionV3 series model (i.e., i3d_inceptionv3_kinetics400), please resize the image to have both dimensions larger than 299 (e.g., 340x450) and change input size from 224 to 299 in the transform function. Finally, we prepare the video clip and feed it to the model.

We can see that our pre-trained model predicts this video clip to be action with high confidence.

  • 上一篇: seo图片素材
  • 下一篇: 比较文件的工具
  • 版权声明


    相关文章:

  • seo图片素材2024-10-28 20:30:13
  • linux系统etc文件作用2024-10-28 20:30:13
  • ds1302时钟芯片电路图2024-10-28 20:30:13
  • htm和html一样吗2024-10-28 20:30:13
  • 安装microsoft visual c++ 20102024-10-28 20:30:13
  • 比较文件的工具2024-10-28 20:30:13
  • 积分运算电路计算公式2024-10-28 20:30:13
  • java线程如何通信2024-10-28 20:30:13
  • 栅格布局是什么意思2024-10-28 20:30:13
  • pycharm+pyqt52024-10-28 20:30:13