cosine_metric_learning icon indicating copy to clipboard operation
cosine_metric_learning copied to clipboard

TF slim for Tensorflow2

Open ghost opened this issue 2 years ago • 2 comments

in network_defenition


import tf_slim as slim
with slim.variable_scope.variable_scope("ball", reuse=reuse):

provide error module 'tf_slim' has no attribute 'variable_scope'

ghost avatar Aug 10 '22 20:08 ghost

@vladimircape hello, did you find a solution for that ?

yesmineht avatar Jun 19 '23 13:06 yesmineht

slim comes from tensorflow.contrib.slim that is no longer supported. I'm sure you're using tensorflow 2x version, i'm trying to find a solution.

setzin avatar Apr 01 '24 22:04 setzin