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

TypeError when using 'check-numerics' in combination with 'PolicySavedModelTrigger' #675

Open
ULudo opened this issue Nov 15, 2021 · 0 comments

Comments

@ULudo
Copy link

ULudo commented Nov 15, 2021

If I enable tensor numeric checking and initialise a Learner with a PolicySavedModelTrigger I get the following error:

TypeError: Input 'resource' of 'AssignVariableOp' Op has type float32 that does not match expected type of resource.

You can recreate this error if you execute the TensorFlow tutorial 'SAC minitaur with the Actor-Learner API' in Colab and enable tensor numeric checking at the beginning of the file with the following command:

tf.debugging.enable_check_numerics()

I also get this error when I enable dumping debugging information by the following command:

tf.debugging.experimental.enable_dump_debug_info(<path>, tensor_debug_mode="FULL_HEALTH", circular_buffer_size=1)

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