Hi there, trying to run the inference.py script from this tutorial. .
I tried on both my PC and a server, but I’m getting errors on both.
On my PC, I tried to run (I don’t have a GPU)
python inference.py --data-list videos_path.txt --model i3d_resnet50_v1_kinetics400 --gpu-id -1
and I got the error:
TypeError: __init__() got an unexpected keyword argument 'lazy_init'
As for the GluonCV version, I re-installed it today by using the command:
pip install --upgrade mxnet gluoncv
On the server, the error seems to be related to decord…I run
python inference.py --data-list videos_path.txt --model i3d_resnet50_v1_kinetics400
and got the error:
ImportError: cannot import name 'try_import_decord'
I tried to use the option “–use-decord=False”, but the result didn’t change. On this server, I installed everything by running:
pip install --upgrade mxnet-cu90mkl gluoncv conda install -c anaconda cudatoolkit==9.0