ahmetozlu / tensorflow_object_counting_api

🚀 The TensorFlow Object Counting API is an open source framework built on top of TensorFlow and Keras that makes it easy to develop object counting systems!
https://www.youtube.com/watch?v=yT_1eKJTdfk
MIT License
1.32k stars 545 forks source link

Fixed the compatibility problems caused by tensorflow2 version. #91

Open haziyevv opened 3 years ago

haziyevv commented 3 years ago

Just replaced tensorflow imports with tensorflow.compat.v1 and added tf.disable_v2_behavior thats all.