I am using this repo to install BasicVSR++
https://github.com/HolyWu/vs-basicvsrpp
I am trying with the following commands.
pip install -U openmim - It runs properly
mim install "mmcv>=2.0.0" - Stuck on this command its saying following message.
C:\Users\SACHIN>mim install "mmcv>=2.0.0"
'mim' is not recognized as an internal or external command,
operable program or batch file.
Anyone have idea about it?
+ Reply to Thread
Results 1 to 14 of 14
-
-
try with mim install "mmcv>=2.0.0rc1"
https://mmcv.readthedocs.io/en/2.x/get_started/installation.html -
Did you install PyTorch 1.13+ beforehand as HolyWu describes?
'mim' is not recognized as an internal or external command,
operable program or batch file.
or navigate to that directory , where mim is, press Shift + right click on empty space in that mim's directory to get a pop up menu, press Open PowerShell window here, then write "cmd" (no quotes) to that window and press Enter to get a cmd prompt. That will default command prompt window to that mim's directory path. Then use mim command again in that window, you do not need to include the whole path because you are running cmd prompt from that directory.Last edited by _Al_; 25th Sep 2023 at 15:30.
-
Hello, I have already installed the PyTorch 1.13+ and I am not able to find the mim installation folder on my machine.
Below is the detailed installation screenshot. -
btw. if this is an attempt to install BasicVSR++ in Hybrid: this is the wrong way.
for other cases, https://forum.doom9.org/showthread.php?t=183156 might help, I posted how I set up a portable Vapoursynth with BasicVSR++ and others. Required version numbers might not be up-to-date, but it should show how its generally done.users currently on my ignore list: deadrats, Stears555, marcorocchini -
-
How do you even install BasicVSR++?
- Hybrid has a torch add-on ready to download.
- Here's how I build Hybrids torch-addon:
- 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/R72/VapourSynth64-Portable-R72.zip - Extract Python and then Vapoursynth into the Vapoursynth folder
- Change the content of the python312._pth to:
Code: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'
- Download the pip installer
- Integrate Vapoursynth to the environment by calling:
'python -m pip install wheel/VapourSynth-72-cp312-abi3-win_amd64.whl' - Install torch
Code: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 --no-deps --pre -U torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu128 python -m pip install -U torch torchvision torch_tensorrt --index-url https://download.pytorch.org/whl/cu128 --extra-index-url https://pypi.nvidia.com
- Install VSGAN
Code:python -m pip install -U vsgan
- Install vs-rife
Code:python -m pip install -U vsrife
- Install BasicVSR++
Code:python -m pip install -U vsbasicvsrpp
- Install DPIR
Code:python -m pip install -U vsdpir
- Install SCUNet
Code:python -m pip install -U vsscunet
- Install REALEsrgan
Code:python -m pip install -U vsrealesrgan
- Install HINet
Code:python -m pip install -U vshinet
- Install AnimeSR
Code:python -m pip install -U vsanimesr
- Install FeMaSR
Code:python -m pip install -U vsfemasr
- Install CodeFormer
Code:python -m pip install -U vscodeformer python -m pip install https://github.com/eddiehe99/dlib-whl/releases/download/v20.0.0/dlib-20.0.0-cp312-cp312-win_amd64.whl
- Install GRLIR
Code:python -m pip install -U vsgrlir
- Install MFDIN
Code:python -m pip install -U vsmfdin
- Install ProPainter
Code:python -m pip install https://github.com/dan64/vs-propainter/releases/download/v1.2.1/vspropainter-1.2.1-py3-none-any.whl
- Install VSDDColor
Code:python -m pip install https://github.com/dan64/vs-deoldify/releases/download/v4.0.0/vsddcolor-1.0.1-py3-none-any.whl
- Install SwinIR
Code:python -m pip install -U vsswinir
- Install DeOldify
Code:python -m pip install -U scikit-image python -m pip install -U numba python -m pip install https://github.com/dan64/vs-deoldify/releases/download/v5.0.4/vsdeoldify-5.0.4-py3-none-any.whl
- Download:
- https://colorizers.s3.us-east-2.amazonaws.com/colorization_release_v2-9b330a0b.pth
- https://colorizers.s3.us-east-2.amazonaws.com/siggraph17-df00044c.pth
- https://data.deepai.org/deoldify/ColorizeArtistic_gen.pth
- https://www.dropbox.com/s/axsd2g85uyixaho/ColorizeStable_gen.pth?dl=0
- https://data.deepai.org/deoldify/ColorizeVideo_gen.pth
Place them in Vapoursynth/vsdeoldify/models-folder - https://github.com/zhangmozhe/Deep-Exemplar-based-Video-Colorization/releases/download...checkpoint.zip
Extract it into Vapoursynth\Lib\site-packages\vsdeoldify\deepex - https://download.pytorch.org/models/resnet101-63fe2227.pth
- https://download.pytorch.org/models/resnet50-19c8e357.pth
- https://dl.fbaipublicfiles.com/dinov2/dinov2_vits14/dinov2_vits14_pretrain.pth
Place them in Vapoursynth\Lib\site-packages\vsdeoldify\deepex\checkpoints-folder - https://github.com/yyang181/colormnet/releases/download/v0.1/DINOv2FeatureV6_LocalAtte..._s2_154000.pth
Place it into Vapoursynth/Lib/site-packages/vsdeoldify/colormnet/weights-folder
- Install spatial_correlation_sampler (needs new build, see: https://forum.selur.net/thread-3595-post-26036.html#pid26036)
Extract content into Vapoursynth\Lib\site-packages
- Download:
- Download Models for the installed tools:
Code:python -m vsrife python -m vsdpir python -m vsscunet python -m vsrealesrgan python -m vshinet python -m vsfemasr python -m vscodeformer python -m vsgrlir python -m vsddcolor python -m vsswinir python -m vsbasicvsrpp
- Install DeepDeinterlace (fails due to openmim dependency)
Download https://github.com/pifroggi/vs_deepdeinterlace/archive/refs/heads/main.zip and place the vs_deepdeinterlace-folder (under vs_deepdeinterlace-main) into Vapoursynth/Lib/site-packages
Code:python -m pip install positional_encodings
How do you install anything in Python in general?
Depending on your environment you then use either:
Code:python -m pip install -U <package name>
Code:pip install -U <package name>
Cu Selurusers currently on my ignore list: deadrats, Stears555, marcorocchini -
For now, I've installed Python (I already had 3.12, now I have 3.13).
I installed pytorch 2.80 -- it worked without a problem using the command on their website.
I'm installing it on the system, not on Hybrid.
Edit: OK, the pip command should be issued in the Windows shell, not in python -
I installed pytorch 2.80 -- it worked without a problem using the command on their website.
Happy you found a setup that worked for you.users currently on my ignore list: deadrats, Stears555, marcorocchini -
DOH, sorry. I misread PyTorch as Python, which caused my confusion.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
Selur, thanks for detailed what to do.
To make a bit more simple In your detailed explanation installing latest vapoursynth, compatible python, get-pip.py into a directory, running whl file, could be done just by running that Install-Portable-VapourSynth-R72.bat (that uses that *.ps1 file, that needs to be downloaded, or just run that ps1) from https://github.com/vapoursynth/vapoursynth/releases site. So as myrsloik mentioned, this replaces this part of your workflow:
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/R72/VapourSynth64-Portable-R72.zip
Extract Python and then Vapoursynth into the Vapoursynth folder
Change the content of the python312._pth to:
Code:
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-72-cp312-abi3-win_amd64.whl'Last edited by _Al_; 22nd Aug 2025 at 19:54.
-
Yes, I copied (+modified) those steps from a step-by-step list I wrote when the Powershell script for the setup was not available.
users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
BasicVSR++ usage
By Axymeus in forum Video ConversionReplies: 9Last Post: 24th Sep 2023, 02:55 -
How do you install in x264 8 bit codec on Windows computers?
By Guernsey in forum Video ConversionReplies: 14Last Post: 12th Oct 2022, 00:58 -
How do you install FFMPEG on Windows XP or Windows 10?
By Guernsey in forum Newbie / General discussionsReplies: 8Last Post: 8th Oct 2020, 09:11 -
Should I install the Xvid codec on my Windows 10 laptop?
By Guernsey in forum Newbie / General discussionsReplies: 7Last Post: 28th Jul 2020, 04:52 -
Windows 7 re-installed and no way to install Vob2mpg again
By DVDguru45 in forum SVCD2DVD & VOB2MPGReplies: 5Last Post: 19th Apr 2019, 11:57