All notable changes to this project are documented in this file.
Changes since v3.0.0 (2026-10-07). git log v3.0.0..v3.1.0 has the full commit list.
-
myoMimic-v0: multi-clip full-body motion tracking on myo_sim'smyofullbody, on the CPU and on mjlab, with task, body model and learning method kept apart. Its clips are AMASS SMPL+H motions retargeted onto the body byscripts/mimic/retarget_amass.pyfrom your own AMASS download, and are matched to the body by a kinematic fingerprint. -
myoSuperMimic (
training/supermimic), a training project that trains, evaluates and fine-tunes SuperMimic trackers onmyoMimic-v0throughmake_env. -
DynSyn muscle synergies (
training/dynsyn, #572) train mjlab tasks with one action per muscle group; MyoSuite plays the resulting checkpoints on both backends (myosuite.utils.action_map). -
Muscle-level biomechanics in
myosuite.biomechanics: inverse dynamics of motion clips, static optimization (also live, with ground reactions without force plates), uncertainty bands for the estimates, OpenSim motions and effort metrics, next to inverse kinematics. -
Full-body ChaseTag on
myofullbody.myoChallengeChaseTagFBVs-v0andmyoChallengeChaseTagFBP2-v0run on myo_sim's released body with 10 s episodes; the scored 1v1 game has a first baseline (onnx/chasetag_fbvs_baseline.onnx) and a teacher built from a myoSuperMimic tracker (training/chasetag_teacher). -
Joint couplings and the 3CC-r fatigue model move to
myo_sim0.2.5 (#652). MyoSuite re-exports them, with bit-identical NumPy, torch and JAX results. -
MyoChallenge 2026 tutorials on myoSuperMimic (5.4, 5.6, 5.7, #663). Tutorial 5.4 distils a directional walker on
myofullbodyfrom the steered myoSuperMimic teacher; 5.6 is a Colab for invited teams to register at mc26.myosuite.org, export that walker (or start from a self-play refinement of the teacher's DAgger student) as one ONNX player for both chase and evade (546 observations, 354 muscle activations), submit it and watch the result on the website; 5.7 plays the teacher in the scored game. None of them needs a MuscleMimic body, checkpoint or clip. -
Photorealistic Blender rendering of any MyoSuite rollout (#540). One command turns a CPU rollout of a trained policy (
--checkpoint) or of random actions (--random) into a Cycles render: animated USD export, a studio scene, ivory bones and volumetric muscles that thicken as they shorten and redden with activation.python scripts/render_blender.py --env myoLegWalk-v0 --checkpoint <run> --output leg-render
- Muscle volumes measured for the large leg and shoulder muscles (
myosuite.viz.muscle_tubes), or MuJoCo's thin muscle paths; colour by activation or uniform (--muscle-color). - Optional body skin from a MuJoCo
.sknfile (--skin, translucent or opaque;myosuite.viz.skin), with a bundled full-body skin adapted from MakeHuman/MPFB (CC0 1.0) and fitted over the muscle atlas;ViserSkindraws it in mjviser. The bundled skin is smooth in motion: a slimmer forearm and wrist that rotate with the muscles under them, and shoulder weights that keep the skin from folding as the arm is raised or rotated.--skin-textureputs a colour image on the skin (the bundled skin takes textures in MakeHuman's UV layout).python -m myosuite.viz.skin_glbround-trips a skin through a rigged.glbto paint its blend weights in Blender;--skinalso takes the.glb. Its bones are chained along the body tree, so the rig poses like a skeleton in Blender. - Anatomical muscle meshes in place of the tubes (
--muscle-mesh atlas|atlas-hd|PATH.glb): 416 BodyParts3D muscles (CC BY 4.0), each weighted to the bones it attaches to, downloaded from the Hugging Face datasetmyohub/myosuite-assetson first use. They bind to every body that draws the full body's bone meshes: arm and hand models get the muscles whose bones they have, several bodies in one model one set each (--muscle-mesh-env). - Preview, video and export-only modes; the
studioor the task's ownmujocoscene; tutorial 3.6. - Needs the optional MuJoCo USD dependencies and a separate Blender installation.
checkpoint_utils.load_policy(..., strict=True)raises instead of falling back to a random policy.
- Muscle volumes measured for the large leg and shoulder muscles (
-
myoMimic-v0: multi-clip full-body motion tracking, on the CPU and on mjlab. The task tracks the AMASS KIT motions retargeted onto the task model (by default MuscleMimic's 972 KIT training motions,motion.clips="kit_train", the clips its released checkpoints were trained on; any clip, directory or.txtlist works too; read from the local retarget cache thatscripts/mimic/retarget_amass.pyfills from an AMASS download, or from$MYOSUITE_KIT_ROOT) with myo_sim'smyofullbody. It is defined apart from the body model and the learning method:- task: observations from a shared vocabulary (
myosuite.terms.mimic_track, pure NumPy/torch functions a method can also differentiate), MimicReward as the proposed dense reward, a failure rule (mean relative site deviation 1 m, root position 1 m, root orientation 1 rad) and success metrics that do not depend on the control step (myosuite.envs.myo.tasks.mimic.tracking.metrics: tracked-to-end, normalized return per second, MPJPE, joint error, plus MuscleMimic's 0.5 m rule as an extra column;unflaggedrepeats them without the clips whose metadata carriesquality_flags); - model:
EnvConfig.model/make_env(..., model=...)picks the body of an id registered withregister_env(models=...)("myofullbody"so far); - method: typed presets (
MimicTaskCfg, default"supermimic") with dotted overrides throughEnvConfig.task_kwargs={"preset": ..., "overrides": {...}}; the control step isEnvConfig.ctrl_dt(default 0.02 s).
The mjlab twin reads the CPU registration (
register_cpu_twins) and takes the muscle-command features. Clips are matched to the body by a kinematic fingerprint (myosuite.biomechanics.retarget.kinematic_fingerprint: joints, body tree, coupling polynomials, landmark bodies and foot collision geoms), so they keep loading under myo_sim releases that leave the body's kinematics alone; on a mismatch the error names the myo_sim version the clips were fitted for.retarget_amass.py --stamp-fingerprint DIRadds the fingerprint to clips fitted without it (qpos untouched).make_envalso acceptsmodel=andctrl_dt=as keywords.myoMimicFullbody-v0is unchanged. Methods may replace the reward (overrides={"reward_fn": fn}with a purefn(state, ref, ctrl_dt), or a wholeRewardCfg); the proposed reward is then still reported (info["task_reward"], the twin'stask_reward). - task: observations from a shared vocabulary (
-
AMASS SMPL+H motions straight onto a body model (
myosuite.biomechanics.smplh,.retarget_smplh,.retarget;scripts/mimic/retarget_amass.py). SMPL+H forward kinematics in NumPy (subject shape, gender-specific model) and one explicit SMPL+H -> model table, calibrated on the model in SMPL's T-pose (GMR's approach, as MuscleMimic used it): per-segment proportion scaling, limb orientation targets and a per-frame ground height from the subject's foot contacts. A landmark IK solves each frame for the root and the independent joints only, so the joint couplings hold exactly; joint limits are hard, and smoothing keeps frames continuous. Thighs, shanks, feet and forearms follow the subject's segment directions between joint centres, so knee, ankle and elbow angles do not inherit SMPL+H's rest pose (its knees are 4-6 deg flexed, the left more than the right); where the model couples a twist to a hinge (the knee), the shank's axial twist is weighted down (anisotropic orientation targets); the elbows follow the source's upper-arm/forearm angle in the model's own convention (per-frame posture priors). On the 1080 KIT clips on myofullbody (myo_sim 0.2.4): no foot penetration, contact sliding 0.084 m/s (MuscleMimic's GMR clips: 0.093), the knees at their 0 limit on 5.4% (left) and 1.7% (right) of frames, elbow flexion within 0.2 deg of the source's (median). The source's knee range goes into each clip's metadata, and--quality-flagsadds curation flags (quality_flags).myoMimic-v0uses these clips and refuses clips whose kinematic fingerprint does not match its body. -
myoSuperMimic, a training project in
training/supermimic/(experimental; import namesupermimic, not part of themyosuitepackage): SuperMimic (Liao et al.) onmyoMimic-v0, a port of muscle-supermimic (Apache-2.0) with supermimic_vibed and BlinkMimic / InstantTrack (MIT) parts and systems options after XMimic (MIT); licences and notices in the project. It trains, evaluates, refines and fine-tunes throughmake_env, scoring imagined states with the task's pure terms through its own differentiable kinematics, muscle geometry and activation dynamics. Install:pip install "git+https://github.com/MyoHub/myosuite.git@v3.1.0#subdirectory=training/supermimic"(pulls inmyosuite[mjlab]); usage and results intraining/supermimic/README.md. -
projected_joint_couplings(myo_sim.physics.joint_coupling, re-exported asmyosuite.physics.joint_coupling): the joint-coupling projection out of place, differentiable with Torch, inJointCouplings' topological order;JointCouplings.as_torch. -
build_native_mimic_fullbody_spectakesmodel_name(default"myofullbody"), the myo_sim full body to build. -
make_env(..., backend="mjlab", seed=...)sets the env config's seed. ThemyoMimic-v0ModelInfoexposes the joint-coupling map, the root body name,qpos0and the muscle and muscle-tendon names. -
Muscle effort metrics for recorded rollouts:
myosuite.biomechanics.effortaddssquared_activation(mean over time ofsum a^2),wasted_torqueandcocontraction_index(torque antagonists cancel, as in the co-contraction cost of #607) andmuscle_saturationwithmuscle_saturation_bounds(the saturation metric of #588 by Mark Colley, #566). Pure functions on NumPy arrays or torch tensors of shape(..., T, M); no env coupling. -
load_fbvs_player/export_fbvs_onnxinmyosuite.integrations.musclemimic.fbvs_playerwrap a tutorial 5.4 walker as a ChaseTag FBVs player (546 -> 354) and write the ONNX the MyoChallenge server runs; tutorial 5.6 uses them instead of an inline wrapper (#617). -
decode_synergies(model, syn)inmyosuite.integrations.musclemimic.sar_extractionmaps SAR synergy activations back to muscle activations (the NumPy inverse ofencode_activations); tutorial 5.5 uses it instead of its own decoder (#616). -
Rollout videos without hand-written render loops:
myosuite.viz.rollout_videoaddsrecord_rollout(model, data, step, n_steps)(renders after each step, stops early whenstepreturnsFalse),tracking_camera(follows the free root body) andoffscreen_size;MotionClip.to_mjdata(model, frame)returns a posed, forwardedMjData. Tutorials 5.1 and 5.5 use them instead of their own render loops (#613). -
Inverse dynamics of motion clips (
myosuite.biomechanics.inverse_dynamics):clip_kinematicssmooths a clip (optional zero-phase Butterworth, Winter's convention), projects the joint couplings and differentiates it twice on the configuration manifold (second order, quaternions included);inverse_dynamicsreturns the generalized forcesM qacc + qfrc_bias - qfrc_passive - externalper frame, asmj_inversewith constraints off. The first step of muscle-level analysis after scaling and IK. -
Static optimization (
myosuite.biomechanics.static_optimization): muscle activations that reproduce a motion's inverse dynamics, minimising the sum of squared activations with MuJoCo's own force-length-velocity muscle model at each frame, reserve actuators on every dof (residuals on free joints) and the joint couplings' forces as free multipliers, as in OpenSim's static optimization.StaticOptimizersolves one frame at a time with a warm-started OSQP problem, so the same code runs on recorded clips and on a live stream (myoArm about 1 kHz, MyoFullBody 40-160 Hz on one CPU core). Each dof's reserve defaults to 0.005 of its peak actuator torque (reserve_fraction): 1-4 N m at MyoLeg's hip, knee and ankle, about 5 mN m at MyoHand's fingertips. On tutorial 3.3's former MyoHand trajectory, OpenSim's fixed 1 N m reserves carry 67 % of the joint torques and the scaled ones 26 %; smaller fractions leave that share at 25 % (a muscle is at full activation in a quarter of the frames), so it marks torques the hand's muscles cannot produce.StaticOptimizer.configholds the weights as solved. -
Ground reactions without force plates:
StaticOptimizationConfig(contact_forces=True)adds contact forces at MuJoCo contacts with world-fixed bodies (floor, chair, table) withincontact_distanceto the static optimization, on MuJoCo's friction pyramid (pushing only, friction-limited), with a capacity that fades with the gap; residuals are then penalised.StaticOptimizationResult.contact_forcegives the world-frame contact force on each body andcontact_qfrcits generalized force. Standing MyoLeg: 99.9 % of body weight, evenly between the feet; a retargeted KIT walk on MyoFullBody shows the double-hump vertical force (1.32 / 0.77 / 1.25 body weights).contact_distancestays 1 cm: OpenSim's subject01 walk floats 8-10 cm above the floor on the unscaled MyoLeg, and lowering its root until the lowest foot touches the floor cuts the root residual from 1.02 to 0.11 body weights RMS (0.04 with 1 cm of penetration), while a 5 cm reach puts up to 0.15 body weights on feet 1.5 cm or more off the floor. -
Per-frame activation bounds in static optimization:
StaticOptimizer.solve(max_activation=..., min_activation=...)bounds each actuator's activation for one frame within its own range, e.g. caps at1 - MFof a fatigued muscle (the load moves to synergists and then to the reserves) or the activations that activation dynamics can reach. The live shadow model that uses them lives in M-Colley/myosuite-shadow. -
OpenSim motions on MyoSuite models (
myosuite.biomechanics.opensim_motion):read_opensim_motionreads.mot/.stofiles (OpenSim and SIMM headers), andopensim_motion_to_qposmaps their coordinates onto a model's joints by name (gait2392's knee sign flipped, couplings projected) and the six pelvis coordinates onto the free root (body-fixed z-x-y rotations, Y-up ground into the Z-up world). On OpenSim's subject01 walk mapped onto MyoLeg, the pelvis axes stay within 2.8 deg (mean) of the ASIS and sacral markers. -
Uncertainty bands for muscle estimates (
myosuite.biomechanics.uncertainty):static_optimization_bandsrepeats kinematics, inverse dynamics and static optimization on Monte Carlo samples of tracking noise, per-muscle strength and per-segment mass (log-normal, mean 1) and returns quantile bands of activations, forces, reserves, joint torques and contact forces next to the nominal solution; reserve, residual and contact weights stay the nominal model's in every sample. On the elbow, 90 % bands hold subjects drawn from the strength prior at the rate finite sampling predicts. -
DynSyn muscle synergies for PPO (He et al., ICML 2024, arXiv:2407.11472) as the method project
training/dynsyn(#572):python -m myosuite_dynsyn.groupsgroups a task's muscles by how their lengths change together under random joint motion, andpython -m myosuite_dynsyn.traintrains the registered mjlab task with one action per group, optionally plus bounded per-muscle corrections that grow during training (--max-amplitude,--start-steps,--ramp-steps). Install it next to MyoSuite withpip install "git+https://github.com/MyoHub/myosuite.git@v3.1.0#subdirectory=training/dynsyn". MyoSuite itself gets only the playback side:myosuite.utils.action_map(theActionMapprotocol, theDynSynmap, the CPUActionMapWrapper, andtrained_action_map/load_policyfor checkpoints; no torch or mjlab at import) and the mjlab action termActionMapActionCfginbackends/mjlab/tasks/mdp/action_map.py. Checkpoints record their map (action_mapin theirinfos;write_manifest(..., action_map=)formanifest.json), soscripts/eval_mjlab_policy.pyplays them on both backends withouttraining/dynsyn.load_rslrl_policyrefuses checkpoints that record a map unlessaction_map_applied=True; mjlab's ownplayandtrain, andscripts/train_mjlab.py, don't check and read them as per-muscle actions. No registered env changes. -
Role-aware ChaseTag 1v1 teacher player.
ChaseTagSteeredPairwalksamathislab/mm-10m-2on the existing 8-bin walk clips. Both agents look at each other; the chaser walks toward the opponent and the runner walks away. Headings turn off the ±6 m fence (and root XY is clamped) so walkers stay inside the arena (#587;myosuite.integrations.musclemimic.steered_teacher). Scored FBVs observation (546-d) is unchanged.mm-10m-2needs musclemimic_models 1.0.5. -
ChaseTag teacher from a myoSuperMimic tracker (
training/chasetag_teacher, a self-contained training project): a tracker trained withtraining/supermimiconmyofullbody, steered toward or away from the opponent by motion matching over KIT locomotion clips, and distilled by DAgger into a yaw-canonicalised 546→354 student whose ONNX takes the raw scored observation.chasetag_teacher.directionaldistils the same teacher into a directional walker onmyofullbody(a 528-d observation with the commanded heading in the walker's yaw frame;scripts/dagger_directional.py) and exports a walker as a ChaseTag player (export_chasetag_onnx). No clips are shipped; the tutorials download the tracker, the walker and the student from the baselines repo. -
MYOSUITE_BASELINES_DIR:download_baseline_filereturns<folder>/<filename>when that variable names a local folder laid out like the baselines repo and the file is there, instead of downloading it, e.g. to test baseline files before they are uploaded. Unset, nothing changes. -
Baseline for the scored 1v1 game:
onnx/chasetag_fbvs_baseline.onnxin themyohub/myosuite-3-baselinesHugging Face repo (myosuite.core.hf_io.download_baseline_file) (546 -> 354;docs/baseline_checkpoints.md). -
Configurable fatigue rest threshold:
CumulativeFatigue,TorchFatigueStateandTorchFatigueState.from_mj_modeltakerest_threshold=(andset_RestThreshold), the command at or below which 3CC-r applies the rest-recovery multiplierr. With noisy excitations estimated from body tracking, a threshold above the noise floor lets a relaxed muscle rest. It must lie in[0, 1); the default staysFATIGUE_REST_THRESHOLD = 0.01, so every registered env is unchanged. The experimental JAX step keeps 0.01. -
Fatigue on a subset of muscles:
CumulativeFatigue,TorchFatigueState.from_mj_modelandFatigueWrappertakemuscles=(actuator names or ids). Only those muscles fatigue, with their usual per-group F/R/r; the other excitations pass unchanged. A non-muscle actuator raisesValueError. The default (None, every muscle in model order) behaves as before. mjlab twins follow the CPU wrapper through the newMyoActionCfg.fatigue_muscles. -
myoFullBodyWaypoint-v0: ordered waypoints for the MyoFullBody, on the CPU and on mjlab. A random 4-waypoint route is drawn at every reset; the reward pays progress toward the active waypoint, +1 per arrival and -10 on a fall (so ending early never pays); the observation has no worldx, yand gives the next waypoints in the heading frame.myosuite.envs.waypoint.WaypointEnvtakes any scene (model_recipe/model_pathplus anMjSpecedit_fn, or a compiled model) and a typedWaypointTaskCfg; the goal terms (myosuite.terms.waypoint) are shared with the twin. Instances are customized throughEnvConfig.task_kwargson the CPU and on mjlab without registering course ids (XML scenes replace the default recipe; seeded construction is supported). Resets, also the twin's, start with the knee mechanism on its joint couplings, and the waypoint reference planner projects its frames the same way. Themusclemimic_fullbodyrecipe now builds throughbuild_from_recipe(its spec carries the CPU timestep). -
Terrain tracking in MuscleMimic, credited to TERRA-4B (
myosuite.integrations.musclemimic): the TERRA actor, its observation (heightmap, reference goal) and NumPy inference, plus a planner that walks a clip along waypoints. Tutorial 4.4 drives TERRA through a programmatic obstacle course. -
Checkpoint manifests record the
musclemimic_modelsrelease for envs whose body comes from that package (MuscleMimic, full-body directional locomotion, full-body waypoints). Releases differ in physics but not in the env contract, so the contract hash cannot tell them apart;checkpoint_models_version()now reads the release from a local checkpoint'smanifest.json, anddownload_baseline_filefetches the folder's manifest with the file. Manifests without the field, and code that ignores it, behave as before. -
Newton compatibility probes (#531): an informational CI workflow (
.github/workflows/newton-probe.yml, on release pull requests and by hand) converts the reference models with Newton (.github/newton_probe/newton_compat_probe.py) and compares matched CPU/CUDA trajectories with MuJoCo (newton_dynamics_probe.py), with source identity maps, mutation checks and versioned reports; results indocs/source/newton_validation.rst. The trajectory probe givesSolverMuJoCoeach reference model's integrator and maps the DoFs of joints Newton merges (Newton main, 1.8.0rc1) back to their source joints by name and DoF order. With Newton PR 5029 and Newton PR 5030, on Newton main, all twelve authored/normalized cases convert with every muscle and length range; the default changes for masses, options, contacts and margins remain in Newton PR 4903, and strict name/force comparisons and several trajectory cases still fail (Newton issue 4904, MuJoCo-Warp issue 1835, #563). Newton remains outside the supported CPU and mjlab backends.
-
The 3CC-r fatigue model moves to
myo_sim(myo-sim==0.2.5, #652). Fatigue extends the muscle dynamics, so it now lives with the models, next to the joint couplings:myo_sim.physicsholdsfatigue(CumulativeFatigue,TorchFatigueState,three_cc_r_step,MUSCLE_FATIGUE_PARAMS),fatigue_jax,muscle_groupsandjoint_coupling.myosuite.physics.fatigue,myosuite.physics.fatigue_jax,myosuite.core.muscle_conditionsandmyosuite.core.muscle_groupsre-export them, so imports keep working, and NumPy, eager torch and JAX results are bit-identical. New with it: on CUDA,TorchFatigueStatefuses its step into one kernel withtorch.compile(torch_three_cc_r_step; switchMYOSUITE_FATIGUE_COMPILEorMYO_SIM_FATIGUE_COMPILE, eager fallback where compiling fails); compiled and eager steps agree to float32 round-off. Sarcopenia stays inmuscle_conditions. -
myoChallengeChaseTagFBVs-v0loads its gait clip only when a shaping weight is nonzero. The steered config's gait/steering term (w_gait_jpos,w_gait_jvel,w_steering) downloaded its reference clip from a gated Hugging Face dataset on the first step, even with all three weights at 0, where the term adds nothing. It now skips the term and the download then, so the game runs without that dataset when built withtask_config=ChaseTagVsFullbodySteeredTaskConfig(w_gait_jpos=0.0, w_gait_jvel=0.0, w_steering=0.0). The registered defaults, observations and score are unchanged. -
Tutorial 5.4 on
myofullbodywith a myoSuperMimic walker (#663). It no longer behaviour-clones MuscleMimic'smm-10m-2on themusclemimic_modelsbody (myoFullBodyDirectional-v0): it distils the steered myoSuperMimic teacher oftraining/chasetag_teacher(trained on MuscleMimic's 972 KIT training clips retargeted ontomyofullbody) into a directional walker by DAgger, evaluates it with the tutorial's protocol (8 headings × 10 seeds × 200 steps) and renders it. The walker's 528-d observation keeps the old slots but gives the heading in the walker's yaw frame, so the earlier walkers (policy_bc_best.pt,policy_heading_table.pt) do not load. Training the walker needs the retargeted KIT clips (from your own AMASS download withscripts/mimic/retarget_amass.py); without them the tutorial evaluates the published walker. -
Inverse kinematics moved to
myosuite.biomechanics.inverse_kinematics, next to the other biomechanics tools inmyosuite/biomechanics/(NumPy, SciPy and MuJoCo only).myosuite.physics.inverse_kinematicsre-exports it. -
Baseline downloads try the patch-release tag, then the minor-release tag, then
main(v3.1.0,v3.1,mainfor this release), so a patch release can ship changed baselines without changing those of earlier releases.download_baseline_fileanddownload_baseline_checkpointtreat a file that is missing from a tag like a missing tag, so baselines added after a release's tag (such as the ChaseTag ONNX) download without pinning a revision. -
mujoco<4,mujoco-warp<4andmujoco-mjx<4. MuJoCo 4 changes how spatial tendons use side sites, which moves some muscle paths in the models, so this release stays on MuJoCo 3. The[mjx]extra capsmujoco-mjxas well:mujoco-mjx4.0 depends onmujoco-core4.0, which installs itsmujocomodule over MuJoCo 3's, andmujoco.mjxthen fails to import. -
The
[mjx]extra no longer installsplayground.playground1.0 (2026-11-06) is a rewrite on PyTorch,reaf-simand MuJoCo Warp with no JAX/MJX API, and its JAX line stays at 0.2.0. The MJX backend now carries the few pieces of 0.x it used:State, the substep loop and the brax auto-reset wrapper. So it works withplayground0.x, 1.0 or none installed.- Import
wrap_for_brax_trainingandStatefrommyosuite.envs.myo.backends.mjx.brax_envinstead ofmujoco_playground. The module carries playground's Apache-2.0 notice. Rollouts through it are bit-identical to 0.2.0's. [mjx]listswarp-lang>=1.11(formjx_impl="warp") itself, whichplayground0.2.0 used to bring.
- Import
-
motorFinger*motor gears come frommyo_sim0.2.4.myo-simmoves to 0.2.4, whosemotorfinger_v0.xmlhas gears of 160/80/80/160/160 (extn,adabR,adabL,mflx,dflx). Themotor_fingerrecipe loads that XML as it is and no longer scales it, so the fourmotorFinger*envs go from 80/20/20/40/40 to these gears. Their dynamics change while observations, actions and control step stay the same; checkpoints trained on the earlier gears no longer apply (docs/baseline_checkpoints.md). -
ChaseTag 1v1 (
myoChallengeChaseTagFBVs-v0) win conditions. Tag (planar pelvis distance ≤ 0.5 m) or a pursuer fall ends the episode; timeout with no tag is a runner win. A runner fall does not stop play — the pursuer can still tag the body on the ground. Boxing/fencing still end on any fall. P1 ChaseTag is unchanged. -
Dependency floors.
filelockis at least 4.2.5 on Python 3.11 and newer, and stays on 3.25.2 for Python 3.10 (4.x requires 3.11, and later 3.x releases add advisories).certifi,gitpython,msgpack,setuptools, andblackmove to releases that clear current advisories. Pillow stays>=10.1.0,<13: 13.0.0 is the first release that clears the image advisories, and current gradio still requirespillow<13. -
mjlab PPO defaults of the muscle tasks bound the action std (#566).
- The runner configs build their Gaussian policy from the new
muscle_gaussian_distribution_cfg()(tasks/rl.py), which keeps the std instd_range=(0.05, 1.0)withProjectedGaussianDistribution(tasks/distribution.py). It projects the std parameter onto the range before every forward pass. Unlike rsl_rl's ownstd_rangeclamp, which has no gradient at or beyond a bound, this keeps the std trainable at the bounds. The checkpoint key (distribution.std_param) is unchanged, andinit_stdmust lie strictly inside the range. - These configs are
myo_ppo_runner_cfg(pose, reach, leg, torso, and the motor-drivenmotorFinger*tasks, whose actions are clipped to [-1, 1] before the linear map toctrlrange),default_mimic_clip_on_policy_runner_cfg(MuscleMimic, and the SAR tasks of tutorial 5.5 that register with it), ChaseTag FBP2, table tennis and the elbow benchmark config. - MuscleMimic (with those SAR tasks), ChaseTag, table tennis and the elbow config also start at std 0.5 (was 1.0)
and use an entropy bonus of 0.001 (was 0.01), the values pose and reach already used (
MUSCLE_ENTROPY_COEF). - Pose, reach, leg, torso and
motorFinger*training changes too, since their std was unbounded before. In amyoElbowPose1D6MRandom-v0run without the bound, the smallest std fell below 0.05 after 220 iterations, with the return already flat, so longer runs now train partly at the floor. - Why: once a control saturates, its return no longer depends on its std, and the entropy bonus is the only
systematic gradient left on it. Adam normalizes the gradient's scale, so the std rises by up to the learning rate
per update. The noise of PPO's surrogate gradient makes the rise smaller: in a simulation of saturated muscles at
the MuscleMimic minibatch size (6144 samples), 0.49 of the learning rate with entropy 0.01 and 0.06 with 0.001. A
2B-step
myoMimicFullbody-v0run (entropy 0.01) ended at std 14, with 99 % of controls saturated. The bound limits this drift; it does not by itself prevent saturated (bang-bang) controls. - Training defaults only. Observations, actions and dynamics are unchanged, and published checkpoints load and
evaluate as before.
load_rslrl_policy(eval_mjlab_policy.py --stochastic) clamps the std to the run'sstd_rangewhen itsparams/agent.yamlgives one, as in training. Retraining with the new defaults can give different policies (docs/baseline_checkpoints.md). - The MuscleMimic config's docstring now describes its actual settings.
- The runner configs build their Gaussian policy from the new
-
Fatigue groups and parameters for every muscle of the bundled models.
_muscle_groupnow also strips MuscleMimic's_leftside suffix, thea0_/a1_agent prefix of two-agent scenes and anR:/L:side prefix. Before, the MuscleMimic left arm (32 muscles, 63 with fingers) and all 708 muscles ofmyoChallengeChaseTagFBVs-v0fell back toDefault, so the two arms fatigued differently.- New rows, each cited in
MUSCLE_FATIGUE_PARAMSanddocs/source/fatigue_validation.rst:Trunkfor the 108 lumbar and abdominal muscles of MyoTorso and the MuscleMimic torso (Frey-Law et al. 2012 trunk fit),Thigh-Hamstring(Frey-Law et al. 2012 knee fit with r = 15 of Looft et al. 2018; no knee-flexor fit is published) andHip(the general fit, now explicit: no hip fit is published, Yang et al. 2025). - Regrouped: the forearm rotators
SUP,PT,PQ(were elbow extensor, elbow flexor, wrist flexor) use the joint-levelElbowrow;APLis a wrist extensor (was flexor); the rotator cuff is labelled as rotators (no numeric change). - Changes the fatigue dynamics of
myoFati*envs with torso, hamstring, forearm-rotator orAPLmuscles: torso, table tennis, soccer, full-body ChaseTag, leg walk/stand, arm reach, bimanual, relocate and the hand envs (docs/baseline_checkpoints.md).
-
Full-body ChaseTag uses only myo_sim's
myofullbody.myoChallengeChaseTagFBVs-v0andmyoChallengeChaseTagFBP2-v0(and its variants) build the released body and no longer usemusclemimic_models, whichever version is installed. Joints, muscles, observations and actions keep their order and size, but the dynamics change (passive joint parameters and equalities differ), so policies trained on the MuscleMimic body should be re-evaluated. FBVs starts from the model'sqpos0. Its reward still reads one reference clip from theamathislab/musclemimic-retargeteddataset. Checkpoint manifests of these envs no longer record amusclemimic_modelsrelease. -
Full-body ChaseTag lasts 10 s instead of 20 s (
myoChallengeChaseTagFBVs-v0,myoChallengeChaseTagFBP2-v0and its variants; 1000 control steps). Scores rescale with the limit: a tag after 3 s scores 0.70 instead of 0.85. The myoLeg ChaseTag envs stay at 20 s. -
myoLegDirectionalForward-v0andmyoLegDirectionalBackward-v0swapped names. The leg model faces-y, so the old "forward" task (heading_dir=(0, 1), 1.2 m/s) trained walking backwards and the old "backward" task (heading_dir=(0, -1), 1.0 m/s) walking forwards. Forward is now(0, -1)at 1.0 m/s and Backward(0, 1)at 1.2 m/s; the baseline checkpoints moved with their task definitions (docs/baseline_checkpoints.md).myoLegDirectionalRandom-v0is unchanged.
-
Require patched Pillow >=13.0.0 and filelock >=4.2.5 on Python >=3.11, including pip installs, and refresh the dependency lock and waypoint tutorial Pillow pin. Python 3.10 retains known advisories because the fixed upstream releases require Python >=3.11; see the installation guide.
-
mjlab waypoint resets preserve the initial route distance. Clearing the previous step's state no longer zeros the new route's distance through an aliased tensor, preventing a spurious negative progress reward after reset.
-
myoFingerReachRandom-v0andmotorFingerReachRandom-v0targets on MuJoCo 3.12 and newer. The table of reachable targets checked joint types with a comparison that is always false from MuJoCo 3.12, so no joint was sampled and every target sat at the fingertip's start. Both envs, on the CPU and in mjlab, now sample the full table on every version. -
MuscleMimic checkpoints load on JAX ≥ 0.10.
load_local_policy_artifactsrestored the Orbaxtrain_statewithout a target, so Orbax rebuilt each array's sharding from the device name saved in the checkpoint (TFRT_CPU_0foramathislab/mm-10m-2), which JAX 0.10 renamed tocpu:0. Every MuscleMimic policy load (tutorials 5.1, 5.4 and 5.5,myosuite-musclemimic-fullbody-eval,export_onnx --framework orbax) failed withDevice TFRT_CPU_0 was not found in jax.local_devices(). It now restores against the checkpoint's own metadata placed on the CPU device (#614). -
Motion clips load without pickle:
load_motion_clip, the CPU Mimic clip env and the full-body observation adapter open.npzfiles withallow_pickle=False(unpickling a downloaded file can run code). Names stored as bytes now read as text instead of"b'name'", and a pickled name array is refused with instructions for re-saving it. SAR synergy metadata is written as strings, and older folders still load (#522). -
Pen twirl shows success on the target pen:
myoHandPenTwirlFixed-v0/myoHandPenTwirlRandom-v0add atarget_ballsite on the target pen that turns green while the task is solved and red otherwise, as in die reorientation. The yelloweps_ball(the pen's position goal and drop radius) moves to the hidden site group 4, so it no longer covers the pen being twirled (#136). Observations, rewards and dynamics are unchanged; the model gains one site. -
Resampled terrain is drawn in every renderer: the rough/hilly/stairs leg walks, ChaseTag and RunTrack upload the terrain heightfield to the live renderers after each reset (
MyoGymnasiumEnv._upload_hfield_to_renderers). Render contexts copy heightfields when they are created, so themj_render()window,render()frames and cached offscreen videos showed the first episode's terrain while the physics used the new one (#307). Observations and dynamics are unchanged. -
Fixed initial fatigue arrays retain their requested values across CPU episodes.
CumulativeFatigue.resetcopiesfatigue_reset_vecinto owned state. Stepping previously mutated writable NumPy arrays supplied by callers and failed on read-only arrays. -
make_env(..., backend="mjx")builds MyoSuite's MJX envs. It loaded them frommujoco_playground.registry, which only knows playground's own envs, andregister_task(..., backends={"mjx"})calledregistry.register_environment, which no playground release has. With the real package, both failed (Env ... not found,AttributeError). MyoSuite's registry now keeps the MJX twins ofregister_task, andmake_envbuilds them or theMjx*-v0envs. -
scripts/train_mjlab.py --helpworks when piped or redirected on Windows: such a stdout uses the ANSI code page (e.g. cp1252), which cannot encode the→that the help prints from mjlab's docstrings, so the script exited withUnicodeEncodeError. Characters the stream cannot encode are now escaped (\u2192), as Python already does on stderr. Output that encoded before is unchanged. -
Parallel env builds on Windows share the generated model XMLs safely: processes that build envs at once with an empty temp dir (SB3
SubprocVecEnvworkers on first use,pytest -n) could fail withPermissionError: [WinError 5]while writing a patched model XML, or MuJoCo could read it as an empty file. A patched XML another process already wrote is now kept instead of replaced, and Windows' brief refusals are retried (asset_path_resolver.write_atomic).materialize_recipe_xml, which writes the mjlab and MJX hand model, writes atomically too, and its default file is named by its content (<tempdir>/myosuite_recipes/<name>_<digest>.xml). Models, observations and dynamics are unchanged. -
Long fatigue steps recover instead of fatiguing: the 3CC-r step is exact for any
dt.CumulativeFatigue.compute_act,TorchFatigueState.stepand the JAXcumulative_fatigue_stepshare one closed-form step (muscle_conditions.three_cc_r_step). A single explicit step held the start-of-stepMAfor the whole interval, so a long rest passed in one call kept fatiguing the muscle: one 300 s rest step after a 60 s hold at 40 % raised the elbowMFfrom 0.24 to 0.74 instead of lowering it to 0.01. Steps above1 / F(about 90 s) also inverted the compartment bounds. The new step integratesMAover the step (fatigue accrues with its time integral, recovery decays exponentially) and splits the step where the controller switches regime, at the cost of a few explicit steps whatever thedt.MRis now1 - MA - MF. The registeredmyoFati*envs change slightly at every control step (MAandMFby up to about 4e-4 per step), so their fatigue trajectories are not bit-identical to earlier builds. -
MuscleMimic resets start with the knee mechanism on its joint couplings. Each knee drives the tibia translations and rotations and the patella through
mjEQ_JOINTpolynomials, and the patella polynomials have constant terms, soqpos0and the model keyframe leave the patella up to 5.2 cm off its coupling.myoMimicFullbody-v0reset there, and MuJoCo pulled the patella back over the first 0.3 s; until thenactuator_momentdescribed a pose the knee cannot reach (rectus femoris -3.2 mm about the knee instead of +50.3 mm).MyoGymnasiumEnv.resetnow puts every coupled joint on its polynomial, with its velocity along the coupling, beforemj_forward(myosuite.physics.joint_coupling, for NumPy and Torch). This changes the reset state ofmyoMimicFullbody-v0andmyoFullBodyDirectional-v0;myoMimicBimanual-v0was already on its couplings. The mjlab tasks reset the same way: the MuscleMimic keyframe and RSI clip frames (also of the SAR and directional SAR tasks).MuscleMimicClipEnvV0projects its clip frames too. Clip starts were further off: the retargeted clips ofamathislab/musclemimic-retargeted(the directional env's and thewalking_medium06baseline's) keep themusclemimic_models1.0.5 sign of two left-knee couplings, so on the default 1.0.6 theirknee_angle_rotation3_lstarted up to 0.5 rad off; the clip references in observations and rewards are unchanged. The leg envs follow in the next entry; the MyoChallenge envs are unchanged. The observation, action and reward definitions are unchanged; seedocs/baseline_checkpoints.md. -
Leg resets start with the knee mechanism on its joint couplings. The leg model also drives each knee's tibia translations and rotations and its patella from the knee angle, but walk keyframes 2 and 3 set the coupled joints of both knees to the values of a 0.46 rad knee angle while the knees are at 1.23 and 0.09 rad.
myoLegWalk-v0and the rough, hilly and stairs walks therefore started with the bent knee's patella rotation 0.74 rad off its coupling, and moving 3.6 rad/s off it. The reset noise ofmyoLegStandRandom-v0moved the coupled joints too (up to 0.18 rad), and keyframe 0 of the directional walks is 3.5e-5 off.LegWalkEnvV0,LegTerrainEnvV0,LegReachEnvV0(before it places its targets) andModularTaskEnvnow project withMyoGymnasiumEnv._project_joint_couplingsbeforemj_forward. Their mjlab twins project inreset_to_cpu_state, which now takes the CPU model's couplings (couplings=CompiledModelInfo.couplings). This changes the start state of these ids and of theirmyoFati/myoSarcvariants, and the parity baselines ofmyoLegWalk-v0andmyoLegRoughTerrainWalk-v0are regenerated.test_joint_coupling.pynow checks MuJoCo's equality residuals afterresetfor every registered env, with the MyoChallenge envs as expected failures, andtest_mjlab_cpu_twins.pychecks the twins. The observation, action and reward definitions are unchanged, but the publishedmyoLegWalk-v0checkpoint, trained from the old start, falls from the new one; seedocs/baseline_checkpoints.md.
Changes since the last official release, v2.12.2 (2026-05-06). git log v2.12.2..v3.0.0 has the
full commit list.
- One task, three execution paths, enabling massive GPU parallelization and training speed-ups. The same
env_idruns on the CPU (Gymnasium: playback, debugging, Stable-Baselines3), on mjlab (MuJoCo Warp + RSL-RL: thousands of parallel environments on one GPU) and on an experimental MJX (JAX) path. Training on the GPU is the big speed-up of this release: one RTX 5090 steps 20,000-38,000 muscle-driven environments per second (full-body MuscleMimic with 354 muscles, 1024 envs: 19.8k steps/s; the 2-billion-step MuscleMimic run finished in about 30 hours), where one CPU thread steps the much smaller hand, leg and arm tasks at about 1,000 steps/s (measured: 1.4k hand reorient, 1.3k leg walk, 0.8k arm reach). CPU and mjlab share the observation, action and timing contract, so a policy trained on the GPU can be replayed on the CPU. - Trained baseline policies. Ready-to-use policies for 36 environments (pose, reach, leg walking, torso and the MuscleMimic full body) with evaluation videos on Hugging Face (
myohub/myosuite-3-baselines), downloaded automatically by the tutorials andeval_mjlab_policy.pyand loadable on both the CPU and mjlab backends. Success rates are listed indocs/baseline_checkpoints.md. Each checkpoint folder carries amanifest.jsonwith a hash of the env contract (observation and action shapes, control step): MyoSuite warns when a downloaded policy no longer matches its env, and downloads the checkpoints of the repo tag that matches your release (v3.0, ...), falling back tomain. - MuscleMimic support. Full-body and bimanual MuscleMimic environments
(
myoMimicFullbody-v0,myoMuscleMimicFullbody-v0,myoMimicBimanual-v0,myoMuscleMimicBimanual-v0,myoFullBodyDirectional-v0), loaders for the MuscleMimic checkpoints and retargeted motion datasets from Hugging Face, themyosuite-musclemimic-fullbody-evaltool, and tutorials 5.1–5.5 (load a policy, train on CPU/JAX and with mjlab, directional locomotion, SAR). - Modular task framework. A new task needs a
TaskSpec/EnvSpec, term functions and aModelBuilderrecipe, without subclassing an environment class. Term functions (observation, reward, action) are backend-agnostic;ModelBuildercomposes models from fragments, recipes and pre-builtMjSpecfragments; a data-drivenTaskConfigenvironment covers simple tasks. - mjlab twins of the basic suite (118 env ids). Pose, reach (hand, finger, arm, elbow, motor finger), hand numeral poses, torso (incl. exosuit) and leg tasks (walk, directional, stand, terrain), each with sarcopenia, fatigue and reafferentation variants where the CPU env has them. Twins are built from the CPU registration and covered by step-parity tests.
- Training and evaluation tooling. Shared PPO defaults for muscle tasks, an
Episode_Metrics/successmetric on every twin,train_mjlab.pythat stops early once the deterministic policy succeeds,eval_mjlab_policy.py(success rate, return, grid videos on both backends), and ready-made policies with evaluation videos on Hugging Face (myohub/myosuite-3-baselines). myo_simas a pip package (replacing the git submodule); models are composed from it and the hand, arm and leg orientations were re-calibrated.- Muscle conditions. Muscle-group- and sex-specific fatigue parameters from the literature, a torch fatigue model with CPU parity, episode-persistent and resumable fatigue states, spec-level sarcopenia and reafferentation.
- Muscle conditions as wrappers, one entry point. Motor noise, fatigue, reafferentation and sarcopenia are
wrappers instead of env kwargs, and
make_env(EnvConfig(env_id, features=...))builds the CPU env or the mjlab twin with the same features, episode length and control step.from myosuite import make_envis the documented way to build an env (gym.makestill works). - The full MyoChallenge suite as Gymnasium environments (21 ids): Baoding, Bimanual, ChaseTag (P1, P2, P2eval, full-body P2, 1v1 full-body), Die Reorient, OSL run, Relocate, Soccer and Table Tennis, with mjlab versions of the ChaseTag full-body and Table Tennis tasks.
- Tutorials and documentation. 20 notebooks in five numbered tracks (basics, training,
analysis, musculoskeletal modelling, MuscleMimic) with companion files in
tutorials/files/X.Y/; documentation by audience, an environment reference, backend-parity and baselines pages, and a developer wiki. - Installation.
uvinstallation and CI, Python 3.10–3.14, MuJoCo 3.7 or newer (no official floor, but older versions are not maintained).
- Modular framework:
TaskSpec/EnvSpecregistry,ModelBuilder(attach_fragment,attach_spec, recipes,myo_simcompose pipeline), shared term functions and data-drivenTaskConfigenvironments (#406). - MJX backend (experimental) with env classes for pose, reach, walk and mimic tasks (#354).
- mjlab backend and tasks: pose, reach, torso exosuit, leg (stand, terrain, walk, directional) and Table Tennis twins;
Episode_Metrics/successon every twin; shared PPO defaults; vectorized Table Tennis contact detection (#406). - MyoChallenge suite as Gymnasium envs: P1 envs, leg-directional and 1v1 ChaseTag, full-body ChaseTag baselines (#406, #101).
- MuscleMimic: full-body and bimanual envs, checkpoint and motion loaders, tutorials 5.1-5.5; multi-clip training (
register_mimic_mjlab_tasks_with_cliptakes several clips); reusable full-body viewer cameramimic_viewer_cfg(#406, #436, #475). - Training and evaluation tools:
eval_mjlab_policy.py(CPU/mjlab rollouts, grid videos,--stochastic),train_mjlab.pyearly stop on success, default-policy checkpoints and videos on Hugging Face (myohub/myosuite-3-baselines) (#406, #478). - SAR synergies re-extracted on the current envs and installed in
tutorials/files/2.3/SAR_pretrained/; SAR-RL and RL-E2E reach the same success on locomotion, and SAR is not consistently ahead on manipulation (2 of 6 seeds). - MuscleMimic baseline: a single-clip walking policy (2B steps; 86% of episodes reach the clip end) on Hugging Face, see
docs/baseline_checkpoints.md. - Fatigue: muscle-group- and sex-specific fatigue parameters from the literature (Rakshit et al. 2021; Frey-Law et al. 2012), episode-persistent and resumable states, torch 3CC-r parity with the CPU model (#406, #421, #491).
- Targets:
GoalSpec(target_type="site_positions")samples per-episode targets from per-site ranges on CPU and MJX (mjlab helpersite_position_command_cfg);MotionClipcarries optional per-frameweights(#410). - Muscle-command wrappers:
MotorNoiseWrapper(signal-dependent + constant Gaussian noise on muscle excitations,MotorNoiseCfg.van_beers_2004()),FatigueWrapper,ReafferentationWrapperandSarcopeniaWrapper; each installs a stage of the env's action pipeline, run by priority (map -> noise -> fatigue -> reroute), also on the mjlab twins;ExcitationStageWrapperadds portable custom stages (CPU env and mjlab twin) andCtrlStageWrapperenv-aware CPU ones; they run after the built-in stages in installation order, or at an explicitorderto insert one earlier (two equal explicit orders raise aStageOrderWarning) (#488, #502, #505). make_env(EnvConfig(...)): one call builds an env on the CPU or on the mjlab twin with the samefeatures(muscle-command wrappers, built withwrapper_spec),max_episode_stepsandnum_envs; the oldEnvConfigfields (model,scene,backendtiming) andTaskConfig.to_env_configare removed, as was the unusedconfig=argument ofregister_env.EnvConfig.featurestakes wrapper classes,(class, kwargs)pairs or specs.ctrl_dtis the single timing knob (substeps and decimation follow from it; theModularTaskEnvids refuse it). The leg-directional twins take features andctrl_dtlike the CPU env (#508).TaskConfigno longer carries features:muscle_fatigue,ActuatorGroupSpec.condition/.noiseandTaskConfig.fatigue_enabledare removed (use the wrappers;VariantSpec(features=...)registers them;ModularTaskEnvruns the stages, so the Sarc/Fati TaskConfig ids behave as before, but its additive action noise is replaced byMotorNoiseWrapper). A plainmake_env(env_id, backend=..., **kwargs)works as before. The docs, tutorials, scripts and tests usemake_envinstead ofgym.make(#506).- References and citations: a References page,
CITATION.cffand citations for the MuscleMimic motion data (AMASS, KIT, GMR, KINESIS) (#504). - Tutorials and docs: numbered tracks with companion files in
tutorials/files/X.Y/, SAR tutorials and pretrained pickles, a fatigue tutorial, quickstarts, environment reference, backend-parity and baselines pages (#406, #454, #455).
myo_simis a pip package (was a git submodule); hand, arm and torso tasks use the composed models; pinned to 0.2.3 (#406, #408).- Thumb CMC joints in
myo_sim>= 0.2.0: the two thumb joints exchange name and range (the first CMC joint iscmc_flexionwith range -0.78 to 0.7, it wascmc_abductionwith -0.5 to 0.78). This affects the composed hand of the hand pose, reach and reorient tasks and Relocate;myoHandKeyTurn*,myoHandObjHold*andmyoHandPenTwirl*keep the legacy order. The published hand baselines were trained and re-evaluated on the new order. - Basic-suite reward terms run on numpy, JAX and torch (#406); Python 3.10-3.14, MuJoCo 3.7 or newer (#406).
- Observations are no longer clipped: every env declares a float32
Box(-inf, inf)(43 envs saturated at ±10). One step contract for every CPU env: float32 observations, validated reward dict,infocarries the reward components (#444). - Observations and rewards read the current state:
step()runsmj_forward, and the mjlab twins refresh with a full forward before rewards and terminations; 53 envs had observed one-substep-old values. Trajectories are bit-identical except OslRun (#444). - Joint velocities are observed as
qvel * ctrl_dton every backend; the directional-leg twin declares the real 5 ms step (#437, #449).ElbowPoseTaskalso observes the pose error (8 to 9 values) (#433). - Leg walk actions are
[0, 1]activations.myoLegWalk-v0and its variants (CPU and mjlab) clip the action to[0, 1]and use it as the muscle control; in 2.x the action was in[-1, 1]and went through a sigmoid (0 gave 7.6%, +1 gave 92.4%). 2.x walking policies therefore have their negative outputs clipped to 0 and need retraining or a mapping. motorFinger*envs use motors with four times the stock gear, so the pose and fixed-reach tasks are learnable (#451).- Random finger-reach tasks sample targets the fingertip can reach (
ReachEnvV0(target_sampling="workspace")), instead of a box of which only about 55% lies in the workspace (#452). myoArmReachRandom-v0andmyoHandReachRandom-v0no longer start episodes beyondfar_th: 16.5% (arm) and 97% (hand) of the resets used to end at step 2.far_this now 1.3 (arm) and 0.075 (hand), also for the variants, the mjlab twins and MJX. The published arm policy rises from 67.0% to 76.5% deterministic success; the hand policy is unaffected (#494, #496, #497).- Unknown
obs_keysraise aKeyErrorlisting the available keys (CPU envs and mjlab pose/reach/stand/walk twins; they were silently dropped), and SAR reorient honoursobs_keys. The Relocate ids observe every hand joint (hand_qposmissedmd5_flexion_r; P1 156 to 157 values), andhand_qpos_correctedis available again (#477). myoChallengeChaseTagFBP2-v0is one task on both backends (537-dchasetag_obs, 0.01 s control step, CPU rewards on mjlab) (#456).- CPU
myoMimicBimanual-v0andmyoMimicFullbody-v0are the CPU half of their mjlab twins: observation[qpos, qvel * ctrl_dt, act, site position, target, target - position](199 / 684 values),exp(-2 * mean site error)reward on both backends. CPU policies trained on these ids need retraining (#475). - mjlab physics options follow the CPU models for TableTennis and MuscleMimic (#457); mjlab TableTennis simulates the CPU scene with once-per-step scoring and per-env randomization (#458).
- MuscleMimic bridge builds its observation on the sim device (
TorchFullbodyObsAdapter): 20-80x faster, float32, not bit-identical to the CPU builder (agrees to about 1e-6);obs_backend="cpu"keeps the old path (#486). - Performance and memory: cached model specs (#481), vectorized full-body mimic observation builder (#482), faster OslRun step (#483), explicit MjData arenas for full-body Mimic and ChaseTag (#487, #493) and the two-agent
myoChallengeChaseTagFBVs-v0scene (#498),colorednoisereplacespink-noise-rlandimport myosuiteis 2x faster (#480). - Fatigue dynamics follow the literature: the rest multiplier
racts only at rest (Rakshit et al. 2021; commands up toFATIGUE_REST_THRESHOLD = 0.01count as rest, so sigmoid-mapped muscles can rest) and theShoulderrow uses the Frey-Law et al. (2012) fit. Retrain policies on themyoFati*envs (#491, thanks @M-Colley). - The
muscle_condition,fatigue_reset_vec,fatigue_reset_randomandmotor_noiseenv kwargs are replaced by wrappers. ThemyoFati*,myoSarc*andmyoReaf*ids are unchanged, and rollouts are identical to the kwarg versions. Build a custom stack withFatigueWrapper(env, fatigue_reset_random=True)and the other wrappers, and useenv.set_fatigue_reset_random(...)instead ofenv.unwrapped.set_fatigue_reset_random(...); the old kwargs raise aTypeErrorthat names the replacement (#502, #505). - Randomized die, Baoding P2 and weighted elbow resets refresh collision bounds and inertia after editing geom sizes and masses (MuJoCo 3.8 and newer cull contacts against stale bounds); the dynamics of these envs differ from earlier builds, so re-evaluate policies and recollect datasets (#499 review).
- mjlab walk, Mimic and Table Tennis steps make no host syncs (GPU stream stalls) in MyoSuite terms, with bit-identical results: walk / terrain twins 34 / 41 per step to 0; Mimic clip mode 33, a 2-clip bank 537 (full body) and random targets 17 to 0 (one reset check on a step that resets an env); Table Tennis P1 / P2 2 / 4 per reset step to 0.
mimic_composite_rewardreportsmean_site_distandsolvedper env (#500). - Documentation and developer wiki cut down; tutorials simplified for newcomers (#406).
- Reach and arm models: arm-reach
IFtipsite back at the fingertip (it sat 1.8 cm short at the DIP joint since7532d62; the published arm policy reaches with the fingertip in 64% of episodes without retraining) (#406); thumb frozen and digits kept under their metacarpals (#406). - Muscle conditions: CPU fatigue activation rate and 3CC-r overshoot (#421, thanks @M-Colley); per-muscle fatigue parameters for prefixed and side-suffixed names (#430); automatic peak force under sarcopenia (#426); fatigue/sarcopenia parity between CPU and mjlab (#406).
- Fatigue: the mjlab twins honour
fatigue_reset_vec/fatigue_reset_random, andmyoFatiElbowPoseTask{Fixed,Random}-v0now fatigue (#491). - Challenge envs:
reset(seed=...)reproduces the episode (#438); Bimanual pillars at the sampled positions (#441); TableTennis and SAR reorient fatigue draws from the env RNG (#442); TableTennis termination, relaunch and conditions (#432), policy action in mjlab (#428, thanks @M-Colley) and mesh paths on any drive (#485); OSL controlleris_runningandset_motor_param(#484); RunTrack keyframe clamping (#399); ChaseTag fall threshold and opponent fall-through (#406). The defaultrender()of the Soccer, TableTennis and Bimanual envs shows a model camera that frames the agent (render_camera, #323). The keyframes ofmyoarm_bionic_bimanual.xml,myoarm_tabletennis.xml,myolegs_soccer.xmland the ChaseTag FBP2 reset keyframe stay inside the declared joint ranges and ctrlranges (no change to the env resets; #403, with a regression test over the shipped models). - mjlab twins register themselves:
make_env(..., backend="mjlab")and the mjlab CLIs work in a fresh interpreter, without depending on the order in which tests import things (#501). - Terminate on MuJoCo instability in every CPU env (#423).
- SAR: reorient actions, muscle conditions and stale geometry (#434); mjlab SAR action reaches the muscles (#424, thanks @M-Colley); PCA whitening undone in
SARTorchTransform(#425, thanks @M-Colley); the bridge and activation collector (#459); tutorial scripts seed SAC and resume (#455). - MuscleMimic mjlab: resets, terminations, frame index and SAR task configs (#436); follow-ups: per-env target resampling, clip-rate check (#437); bimanual lookahead without root terms (#439); per-env bridge history and normalizer (#440); clip end scored against the last frame,
random_starthonoured (#475); bridge excitation mapping and name coverage (#459); relative angular velocity inTorchFullbodyObsAdapter(#459); multi-clip resets of partial envs (#406); initial-state joint-name keys and root angular velocity (#406). - ONNX and SB3 exports are self-contained and fold
VecNormalizein (#427, #461); two ONNX-export defects of the mimic MDP (#407);find_checkpointskips runs of other envs (#420);eval_mjlab_policy.pyreads theactorgroup (#445);train_mjlabresume and stop-on-success (#478). - TaskConfig control step: a control step is
n_substepssteps ofsim_dton every backend,BackendConfigrejects a differentctrl_dt, and the CPUModularTaskEnvsets the timestep tosim_dt(it scaledjoint_velby actrl_dtit did not simulate); the reach workspace table uses the scene's site ids (#476). - Challenge scoring and targets: RunTrack and ChaseTag
get_metricsscore a lost episode with the fullmaxTimeagain, and Baoding, Relocate, Reorient, Bimanual and TableTennis have a legacy-styleget_metrics;PoseEnvV0.update_target()moves the rewarded target with the observed one; Bimanual refreshes the box inertia and rescales the visual box (#477). - Wrapped envs forward public attributes again (
env.mj_render()aftergym.make) (#378); the multi-agent env is registered withoutTimeLimit(#463); resolved model XML written once (#462; files leaked by older versions can be removed withfind myosuite -name '.myosuite_resolved_*.xml' -delete);register_all_envs()is idempotent (#406). - ReferenceMotion: interpolation, ghost-body rendering,
examine_policyrecords (#471); no error when time moves backwards after the last frame (#471). - ModelBuilder options and rebuilds, full-width clips mapped by joint name, fatigue API (#473); quaternion velocity wrap and wrappers (#474).
- Experimental MJX: silent corruption and limits (#465, thanks @M-Colley); stale tests and leg-walk host model (#443); reach far check from control step 2 and finger reach reading
far_thand workspace sampling from CPU (#497). - mjlab command API compatibility and RSI event with
env_ids=None(#407); leg twins' stale root velocity and heading terms (#406); walk rotation termination and leg model orientation (#406);.gitignoreno longer hidesmyosuite/**/tasks(#406). - CI, packaging, release workflow and notebook fixes (#447, #467, #478, #479).
ObservationNormalizeWrapper(unused; SB3VecNormalizeand mjlab's normalizer cover it) (#502).- The 2.4 DEP-RL tutorial (the 2023 baseline no longer walks on the current envs); MyoReflex Walk is now 2.4 (#460, #468).
- The myouser-specific mjlab task and helpers (now in the standalone myoInteract repository).
- The MyoDM suite, Boxing and Saber tasks with their shared code, the
composerpackage, the legacysimhivecopies,myosuite_init, placeholder*Modular-v0registrations, the Walk Backends demo notebook, the stale examine-rollout script, Colab helpers and the unused console scriptsmyosuite-musclemimic-fullbody-parityandmyosuite-musclemimic-mjx-train(#406). - The local
myosuite/simhive/asset override. A leftover pre-3.0 copy shadowed the pipmyo_simand broke models whose meshes it lacked; assets now come only from the bundled subsets and pip. To work on a localmyo_simcheckout, install it in editable mode (uv pip install -e path/to/myo_sim).
- MuJoCo 3.7 or newer (no official floor, but older versions are not maintained);
myo_sim0.2.3 from PyPI;huggingface_hubis a base dependency;wandb,orbax-checkpoint,jax/braxpins for the mjlab and MJX extras; security bumps ofgitpython,urllib3anduv.lock; SPDX license metadata. - The
furniture-sim,mpl-sim,object-simandycb-simgit dependencies are gone: the 40 files MyoSuite uses (2.9 MB) are bundled undermyosuite/envs/myo/assets/, so every dependency installs from PyPI. - The
musclemimicextra pinsmusclemimic_models==1.0.6, which fixes the left knee (two coupling polynomials were negated relative to the right knee, so the left tibia rotated -0.25 rad about its axis at 1 rad of flexion where the right one rotated +0.25 rad) and six muscle wraps. MyoSuite's own full-body baseline (myoMimicFullbody-v0, walking_medium06) was trained on 1.0.6.amathislab/mm-10m-2was trained on 1.0.5:model_version="1.0.5"(orMYOSUITE_MUSCLEMIMIC_MODELS_VERSION=1.0.5) rebuilds the 1.0.5 model bit-exactly from the installed package, and the tutorials and the playback / eval CLIs do so for that checkpoint (model_versions.checkpoint_models_version, #520). pink-noise-rlis replaced bycolorednoise(myosuite.utils.colored_noise.ColoredNoiseProcess; seeded episodes are bit-identical) (#480).
Vittorio Caggiano, Florian Fischer, Balint Hodossy, Vikash Kumar, Tatsuki Tsujimoto, Hyoungseo Son, Cheryl Wang, Mark Colley and Calder Robbins. A big thanks to all MyoSuite 1.0 and 2.0 contributors, whose work this release essentially builds on!
- Asset credits updated (#392).
make_data(naccdmax=...)enabled; MuJoCo 3.6.0 (#390).
uvinstallation, CI and MJX environment updates (#387); PyPI release CI Python version fixed (#389).
- Soccer P2: goalkeeper position added to the observations (#360).
- Inverse-dynamics tutorial fixed (#349).
- Table Tennis P2 hotfix (#345).
- MyoChallenge 2025: Table Tennis P2 (#338), Soccer P2 (#339) and the Phase 2 tasks (#340); CI fixes (#341, #342, #343).
- 2.10.0 (08-11): license update (#322), HTML utils (#321),
myoArmReachRandom-v0(#232), MyoChallenge 2025 updates (#325, #330: Soccer randomizations and metrics),version.pysynced with PyPI (#331). - 2.10.1 - 2.10.3 (08-19): automated CI version bumps only (#333, #335, #336).
- Tutorials: inverse kinematics (#298), OpenSim
.motplayback on the MyoSkeleton (#302), computed-muscle-control elbow (#301); minimum Python 3.9 (#303). - MyoChallenge 2025: Soccer (#309), Table Tennis base env (#308), MC25 tasks (#314, #316); loco head-site fixes (#310, #312);
import myosuitebefore SB3 so envs are registered (#270); PyPI release CI (#315). - v2.8.6 is the same commit as 2.9.0.
- 2.8.0 (09-23): MyoChallenge 2024 Phase 2 (#229) and eval phase (#223), locomotion metrics (#214) and action-space fix (#230), Run Track P2 (#226), bimanual variations (#216), randomization and OSL changes (#227), reflex tutorial fix (#233).
- 2.8.1 (09-27): locomotion observation fixes (#247, #248). 2.8.2 (10-02): hfield observation fixes (#251, #252). 2.8.3 (10-28): object-target proximity threshold (#258, #259), TensorBoard directory for W&B (#256). 2.8.4 (10-31): manipulation env fixes (#262, #265).
- MyoSkeleton model (#217); MyoChallenge manipulation-track metric (#213);
obsvecmatches the observation space (#205).
[FEATURE] Added 3CC-r Fatigue Model (#167). Thanks to @fl0fischer
[FEATURE] Update to MuJoCo 3.1.2 and dm-control 1.0.16 (2bddf8c)
[BUGFIX] Fixed Tutorial 2_Load_Policy.ipynb (038457a)
[FEATURE] Support for both Gym/Gymnasium (#142) [FEATURE] Add support for TorchRL by @vmoens (5efdf93) [FEATURE] Improve Inverse Dynamics tutorial (98daff2). Thanks to @andreh1111
[FEATURE] Inverse dynamics tutorial. Thanks to @andreh1111 #121 [RELEASE] MyoArm and MyoLeg models (4c01023, cd9a25e) [RELEASE] MyoChallenge'23 environments release (#128) [BUGFIX] Fixed heightfield collisions for myoleg scenes #132 [BUGFIX] Fixed names of data keys from _int to _init in myodm by @andreh1111 in (#119)
- Rebase and building on RoboHive v0.3
- fix Baoding Ball environment for MyoChallenge Phase 1
- update horizon for MyoChallenge Die Reorient task - Phase 2
- update MyoChallenge Die Reorient task and Baoding Ball to Phase 2
- update horizon for MyoChallenge Die Reorient task
- update tutorials
- Rebase and building on RoboHive v0.2
- Adding the myochallenge envs
- Fundamental bugfixes on the RoboHive engine
- Bugfixes on myo environments as well
- Closes baselines are on RoboHive-v0.2
- Next planned baseline release will align when Robohive-v0.3dev moves to prerelease.
- Renaming the metrics for clarity and changed sign from
act_magtoeffortandsolvedtoscore
- Upgrade to mj_env v0.2 experimental
- add Die Rotation and Baoding Ball task for MyoChallenge (https://sites.google.com/view/myochallenge)
- First Release of MyoSuite.
- Basic Documentation
