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

Detectron2 Tutorial is not working #2711

Closed
jakee417 opened this issue Mar 8, 2021 · 3 comments
Closed

Detectron2 Tutorial is not working #2711

jakee417 opened this issue Mar 8, 2021 · 3 comments

Comments

@jakee417
Copy link

jakee417 commented Mar 8, 2021

Instructions To Reproduce the 🐛 Bug:

  1. Run second cell of Detectron2 Tutorial.ipynb (https://colab.research.google.com/drive/16jcaJoc6bCFAQ96jDe2HwtXj7BMD_-m5)
  2. import torch assert torch.__version__.startswith("1.7")

Expected behavior:

I think torch was upgraded to 1.8.0 on Google Colab and now the tutorial isn't working? I am new to Detectron2 so unsure if this worked in the past.

Environment:

Standard Google Colab session

@ShaneMoreno
Copy link

It was working earlier today but Google Collab upgraded to torch 1.8.0+cu101

The second cell of Detectron2 Tutorial installs from the torch1.7 wheel. There is no torch1.8 wheel at the link below:
!pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.7/index.html

Please update. Thank you.

@sahilchinoy
Copy link

I'm running into the same issue; in case it's helpful, running !pip install torch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 at the top of the notebook seems to be a temporary fix.

@ppwwyyxx
Copy link
Contributor

now upgraded to use torch 1.8

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants