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

Need hash_func for type unknown #1187

Open
tc87 opened this issue Mar 6, 2020 · 1 comment
Open

Need hash_func for type unknown #1187

tc87 opened this issue Mar 6, 2020 · 1 comment

Comments

@tc87
Copy link

@tc87 tc87 commented Mar 6, 2020

Summary

A community member noticed a "cannot hash of type" issue. More information can be found in this forum discussion.

Full error message

This is the error the community member received:UnhashableType: Cannot hash object of type _thread.RLock

@tc87

This comment has been minimized.

Copy link
Author

@tc87 tc87 commented Mar 6, 2020

More context from user:

FYI the type of the loaded model (which I apparently can’t reach) is returned as:
tensorflow.python.saved_model.load.Loader._recreate_base_user_object.<locals>._UserObject

I resolved the issue using allow_output_mutation=True.

@tc87 tc87 changed the title Need hash_func for type _thread.RLock Need hash_func for type unknown Mar 6, 2020
@jrhone jrhone added enhancement and removed bug labels Apr 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.