When I use your repository, I found that there might be some potential detrimental usage of TensorFlow in your code and I help you modified as below:
tf.to_float and tf.to_int32 has been deprecated since tf 1.13.0 and removed in tf 2.0.0-alpha. It's better to replace it with tf.cast, otherwise, it might lead to a crash in the future.
@DrewNF
Hope you could take my advice and look forward to your reply! 😃
Hi developers,
When I use your repository, I found that there might be some potential detrimental usage of TensorFlow in your code and I help you modified as below:
tf.to_float
andtf.to_int32
has been deprecated since tf 1.13.0 and removed in tf 2.0.0-alpha. It's better to replace it withtf.cast
, otherwise, it might lead to a crash in the future.@DrewNF Hope you could take my advice and look forward to your reply! 😃