Created
August 3, 2020 16:00
-
-
Save bhavesh-b/7dad94f7dd25a267614bf408f3d57c26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install dependencies: | |
!pip install pyyaml==5.1 pycocotools>=2.0.1 | |
import torch, torchvision | |
print(torch.__version__, torch.cuda.is_available()) | |
!gcc - version | |
# opencv is pre-installed on colab | |
# install detectron2: (colab has CUDA 10.1 + torch 1.6): | |
# See https://detectron2.readthedocs.io/tutorials/install.html for instructions | |
assert torch.__version__.startswith("1.6") | |
!pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.6/index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment