'ImportError: No module named tensorflow [Retinanet]
I'm trying to run the training command (keras_retinanet/bin/train.py --tensorboard-dir ~/RetinanetTutorial/TrainingOutput --snapshot-path ~/RetinanetTutorial/TrainingOutput/snapshots --random-transform --steps 100 pascal ~/RetinanetTutorial/PlumsVOC) of this tutorial of Keras Retinanet (https://github.com/jaspereb/Retinanet-Tutorial), but get the following error:
Traceback (most recent call last): File "keras_retinanet/bin/train.py", line 24, in from tensorflow import keras ImportError: No module named tensorflow
I'm running this on a linux debian OS and installed Tensorflow version 2.3 and python3. Checking the Tensorflow version on terminal works fine and is also listed in pip list, but when i run the above command i get the error.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|