rl_CARLA icon indicating copy to clipboard operation
rl_CARLA copied to clipboard

tf.1x to tf.2x

Open Syk-yr opened this issue 3 years ago • 0 comments

Hello,thanks to provide this project.Now,I have some question to ask.First,when I want to change the tensorflow.1x to tensorflow.2x,I find that the work in Initation_learning_network/Network/bn the tf.contrib.layers.batch_norm can not be used in tf2,and I want to use tf.compat.v1.layers.batch_normalization to change,but when the code run into imitation_learning.py/load_model, the error said Not found: Key batch_normalization/beta not found in checkpoint .So I want to ask that the model of /imitation/model/checkpoint is or not be used in the ddpg algorithm? The param Inference in ddpg_agent is False,why need code to run self.env.Image_agent.load_mode(),this model used where ?

Syk-yr avatar Sep 14 '21 03:09 Syk-yr