Spaces:
Sleeping
Sleeping
Update Space (evaluate main: 8fd64d2f)
Browse files- requirements.txt +1 -1
- rl_reliability.py +1 -1
requirements.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
git+https://github.com/huggingface/evaluate@
|
| 2 |
git+https://github.com/google-research/rl-reliability-metrics
|
| 3 |
scipy
|
| 4 |
tensorflow
|
|
|
|
| 1 |
+
git+https://github.com/huggingface/evaluate@8fd64d2f5193b7e1da945abf04da26c1ff3d8a54
|
| 2 |
git+https://github.com/google-research/rl-reliability-metrics
|
| 3 |
scipy
|
| 4 |
tensorflow
|
rl_reliability.py
CHANGED
|
@@ -73,7 +73,7 @@ Examples:
|
|
| 73 |
>>> import numpy as np
|
| 74 |
>>> rl_reliability = evaluate.load("rl_reliability", "online")
|
| 75 |
>>> results = rl_reliability.compute(
|
| 76 |
-
... timesteps=[np.linspace(0, 2000000, 1000)],
|
| 77 |
... rewards=[np.linspace(0, 100, 1000)]
|
| 78 |
... )
|
| 79 |
>>> print(results["LowerCVaROnRaw"].round(4))
|
|
|
|
| 73 |
>>> import numpy as np
|
| 74 |
>>> rl_reliability = evaluate.load("rl_reliability", "online")
|
| 75 |
>>> results = rl_reliability.compute(
|
| 76 |
+
... timesteps=[np.linspace(0, 2000000, 1000, dtype=np.int64())],
|
| 77 |
... rewards=[np.linspace(0, 100, 1000)]
|
| 78 |
... )
|
| 79 |
>>> print(results["LowerCVaROnRaw"].round(4))
|