mirror of
https://github.com/wassname/ray.git
synced 2026-09-10 12:38:43 +08:00
[RLlib] Allow SAC to use custom models as Q- or policy nets and deprecate "state-preprocessor" for image spaces. (#13522)
This commit is contained in:
@@ -22,6 +22,6 @@ def with_lock(func: Callable):
|
||||
except AttributeError:
|
||||
raise AttributeError(
|
||||
"Object {} must have a `self._lock` property (assigned to a "
|
||||
"threading.Lock() object in its constructor)!".format(self))
|
||||
"threading.RLock() object in its constructor)!".format(self))
|
||||
|
||||
return wrapper
|
||||
|
||||
Reference in New Issue
Block a user