x-evolution 0.1.24__tar.gz → 0.1.25__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {x_evolution-0.1.24 → x_evolution-0.1.25}/PKG-INFO +1 -1
- {x_evolution-0.1.24 → x_evolution-0.1.25}/pyproject.toml +1 -1
- {x_evolution-0.1.24 → x_evolution-0.1.25}/train_humanoid.py +5 -5
- {x_evolution-0.1.24 → x_evolution-0.1.25}/.github/workflows/python-publish.yml +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/.github/workflows/test.yml +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/.gitignore +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/LICENSE +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/README.md +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/scripts/install-humanoid.sh +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/tests/test_evolution.py +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/train_lunar.py +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/train_mnist.py +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/train_xor.py +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/x_evolution/__init__.py +0 -0
- {x_evolution-0.1.24 → x_evolution-0.1.25}/x_evolution/x_evolution.py +0 -0
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
# ]
|
|
8
8
|
# ///
|
|
9
9
|
|
|
10
|
-
import os
|
|
11
|
-
os.environ["NCCL_P2P_DISABLE"] = "1"
|
|
12
|
-
os.environ["NCCL_IB_DISABLE"] = "1"
|
|
13
|
-
os.environ["MUJOCO_GL"] = "osmesa"
|
|
10
|
+
# import os
|
|
11
|
+
# os.environ["NCCL_P2P_DISABLE"] = "1"
|
|
12
|
+
# os.environ["NCCL_IB_DISABLE"] = "1"
|
|
13
|
+
# os.environ["MUJOCO_GL"] = "osmesa"
|
|
14
14
|
|
|
15
15
|
from shutil import rmtree
|
|
16
16
|
import gymnasium as gym
|
|
@@ -78,7 +78,7 @@ class HumanoidEnvironment(Module):
|
|
|
78
78
|
|
|
79
79
|
# sample and then bound and scale to -0.4 to 0.4
|
|
80
80
|
|
|
81
|
-
std =
|
|
81
|
+
std = (0.5 * softclamp(log_var, 5.)).exp()
|
|
82
82
|
sampled = mean + torch.randn_like(mean) * std
|
|
83
83
|
action = sampled.tanh() * 0.4
|
|
84
84
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|