Open mikechen66 opened 4 years ago
This sounds like we are trying to load the pre-trained network for TF 1.4 into a setup that uses 2.0. The causes always this sort of error I am afraid. The real solution would be to get the training to work.
Thanks. Since the major libraries have been changed based on TensorFlow 2.0 and Keras 2.3.1, it has been difficult not to comply with the scenarios/situations. As a matter of fact, I sometimes test scripts based on TensorFlow 1.5 that is quite similar with TensorFlow 2.0.
Hi Douwe:
While running the script, it shows ValueError: Unknown initializer: GlorotUniform. It eventually showa ValueError: Unknown layer: BatchNormalizationV2 after I tried to fix it with the following method.
1. Original Code
2. ValueError: Unknown initializer: GlorotUniform
ValueError Traceback (most recent call last)