Kiteretsu77 / FAST_Anime_VSR

Fast Anime Video Super Resolution and Restoration (Real-CUGAN + Real-ESRGAN + VCISR based)
https://github.com/Kiteretsu77/FAST_Anime_VSR
MIT License
62 stars 9 forks source link

better installation instructions on windows #10

Open phineas-pta opened 1 year ago

phineas-pta commented 1 year ago

just stumble upon your repo when trying to use real-esrgan with tensorrt, i think the instructions can be a bit better, especially windows and the .bat file

nvidia docs are very long and complicated, i write my own guide to install CUDA + cuDNN + TensorRT on windows: https://github.com/phineas-pta/NVIDIA-win/blob/main/NVIDIA-win.md (u can use this to make tutorial video if u want)

for python packages here my suggestions:

  1. install torch if cuda 11.8: pip install torch torchvision --index-url https://download.pytorch.org/whl/cu118 if cuda 12.1: pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121

  2. install tensorrt if linux: pip install tensorrt if windows: pip install + the tensorrt .whl file in the folder downloaded when install TensorRT no need to install onnx_graphsurgeon nor tensorrt_dispatch nor tensorrt_lean also seem like in the future (not now) with tensorrt v9 u can do pip install tensorrt on windows

  3. install packaging with pip install packaging

  4. install torch2trt with pip install git+https://github.com/NVIDIA-AI-IOT/torch2trt.git no need to git clone

Kiteretsu77 commented 1 year ago

Thanks for your advice! I will think about it!

My12123 commented 11 months ago

@phineas-pta Made some changes to Installer for Windows.bat https://github.com/Kiteretsu77/FAST_Anime_VSR/pull/14