Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * Create an empty Vapoursynth folder.
- * Download portable Python (3.12)
- https://www.python.org/ftp/python/3.12.9/python-3.12.9-embed-amd64.zip
- * Download portable Vapoursynth
- https://github.com/vapoursynth/vapoursynth/releases/download/R70/VapourSynth64-Portable-R70.zip
- * Extract Python and then Vapoursynth into the Vapoursynth folder
- * Change the content of the python312._pth to
- ```
- Scripts
- Lib\site-packages
- python312.zip
- .
- # Uncomment to run site.main() automatically
- #import site
- ```
- * Install pip
- * Download the pip installer
- https://bootstrap.pypa.io/get-pip.py and move it into your Vapoursynth folder
- * Open a terminal inside the Vapoursynth and call 'python get-pip.py'
- * Integrate Vapoursynth to the environment by calling 'python -m pip install wheel/VapourSynth-70-cp312-cp312-win_amd64.whl'
- * Install torch
- ```
- python -m pip install -U packaging setuptools wheel
- python -m pip install --pre torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu128
- python -m pip install opencv-contrib-python
- python -m pip install --pre -U torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu128
- python -m pip install tensorrt
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement