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

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
  • l298n引脚功能表2024-10-28 20:30:13
  • 86版王码五笔输入法字根表2024-10-28 20:30:13
  • 支付宝里的蚂蚁森林有什么用处2024-10-28 20:30:13
  • 测网络连通性用什么命令2024-10-28 20:30:13
  • 栅格布局是什么意思2024-10-28 20:30:13
  • 备忘录设计图2024-10-28 20:30:13
  • 微信定位精灵软件免费版下载2024-10-28 20:30:13
  • 电脑设置软件开机自动启动2024-10-28 20:30:13
  • oracle中创建视图并查询视图2024-10-28 20:30:13