agentmorris / MegaDetector

MegaDetector is an AI model that helps conservation folks spend less time doing boring things with camera trap images.
MIT License
117 stars 26 forks source link

Error installing torch==1.10.1 in Colab notebook #103

Closed agentmorris closed 1 year ago

agentmorris commented 1 year ago

I am encountering an error while trying to install torch==1.10.1 in a Colab notebook. The specific command I am using is !pip install torch==1.10.1 torchvision==0.11.2. However, I am getting the following error message:

yaml Copy code ERROR: Could not find a version that satisfies the requirement torch==1.10.1 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1) ERROR: No matching distribution found for torch==1.10.1 I need assistance in resolving this issue so that I can successfully install torch==1.10.1 in my Colab notebook.

Steps to reproduce the issue:

Create a new Colab notebook. Execute the command !pip install torch==1.10.1 torchvision==0.11.2. Expected result: The command should successfully install torch==1.10.1 and torchvision==0.11.2 without any errors.

Actual result: The installation fails with the error message mentioned above.

Additional information: I have already tried specifying other versions of the torch, but the error persists. The Colab notebook environment has internet access. Any assistance or insights to resolve this issue would be greatly appreciated. Thank you!


Issue cloned from Microsoft/CameraTraps, original issue posted by ronbitonn on Jul 03, 2023.

agentmorris commented 1 year ago

Open and closing as already fixed, for bookkeeping.