DrewNF / Tensorflow_Object_Tracking_Video

Object Tracking in Tensorflow ( Localization Detection Classification ) developed to partecipate to ImageNET VID competition
MIT License
503 stars 198 forks source link

Fix deprecated api #21

Closed TITAN-PyCompat closed 5 years ago

TITAN-PyCompat commented 5 years ago

Hi developers,

I also found some potential detrimental deprecated api usag below:

tf.scalar_summary,tf.histogram_summary,tf.merge_all_summaries,tf.histogram_summary have been deprecated in tf v0.12.0 and removed in tf v1.0.0. It's better to replace it with apis in tf.summary

tf.initialize_all_variables has been deprecated in tf v0.12.0 and should be replaced with tf.global_variables_initializer

I think this will help make this code more compatible !

@DrewNF Hope you could take my advice and look forward to your reply! 😃

DrewNF commented 5 years ago

Thanks a lot for your help! 👍 🥇