VBench: Problems Encountered during Installation
Hi,
I install VBench with pip, but I encountered some problems.
- I encountered the following error when evaluating motion_smoothness:
- At line 61 in
vbench/dynamic_degree.py, line 110 invbench/motion_smoothness.pyand line 174 invbench/utils.py, VBench only supports the ‘mp4’ format here.
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 20 (1 by maintainers)
RuntimeError: The detected CUDA version (12.2) mismatches the version that was used to compile PyTorch (11.7). Please make sure to use the same CUDA versions.Now I see the reason for this mismatching when installing with git clone.
For me, my server has cuda 12 yet torch 11.7 is installed in my old conda env. My solution to this is:
pip install -r VBench/requirements.txtpip install detectron2@git+https://github.com/facebookresearch/detectron2.gitpip install VBench*In setup.py:
@BeachWang Hi, we will follow up with your current questions in this issue. For future new questions, it would be great if you open a new issue. Thanks a lot!
You can install detectron2 by using the following commands, which will align with the version we use and this version does not rely on
torch.compile.Hi, thanks for reporting these issues.
.movandvideo_path/{frame_number}.<png/jpg/..>format for all dimensions. If you have other video formats, please feel free to request.