[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:
Sven Mika
2021-02-02 13:05:58 +01:00
committed by GitHub
parent fa4290090d
commit 52c94b7ee9
25 changed files with 1011 additions and 611 deletions
+1 -1
View File
@@ -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