Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tf.1x to tf.2x #35

Open
Syk-yr opened this issue Sep 14, 2021 · 0 comments
Open

tf.1x to tf.2x #35

Syk-yr opened this issue Sep 14, 2021 · 0 comments

Comments

@Syk-yr
Copy link

Syk-yr commented Sep 14, 2021

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant