ckkelvinchan / RealBasicVSR

Official repository of "Investigating Tradeoffs in Real-World Video Super-Resolution"
Apache License 2.0
900 stars 134 forks source link

Install dependencies? #54

Open QwertyNice opened 2 years ago

QwertyNice commented 2 years ago

During startup, I encountered many errors from mmcv imports (.../site-packages/mmcv/_ext.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN2at6detail10noopDeleteEPv) to https://github.com/ckkelvinchan/RealBasicVSR/issues/27. It may be worth adding an alternative dependency installation instructions for NONconda env and CUDA11.1 that will allow you to run the program on a clean environment: 1) Install torch from https://pytorch.org/get-started/locally/. For me: pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu113 2) Install mmcv from https://mmcv.readthedocs.io/en/latest/get_started/installation.html For me with torch 11.1.0 (for cuda 11.3) and cuda 11.1 pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.11.0/index.html 3) And at the end: pip install mmedit

Thats work for me and it's up to you to add it. But this issue may help someone. Thanks for the great repository, it helped me a lot!