david8862 / keras-YOLOv3-model-set

end-to-end YOLOv4/v3/v2 object detection pipeline, implemented on tf.keras with different technologies
MIT License
640 stars 222 forks source link

Requirements.txt: ImportError: cannot import name 'abs' #186

Open alexanderwendt opened 3 years ago

alexanderwendt commented 3 years ago

At installing the requirements.txt, I get the same error as in this ticket: ImportError: cannot import name 'abs' https://github.com/tensorflow/probability/issues/46

The solution is to remove tensorflow 1.x and pip install tensorflow again to solve it. In my case, tf2.5 is installed. Perhaps this should be corrected in the requirements file.

david8862 commented 3 years ago

@alexanderwendt for wider tf-gpu compatibility I didn't specify its version in requirements.txt. So you can manually change it if meet any problem.