Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

torchvision video_reader video backend is not available #130

@richardkxu

Description

@richardkxu

Hi,

Thanks for making this open source! I have followed the pytorch installation steps here: https://github.com/facebookresearch/VMZ/blob/master/pt/INSTALL.md. However, I have encountered the following error when I tried to do training on ucf 101 or simply load " torchvision.set_video_backend('video_reader')":

/home/richardkxu/anaconda3/envs/csn/lib/python3.7/site-packages/torchvision/__init__.py:64: UserWarning: video_reader video backend is not available
  warnings.warn("video_reader video backend is not available")

av                        7.0.1            py37h82f89c2_2    conda-forge
ffmpeg                    4.2.2                h20bf706_0  
torch                     1.4.0                    pypi_0    pypi
torchvision               0.5.0                    pypi_0    pypi
cudatoolkit               10.2.89              hfd86e86_1  

I have CUDA=10.2 on my system. I am wondering how to solve the above error? Do I have to use torchvision==0.5.0 or newer version is fine? Do I need to compile torchvision from source (but usually av + torchvision should work)? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions