Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility b/w torch and torchvision? #152

Open
shreyakannan1205 opened this issue Apr 8, 2024 · 0 comments
Open

Compatibility b/w torch and torchvision? #152

shreyakannan1205 opened this issue Apr 8, 2024 · 0 comments

Comments

@shreyakannan1205
Copy link

Hello,

I am trying to run the Video-Llama demo file and I am setting up the environment on my linux machine.

These are the steps I am doing:

  1. Cloning video-llama repo
  2. Within that, cloning the 7B-Finetuned model repo
  3. Setting up conda, creating an environment with environment.yaml
  4. installing ffmpeg (I am doing conda install ffmpeg) because my VM doesn't allow apt install or pip install without the conda environment.
  5. Activating the env

When I try to do import torchvision, I am having this error: miniconda3/envs/videollama/lib/python3.9/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: undefined symbol: _ZN3c1017RegisterOperatorsD1Ev

My torchvision version is 0.13.1 and torch version is 2.2.2. Are these compatible? Or is there something else I am missing?

It would be really helpful if someone could provide me tips on how I could fix this!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant