No such operator video_reader::probe_video_from_memory,slowfast代码复现bug记录
slowfast github链接:https://github.com/facebookresearch/SlowFast
bug1
使用kinetics数据集,复现X3D预训练模型进行测试,当yaml配置文件中DECODING_BACKEND设置为torchvision的时候,出现了报错:
Failed to decode by torchvision with exception: No such operator video_reader::probe_video_from_memory
GitHub上关于这个问题的讨论链接:https://github.com/facebookresearch/SlowFast/issues/181
报错代码块:在decoder.py的函数def torchvision_decode中
# Convert the bytes to a tensor.
video_tensor = torch