efficientnet icon indicating copy to clipboard operation
efficientnet copied to clipboard

TensorFlow v2 & linting

Open SamuelMarks opened this issue 5 years ago • 2 comments

SamuelMarks avatar Jan 02 '20 01:01 SamuelMarks

is this necessary ? this module works fine for me on TF2

rom1504 avatar Feb 08 '20 18:02 rom1504

You'll get warnings or errors without the tf.compat variants of tf.compat.v1.Session() and tf.compat.v1.global_variables_initializer().

E.g., look at their source code https://github.com/tensorflow/tensorflow/blob/r2.1/tensorflow/python/client/session.py#L1511-L1676

SamuelMarks avatar Feb 08 '20 21:02 SamuelMarks