mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
[RLlib] Fix "tf variable is unhashable" Error. (#24273)
This commit is contained in:
parent
2c0f9d7e8f
commit
5f12c62226
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ class ModelCatalog:
|
|||
|
||||
def track_var_creation(next_creator, **kw):
|
||||
v = next_creator(**kw)
|
||||
created.add(v)
|
||||
created.add(v.ref())
|
||||
return v
|
||||
|
||||
with tf.variable_creator_scope(track_var_creation):
|
||||
|
|
Loading…
Add table
Reference in a new issue