Advertisement
Guest User

Untitled

a guest
Mar 25th, 2025
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. * Create an empty Vapoursynth folder.
  2. * Download portable Python (3.12)
  3. https://www.python.org/ftp/python/3.12.9/python-3.12.9-embed-amd64.zip
  4. * Download portable Vapoursynth
  5. https://github.com/vapoursynth/vapoursynth/releases/download/R70/VapourSynth64-Portable-R70.zip
  6. * Extract Python and then Vapoursynth into the Vapoursynth folder
  7. * Change the content of the python312._pth to
  8. ```
  9. Scripts
  10. Lib\site-packages
  11. python312.zip
  12. .
  13.  
  14. # Uncomment to run site.main() automatically
  15. #import site
  16. ```
  17. * Install pip
  18. * Download the pip installer
  19. https://bootstrap.pypa.io/get-pip.py and move it into your Vapoursynth folder
  20. * Open a terminal inside the Vapoursynth and call 'python get-pip.py'
  21.  
  22. * Integrate Vapoursynth to the environment by calling 'python -m pip install wheel/VapourSynth-70-cp312-cp312-win_amd64.whl'
  23.  
  24. * Install torch
  25. ```
  26. python -m pip install -U packaging setuptools wheel
  27. python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu128
  28. python -m pip install opencv-contrib-python
  29. python -m pip install --pre -U torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu128
  30. python -m pip install tensorrt
  31. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement