You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to run it with Pytorch 1.3 since it's the latest build that supports my GPU. Windows 8.1, Python 3.7, CUDA 10.2
You need to:
Install basicsr, I already had it installed. If I remember correctly, I cloned the repo and modified requirements.txt to change pytorch version, and executed pip install -e /path/to/basicsr
If you have version error with basicsr, just remove the line with version from basicsr/__init__.py
Run pip install ninja
Go to your python installation path, lib/site-packages/ and fix torch/hub.py , add
defget_dir():
returnhub_dir#required by facexlib, implemented only in Pytorch 1.6+
Run pip install facexlib
Edit requirements.txt to exclude fresh pytorch, then run pip install -r requirements.txt
Similar to step 3, fix torch/utils/cpp_extension.py
if you have utf-8 errors, change all decode() to decode('encoding-for-your-spoken-language')
in function _prepare_ldflags add extra_ldflags.append('c10_cuda.lib') near the other similar lines
Run set BASICSR_JIT=True
Run the py script from the Command Line Prompt of VS[YEAR] x64 Native Tools (Visual Studio Build Tools)
No description provided.
The text was updated successfully, but these errors were encountered: