-
Hi,
Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
keiohta
Jun 5, 2021
Replies: 1 comment 1 reply
-
tf2.x employs define-by-run interface that defines network shape by feeding data to the network. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
HesNobi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tf2.x employs define-by-run interface that defines network shape by feeding data to the network.
Since tf2rl loads the saved weights at initialization of the Trainer class and input-output dimension can change depends on what env we want to use, defining network architecture before loading the weights enables fast check whether the saved weights match the input-output shape.