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

Import error with torchvision 0.17 #258

Open
jramapuram opened this issue Feb 1, 2024 · 4 comments
Open

Import error with torchvision 0.17 #258

jramapuram opened this issue Feb 1, 2024 · 4 comments

Comments

@jramapuram
Copy link

🐛 Bugs / Unexpected behaviors

    import pytorchvideo.transforms as PV
  File "/miniconda/lib/python3.10/site-packages/pytorchvideo/transforms/__init__.py", line 3, in 
    from .augmix import AugMix  # noqa
  File "/miniconda/lib/python3.10/site-packages/pytorchvideo/transforms/augmix.py", line 6, in 
    from pytorchvideo.transforms.augmentations import (
  File "/miniconda/lib/python3.10/site-packages/pytorchvideo/transforms/augmentations.py", line 9, in 
    import torchvision.transforms.functional_tensor as F_t

Instructions To Reproduce the Issue:

  • Use latest torchvision (0.17)
  • Import pytorchvideo
@abrhamkg
Copy link

abrhamkg commented Feb 21, 2024

You can do the following to get rid of this error.

git clone git clone https://github.com/facebookresearch/pytorchvideo.git
cd pytorchvideo
pip install -e .

@talesa
Copy link

talesa commented Feb 23, 2024

@NicolasHug would you be able to release the current version of main to PyPI as pytorchvideo==0.1.6, pretty please? 🙏

@NicolasHug
Copy link
Contributor

I'll try to see what I can do - no guarantees.

The PyPI project is owned by @haooooooqi - Haoqi any chance you'd be available to transfer the PyPI ownership?

@tornikeo
Copy link

In the meantime just use:

pip install git+https://github.com/facebookresearch/pytorchvideo.git

It will be a while before pip package catches up.

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

5 participants