Closed huxiaobo007 closed 2 years ago
I always get an error when using the @ symbol in the .gin file for example: when I uesd dnn.activation_fn = @tf.nn.tanh; ValueError: No configurable matching reference '@tf.nn.tanh' Whatever @ I use , I always get the error.
I meet this issue too!!! maybe you should add import gin.tf.external_configurables
import gin.tf.external_configurables
Yeah you need to import gin.tf.external_configurables
I always get an error when using the @ symbol in the .gin file for example: when I uesd dnn.activation_fn = @tf.nn.tanh; ValueError: No configurable matching reference '@tf.nn.tanh' Whatever @ I use , I always get the error.