1.运行 sh c3d_sport1m_feature_extraction_video.sh
出错: syncedmem.cpp:47] Check failed: error == cudaSuccess (30 vs. 0) unknown error
* Check failure stack trace: *
Aborted (core dumped)
解决方法:+ sudo
sudo sh c3d_sport1m_feature_extraction_video.sh
2.接着error: Check failed: error == cudaSuccess (8 vs. 0) invalid device function
* Check failure stack trace: *
Aborted (core dumped)
原因:显卡算力设置有误
解决方法:
https://developer.nvidia.com/cuda-gpus查询自己显卡算力 我使用的是1080Ti 算力是6.1
打开Makefile.config
将最后一行注释删除
2.Finetuning C3D Pre-trained model on UCF101
Prepare data
下载 ucf101
提取帧 (也可以直接使用.avi文件)
修改train_01.lst和test_01.lst,使路径指向包含提取帧的目录。
the example uses the first public train/test splits provided by UCF101.
开始 finetuning
run:
sh ucf101_finetuning.sh
测试 finetuned model
run:
sh ucf101_testing.sh
测试结果是剪辑精度,可以进一步汇总计算出视频级精度.