cosine_metric_learning
cosine_metric_learning copied to clipboard
TF slim for Tensorflow2
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'
@vladimircape hello, did you find a solution for that ?
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.