Skip to content

!pip install tensorflow==2.3.0 is not working on Colab #160

@tpootai

Description

@tpootai

Previously, the following command was utilized to install Tensorflow 2.3.0 in order to convert Darknet weights to a Tensorflow model within save_model.py:

!pip install tensorflow==2.3.0

However, currently Tensorflow 2.3.0 is not available, and the following error is persistently occurring:

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
ERROR: Could not find a version that satisfies the requirement tensorflow==2.3.0 (from versions: 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0, 2.12.0rc0, 2.12.0rc1)
ERROR: No matching distribution found for tensorflow==2.3.0

I attempted to upgrade to TensorFlow 2.5.0 or the most recent version offered by Colab.

However, the issue remains that only the initial frame is being tracked, and the subsequent frames are not being tracked, yielding a zero track.

As a beginner, I would appreciate any assistance, and thank you in advance for your help.

P.S. I have done research on some issues and here are the references

  1. Bounding boxes not showing when using tensorflow-gpu #155
  2. Bounding boxes not observed #153
  3. error in "save_model.py" [UnicodeDecodeError] #159
  4. downloading tensorflow==2.3.0rc0 #156
  5. ! pip uninstall tensorflow #132

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions