Instructions to use eckartal/asimov-flex with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Asimov
How to use eckartal/asimov-flex with Asimov:
# Run the policy in a browser simulation of the Asimov 1 humanoid (no GPU needed) git clone https://github.com/menloresearch/humanoid-policy-viewer cd humanoid-policy-viewer npm install npm run hf eckartal/asimov-flex
- Notebooks
- Google Colab
- Kaggle
Download agent.yaml from eckartal/asimov-flex: direct link, hf CLI and curl.
- Browser
- Download file 3.47 kB
-
https://huggingface.co/eckartal/asimov-flex/resolve/main/agent.yaml
- Command line
-
hf download hf://eckartal/asimov-flex/agent.yaml
-
curl -L -o agent.yaml https://huggingface.co/eckartal/asimov-flex/resolve/main/agent.yaml
3.47 kB
| # walk v0.10 training settings. | |
| seed: 121 | |
| device: cuda:0 | |
| num_steps_per_env: 24 | |
| max_iterations: 400 | |
| empirical_normalization: {} | |
| obs_groups: | |
| actor: | |
| - policy | |
| critic: | |
| - critic | |
| clip_actions: null | |
| check_for_nan: true | |
| save_interval: 50 | |
| experiment_name: asimov_flex_walk | |
| run_name: walk_v0.10 | |
| logger: tensorboard | |
| neptune_project: isaaclab | |
| wandb_project: isaaclab | |
| resume: true | |
| load_run: resume_start | |
| load_checkpoint: model_13948.pt | |
| class_name: OnPolicyRunner | |
| actor: | |
| class_name: MLPModel | |
| hidden_dims: | |
| - 512 | |
| - 256 | |
| - 128 | |
| activation: elu | |
| obs_normalization: false | |
| distribution_cfg: | |
| class_name: GaussianDistribution | |
| init_std: 1.0 | |
| std_type: scalar | |
| critic: | |
| class_name: MLPModel | |
| hidden_dims: | |
| - 512 | |
| - 256 | |
| - 128 | |
| activation: elu | |
| obs_normalization: false | |
| distribution_cfg: null | |
| algorithm: | |
| class_name: asimov_flex.skills.walk.agents.amp_ppo:ResumeGuardAnchorMeanSmoothPeriodGatedAMPPPO | |
| num_learning_epochs: 5 | |
| num_mini_batches: 4 | |
| learning_rate: 0.001 | |
| schedule: adaptive | |
| gamma: 0.99 | |
| lam: 0.95 | |
| entropy_coef: 0.005 | |
| desired_kl: 0.01 | |
| max_grad_norm: 1.0 | |
| optimizer: adam | |
| value_loss_coef: 1.0 | |
| use_clipped_value_loss: true | |
| clip_param: 0.2 | |
| normalize_advantage_per_mini_batch: false | |
| share_cnn_encoders: false | |
| rnd_cfg: null | |
| symmetry_cfg: | |
| use_data_augmentation: true | |
| use_mirror_loss: false | |
| data_augmentation_func: asimov_flex.skills.walk.symmetry:mirror_walk | |
| mirror_loss_coeff: 0.0 | |
| amp_data: | |
| class_type: asimov_flex.skills.walk.motion_dataset:WalkMotionDataset | |
| asset_name: robot | |
| motion_files: | |
| - /home/user/runs/walk_v0.10/clips/cmu16_walk.npz | |
| - /home/user/runs/walk_v0.10/clips/cmu07_slow.npz | |
| - /home/user/runs/walk_v0.10/clips/cmu16_turn_left.npz | |
| joint_names: | |
| - left_hip_pitch_joint | |
| - left_hip_roll_joint | |
| - left_hip_yaw_joint | |
| - left_knee_joint | |
| - left_ankle_pitch_joint | |
| - left_ankle_roll_joint | |
| - right_hip_pitch_joint | |
| - right_hip_roll_joint | |
| - right_hip_yaw_joint | |
| - right_knee_joint | |
| - right_ankle_pitch_joint | |
| - right_ankle_roll_joint | |
| - waist_yaw_joint | |
| - right_shoulder_pitch_joint | |
| - right_shoulder_roll_joint | |
| - right_shoulder_yaw_joint | |
| - right_elbow_joint | |
| - right_wrist_yaw_joint | |
| - left_shoulder_pitch_joint | |
| - left_shoulder_roll_joint | |
| - left_shoulder_yaw_joint | |
| - left_elbow_joint | |
| - left_wrist_yaw_joint | |
| body_names: | |
| - left_ankle_roll_link | |
| - right_ankle_roll_link | |
| - left_wrist_yaw_link | |
| - right_wrist_yaw_link | |
| - waist_yaw_link | |
| amp_obs_terms: | |
| - joint_pos | |
| - joint_vel | |
| anchor_name: pelvis_link | |
| mirror: true | |
| foot_body_names: | |
| - left_ankle_roll_link | |
| - right_ankle_roll_link | |
| amp_obs_key: amp | |
| amp_reward_coef: 1.0 | |
| amp_task_reward_lerp: 0.8333333333333334 | |
| amp_discr_hidden_dims: | |
| - 256 | |
| - 256 | |
| amp_discr_activation: relu | |
| amp_feature_normalization: true | |
| amp_grad_pen_lambda: 10.0 | |
| amp_replay_buffer_size: 100000 | |
| amp_discr_trunk_weight_decay: 0.001 | |
| amp_discr_head_weight_decay: 0.1 | |
| amp_update_interval: 1 | |
| amp_reward_command_gate: true | |
| amp_reward_command_name: twist | |
| amp_reward_command_threshold: 0.1 | |
| amp_rollout_obs_clip: 500.0 | |
| amp_min_normalized_std: 0.0 | |
| mean_smooth_coef: 0.0 | |
| mean_smooth_samples: 8192 | |
| resume_actor_freeze_updates: 50 | |
| resume_warmup_lr: 0.0001 | |
| resume_lr_max: 0.0002 | |
| anchor_coef: 10.0 | |
| anchor_samples: 8192 | |
| anchor_checkpoint: walk_v0.9/model_13948.pt | |
| anchor_log: true | |
| policy: {} | |