-
Notifications
You must be signed in to change notification settings - Fork 752
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
!pip install tensorflow==2.3.0 is not working on Colab #160
Comments
@tpootai run: if you get some errors try to run this as well: Then you should be all good! |
Hi @mikalbre I tried what you proposed and got a few more errors. However, I managed to fix it through the method I mentioned below. First, I change to python 3.8 and install libraries as @mikalbre said: !sudo update-alternatives --config python3 ! pip install tensorflow==2.3.0` I also install gdown to download video from my Google Drive to the runtime. !pip install gdown Then before running !pip install opencv-python After that, install 3 more libraries before running !pip install Pillow
P.S. I think the main problem comes from library dependencies. If anyone reading this thread has a better method or the method I proposed also works fine with you, comments would be much appreciated! |
I've tried this, but when I import tensorflow as tf, I found it still import tensorflow 2.12.0(from path /usr/local/lib/python3.9/dist-packages/tensorflow-2.12.0), tensoflow 2.3 was installed in path /usr/local/lib/python3.8/dist-packages, then I tried to insert this path in sys(sys.path.insert(0, '/usr/local/lib/python3.8/dist-packages/')), it mentioned Python version mismatch: module was compiled for Python 3.8, but the interpreter version is 3.9.2 |
PLEASE HELPP!! |
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:
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
tensorflow-gpu
#155! pip uninstall tensorflow
#132The text was updated successfully, but these errors were encountered: