Can't reproduce colab getting started example
See original GitHub issueInstructions To Reproduce the 🐛 Bug:
-
Tried to run the colab getting started on the detectron2 default GitHub repository, but it’s not reproducing.
-
What exact command you run: Exact steps being followed on the getting colab getting started
-
please simplify the steps as much as possible so they do not require additional resources to Default dataset used in the colab getting started
Environment:
Colab is now using Pytorch 1.9 and installation is not working as suggested in the notebook, besides commenting on the assert condition of PyTorch 1.8. version is still producing error while
from detectron2 import _C
ImportError: /usr/local/lib/python3.7/dist-packages/detectron2/_C.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZNK2at6Tensor7is_cudaEv
. @ppwwyyxx any hints or recommendations would be very helpful.
Kind Regards,
Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:12
Top Results From Across the Web
Getting Started With Google Colab | by Anne Bonner
If you want, while you're already in your Google Drive you can create a new Colab notebook. Just click “New” and drop the...
Read more >Troubleshooting Google Colab for the Total Newbie
Working in Google Colab for the first time has been completely awesome and pretty shockingly easy, but it hasn't been without a couple...
Read more >Google Colab Tutorial for Beginners - YouTube
... know to get started with Google Colab. You don't need any setup to get started with Google Cola. ... Your browser can't...
Read more >Welcome to Google Colab: Tricks and Tweaks (Part 2) - Medium
So, let us get started with Colab. ... message = 'A Great Tutorial on Colab by Tutorialspoint!' ... Your browser can't play this...
Read more >Quickstart | Android Management API - Google Developers
To get started with the Android Management API, we've created a Colab notebook that you can follow to enroll an enterprise, create a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The official colab tutorial has now been updated and tested with the workaround to use pytorch1.8.
This blog post contained instructions that worked for me
https://www.sproutworkshop.com/2021/05/how-to-install-detectron2/
I substituted in these two pip installs in the tutorial colab notebook and removed the assertion check for pytorch 1.8
!pip3 install --pre torch torchvision torchaudio -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html !pip install ‘git+https://github.com/facebookresearch/detectron2.git’