gin-config
gin-config copied to clipboard
TF2.0 compatibility?
Does this work with TF 2.0 / is compatibility on the roadmap? Great work so far on this.
Also interested in the answer, as I have already started using TF 2.0.
For anyone interested: I've got a minimally modified fork here. Haven't hit any issues yet, but not heavily tested.
Thanks @jackd if you want to make a PR we can review it and test it.
--> import gin.tf.external_configurables
../gin/tf/external_configurables.py in <module>
144 # Distribution strategies.
--> 145 config.external_configurable(tf.contrib.distribute.MirroredStrategy,
146 module='tf.contrib.distribute')
AttributeError: module 'tensorflow' has no attribute 'contrib'
gin/tf/external_configurables.py contains tf.contrib.distribute.MirroredStrategy
from tf.contrib.distribute
package that is not in TF2.0.
Commenting out that line solves the problem.