Skip to content

Commit 049656f

Browse files
Gabe Oppenheimercopybara-github
authored andcommitted
Update dm_control following the MuJoCo 3.3.7 release.
PiperOrigin-RevId: 819939614 Change-Id: Ib713567d217560200a1200ae012a447359a26e91
1 parent 9e3d96c commit 049656f

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

dm_control/mujoco/tutorial.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"\"\"\")\n",
9292
"\n",
9393
"print('Installing dm_control...')\n",
94-
"!pip install -q dm_control\u003e=1.0.34\n",
94+
"!pip install -q dm_control\u003e=1.0.35\n",
9595
"\n",
9696
"# Configure dm_control to use the EGL rendering backend (requires GPU)\n",
9797
"%env MUJOCO_GL=egl\n",

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ h5py==3.14.0
66
labmaze==1.0.6
77
lxml==6.0.1
88
mock==5.2.0
9-
mujoco==3.3.6
9+
mujoco==3.3.7
1010
numpy==2.3.2; python_version >= '3.11'
1111
numpy==2.2.6; python_version == '3.10'
1212
numpy==2.0.2; python_version == '3.9'

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def is_excluded(s):
166166

167167
setup(
168168
name='dm_control',
169-
version='1.0.34',
169+
version='1.0.35',
170170
description='Continuous control environments and MuJoCo Python bindings.',
171171
long_description="""
172172
# `dm_control`: DeepMind Infrastructure for Physics-Based Simulation.
@@ -191,7 +191,7 @@ def is_excluded(s):
191191
'glfw',
192192
'labmaze',
193193
'lxml',
194-
'mujoco >= 3.3.6',
194+
'mujoco >= 3.3.7',
195195
'numpy >= 1.9.0',
196196
'protobuf >= 3.19.4',
197197
'pyopengl >= 3.1.4',

tutorial.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"\"\"\")\n",
9292
"\n",
9393
"print('Installing dm_control...')\n",
94-
"!pip install -q dm_control\u003e=1.0.34\n",
94+
"!pip install -q dm_control\u003e=1.0.35\n",
9595
"\n",
9696
"# Configure dm_control to use the EGL rendering backend (requires GPU)\n",
9797
"%env MUJOCO_GL=egl\n",
@@ -317,7 +317,7 @@
317317
"\u003cmujoco\u003e\n",
318318
" \u003cworldbody\u003e\n",
319319
" \u003clight name=\"top\" pos=\"0 0 1\"/\u003e\n",
320-
" \u003cbody name=\"box_and_sphere\" euler=\"0 0 -30\"\u003e \n",
320+
" \u003cbody name=\"box_and_sphere\" euler=\"0 0 -30\"\u003e\n",
321321
" \u003cjoint name=\"swing\" type=\"hinge\" axis=\"1 -1 0\" pos=\"-.2 -.2 -.2\"/\u003e\n",
322322
" \u003cgeom name=\"red_box\" type=\"box\" size=\".2 .2 .2\" rgba=\"1 0 0 1\"/\u003e\n",
323323
" \u003cgeom name=\"green_sphere\" pos=\".2 .2 .2\" size=\".1\" rgba=\"0 1 0 1\"/\u003e\n",
@@ -758,7 +758,7 @@
758758
"\u003cmujoco model=\"tippe top\"\u003e\n",
759759
" \u003coption integrator=\"RK4\"/\u003e\n",
760760
" \u003casset\u003e\n",
761-
" \u003ctexture name=\"grid\" type=\"2d\" builtin=\"checker\" rgb1=\".1 .2 .3\" \n",
761+
" \u003ctexture name=\"grid\" type=\"2d\" builtin=\"checker\" rgb1=\".1 .2 .3\"\n",
762762
" rgb2=\".2 .3 .4\" width=\"300\" height=\"300\"/\u003e\n",
763763
" \u003cmaterial name=\"grid\" texture=\"grid\" texrepeat=\"8 8\" reflectance=\".2\"/\u003e\n",
764764
" \u003c/asset\u003e\n",
@@ -770,7 +770,7 @@
770770
" \u003cfreejoint/\u003e\n",
771771
" \u003cgeom name=\"ball\" type=\"sphere\" size=\".02\" /\u003e\n",
772772
" \u003cgeom name=\"stem\" type=\"cylinder\" pos=\"0 0 .02\" size=\"0.004 .008\"/\u003e\n",
773-
" \u003cgeom name=\"ballast\" type=\"box\" size=\".023 .023 0.005\" pos=\"0 0 -.015\" \n",
773+
" \u003cgeom name=\"ballast\" type=\"box\" size=\".023 .023 0.005\" pos=\"0 0 -.015\"\n",
774774
" contype=\"0\" conaffinity=\"0\" group=\"3\"/\u003e\n",
775775
" \u003c/body\u003e\n",
776776
" \u003c/worldbody\u003e\n",
@@ -1374,7 +1374,7 @@
13741374
" self._button.set_pose(physics, position=button_pose)\n",
13751375
"\n",
13761376
" def get_reward(self, physics):\n",
1377-
" return self._button.num_activated_steps / NUM_SUBSTEPS "
1377+
" return self._button.num_activated_steps / NUM_SUBSTEPS"
13781378
],
13791379
"outputs": [],
13801380
"execution_count": null

0 commit comments

Comments
 (0)