VQAssessment / FAST-VQA-and-FasterVQA

[ECCV2022, TPAMI2023] FAST-VQA, and its extended version FasterVQA.
https://www.ecva.net/papers/eccv_2022/papers_ECCV/html/1225_ECCV_2022_paper.php
Other
244 stars 24 forks source link

[Solved] Segmentation Fault (core dump) ** vqa.py** #19

Closed oggyfaker closed 1 year ago

oggyfaker commented 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:

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.