MarvinTeichmann / KittiBox

A car detection model implemented in Tensorflow.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

module 'Tensorflow' has no attribute 'app'

Sarnia913 opened this issue · comments

Hi! I have run the demo.py on the input and resulted in error as follows. how I can fix the case?

(base) PS C:\Users\mfazl\Desktop\DeepLearning\Task2\MultiNet> python demo.py --gpus 0 --input data/demo/um_000005.png
2021-07-01 16:15:09.646966: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library cudart64_110.dll
Traceback (most recent call last):
File "demo.py", line 50, in
flags = tf.app.flags
AttributeError: module 'tensorflow' has no attribute 'app'
(base) PS C:\Users\mfazl\Desktop\DeepLearning\Task2\MultiNet>

if the problem comes from TensorFlow on my system, please let me know the alternative link which I can update for Windows 10.
the one you mentioned works for Linux.