Closed oggyfaker closed 1 year ago
This issue caused by import lib of decord and pytorch at the same time. For fixing this bug, you should reinstall lib of decord step by step like this:
decord
pytorch
sudo add-apt-repository ppa:savoury1/ffmpeg4 sudo apt-get update sudo apt-get install -y build-essential python3-dev python3-setuptools make cmake sudo apt-get install -y ffmpeg libavcodec-dev libavfilter-dev libavformat-dev libavutil-dev
Make install using cuda
git clone --recursive https://github.com/dmlc/decord cd decord mkdir build && cd build cmake .. -DUSE_CUDA=ON -DCMAKE_BUILD_TYPE=Release make
Then install for python
cd ../python python3 setup.py install --user
Finally, you have installed decord correctly. You can re-run the vqa.py.
This issue caused by import lib of
decord
andpytorch
at the same time. For fixing this bug, you should reinstall lib ofdecord
step by step like this:Make install using cuda
Then install for python
Finally, you have installed
decord
correctly. You can re-run the vqa.py.