Download train_config.json from SentientNapkin/residual-sac-pipe-threading: direct link, hf CLI and curl.
- Browser
- Download file 10.1 kB
-
https://huggingface.co/SentientNapkin/residual-sac-pipe-threading/resolve/main/train_config.json
- Command line
-
hf download hf://SentientNapkin/residual-sac-pipe-threading/train_config.json
-
curl -L -o train_config.json https://huggingface.co/SentientNapkin/residual-sac-pipe-threading/resolve/main/train_config.json
10.1 kB
| { | |
| "dataset": null, | |
| "env": { | |
| "type": "gym_manipulator", | |
| "task": null, | |
| "fps": 10, | |
| "features": {}, | |
| "features_map": {}, | |
| "max_parallel_tasks": 1, | |
| "disable_env_checker": true, | |
| "robot": { | |
| "type": "so101_follower", | |
| "id": "sebs_follower_arm", | |
| "calibration_dir": null, | |
| "port": "/dev/ttyACM0", | |
| "disable_torque_on_disconnect": true, | |
| "max_relative_target": null, | |
| "cameras": { | |
| "camera1": { | |
| "type": "opencv", | |
| "fps": 30, | |
| "width": 640, | |
| "height": 480, | |
| "index_or_path": 0, | |
| "color_mode": "rgb", | |
| "rotation": 0, | |
| "warmup_s": 1, | |
| "fourcc": null | |
| }, | |
| "camera2": { | |
| "type": "opencv", | |
| "fps": 30, | |
| "width": 640, | |
| "height": 480, | |
| "index_or_path": 2, | |
| "color_mode": "rgb", | |
| "rotation": 0, | |
| "warmup_s": 1, | |
| "fourcc": null | |
| } | |
| }, | |
| "use_degrees": true | |
| }, | |
| "teleop": { | |
| "type": "gamepad", | |
| "id": null, | |
| "calibration_dir": null, | |
| "use_gripper": true, | |
| "x_step_size": 1.0, | |
| "y_step_size": 1.0, | |
| "z_step_size": 1.0 | |
| }, | |
| "processor": { | |
| "control_mode": "gamepad", | |
| "observation": { | |
| "add_joint_velocity_to_observation": false, | |
| "add_current_to_observation": false, | |
| "display_cameras": false | |
| }, | |
| "image_preprocessing": { | |
| "crop_params_dict": {}, | |
| "resize_size": [ | |
| 128, | |
| 128 | |
| ] | |
| }, | |
| "gripper": { | |
| "use_gripper": true, | |
| "gripper_penalty": 0.0 | |
| }, | |
| "reset": { | |
| "fixed_reset_joint_positions": [ | |
| -4.75, | |
| -15.34, | |
| 31.91, | |
| 86.64, | |
| 8.84, | |
| 11.84 | |
| ], | |
| "reset_time_s": 6.0, | |
| "control_time_s": 20.0, | |
| "terminate_on_success": true | |
| }, | |
| "inverse_kinematics": { | |
| "urdf_path": "/home/sebastian-vargas/lerobot/assets/so-arm100/Simulation/SO101/so101_new_calib.urdf", | |
| "target_frame_name": "gripper_frame_link", | |
| "end_effector_bounds": { | |
| "min": [ | |
| -0.3499, | |
| -0.457, | |
| -0.2049 | |
| ], | |
| "max": [ | |
| 0.4864, | |
| 0.457, | |
| 0.5521 | |
| ] | |
| }, | |
| "end_effector_step_sizes": { | |
| "x": 0.03, | |
| "y": 0.03, | |
| "z": 0.03 | |
| }, | |
| "max_ee_step_m": 0.08 | |
| }, | |
| "reward_classifier": null, | |
| "pipe_reward_classifier": { | |
| "pretrained_path": "reward_classifier_checkpoints/pipe_reward_classifier.pt", | |
| "scalarization_method": "threshold", | |
| "tau": 0.5, | |
| "success_stage_threshold": 0.5, | |
| "success_reward": 1.0 | |
| }, | |
| "max_gripper_pos": 100.0 | |
| }, | |
| "name": "real_robot" | |
| }, | |
| "policy": { | |
| "type": "sac_residual", | |
| "n_obs_steps": 1, | |
| "input_features": { | |
| "observation.state": { | |
| "type": "STATE", | |
| "shape": [ | |
| 9 | |
| ] | |
| }, | |
| "observation.images.camera1": { | |
| "type": "VISUAL", | |
| "shape": [ | |
| 3, | |
| 128, | |
| 128 | |
| ] | |
| }, | |
| "observation.images.camera2": { | |
| "type": "VISUAL", | |
| "shape": [ | |
| 3, | |
| 128, | |
| 128 | |
| ] | |
| } | |
| }, | |
| "output_features": { | |
| "action": { | |
| "type": "ACTION", | |
| "shape": [ | |
| 3 | |
| ] | |
| } | |
| }, | |
| "device": "cuda", | |
| "use_amp": false, | |
| "use_peft": false, | |
| "push_to_hub": false, | |
| "repo_id": null, | |
| "private": null, | |
| "tags": null, | |
| "license": null, | |
| "pretrained_path": null, | |
| "normalization_mapping": { | |
| "VISUAL": "MEAN_STD", | |
| "STATE": "MIN_MAX", | |
| "ENV": "MIN_MAX", | |
| "ACTION": "MIN_MAX" | |
| }, | |
| "dataset_stats": { | |
| "observation.image": { | |
| "mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ] | |
| }, | |
| "observation.state": { | |
| "min": [ | |
| 0.0, | |
| 0.0 | |
| ], | |
| "max": [ | |
| 1.0, | |
| 1.0 | |
| ] | |
| }, | |
| "action": { | |
| "min": [ | |
| 0.0, | |
| 0.0, | |
| 0.0 | |
| ], | |
| "max": [ | |
| 1.0, | |
| 1.0, | |
| 1.0 | |
| ] | |
| } | |
| }, | |
| "storage_device": "cpu", | |
| "vision_encoder_name": null, | |
| "freeze_vision_encoder": true, | |
| "image_encoder_hidden_dim": 32, | |
| "shared_encoder": true, | |
| "num_discrete_actions": null, | |
| "image_embedding_pooling_dim": 8, | |
| "online_steps": 200000, | |
| "online_buffer_capacity": 40000, | |
| "offline_buffer_capacity": 100000, | |
| "async_prefetch": false, | |
| "online_step_before_learning": 200, | |
| "policy_update_freq": 1, | |
| "discount": 0.99, | |
| "temperature_init": 1.0, | |
| "num_critics": 2, | |
| "num_subsample_critics": null, | |
| "critic_lr": 0.0003, | |
| "actor_lr": 0.0003, | |
| "temperature_lr": 0.0003, | |
| "critic_target_update_weight": 0.005, | |
| "utd_ratio": 1, | |
| "state_encoder_hidden_dim": 256, | |
| "latent_dim": 256, | |
| "target_entropy": null, | |
| "use_backup_entropy": true, | |
| "grad_clip_norm": 40.0, | |
| "critic_network_kwargs": { | |
| "hidden_dims": [ | |
| 256, | |
| 256 | |
| ], | |
| "activate_final": true, | |
| "final_activation": null | |
| }, | |
| "actor_network_kwargs": { | |
| "hidden_dims": [ | |
| 256, | |
| 256 | |
| ], | |
| "activate_final": true | |
| }, | |
| "policy_kwargs": { | |
| "use_tanh_squash": true, | |
| "std_min": 1e-05, | |
| "std_max": 10.0, | |
| "init_final": 0.05 | |
| }, | |
| "discrete_critic_network_kwargs": { | |
| "hidden_dims": [ | |
| 256, | |
| 256 | |
| ], | |
| "activate_final": true, | |
| "final_activation": null | |
| }, | |
| "actor_learner_config": { | |
| "learner_host": "127.0.0.1", | |
| "learner_port": 50051, | |
| "policy_parameters_push_frequency": 2, | |
| "queue_get_timeout": 2 | |
| }, | |
| "concurrency": { | |
| "actor": "threads", | |
| "learner": "threads" | |
| }, | |
| "use_torch_compile": true, | |
| "base_policy_path": "SentientNapkin/smolvla-nut-threading", | |
| "base_policy_type": "smolvla", | |
| "base_policy_task": "Pick up the pipe and position it ready to thread onto the fitting", | |
| "residual_scale": 0.1, | |
| "base_policy_inference_stride": 5, | |
| "base_policy_chunk_stride": 3, | |
| "base_policy_augment_batch_size": 8, | |
| "urdf_path": "/home/sebastian-vargas/lerobot/assets/so-arm100/Simulation/SO101/so101_new_calib.urdf", | |
| "target_frame_name": "gripper_frame_link", | |
| "arm_joint_names": [ | |
| "shoulder_pan", | |
| "shoulder_lift", | |
| "elbow_flex", | |
| "wrist_flex", | |
| "wrist_roll" | |
| ], | |
| "end_effector_step_sizes": { | |
| "x": 0.03, | |
| "y": 0.03, | |
| "z": 0.03 | |
| }, | |
| "gripper_hold_deadband": 1.0 | |
| }, | |
| "output_dir": "outputs/train/2026-08-02/18-49-14_pipe_threading_residual_sac", | |
| "job_name": "pipe_threading_residual_sac", | |
| "resume": false, | |
| "seed": 1000, | |
| "num_workers": 4, | |
| "batch_size": 256, | |
| "steps": 200000, | |
| "eval_freq": 20000, | |
| "log_freq": 50, | |
| "tolerance_s": 0.0001, | |
| "save_checkpoint": true, | |
| "save_freq": 2000, | |
| "use_policy_training_preset": true, | |
| "optimizer": { | |
| "type": "multi_adam", | |
| "lr": 0.001, | |
| "weight_decay": 0.0, | |
| "grad_clip_norm": 10.0, | |
| "optimizer_groups": { | |
| "actor": { | |
| "lr": 0.0003 | |
| }, | |
| "critic": { | |
| "lr": 0.0003 | |
| }, | |
| "temperature": { | |
| "lr": 0.0003 | |
| } | |
| } | |
| }, | |
| "scheduler": null, | |
| "eval": { | |
| "n_episodes": 50, | |
| "batch_size": 50, | |
| "use_async_envs": false | |
| }, | |
| "wandb": { | |
| "enable": true, | |
| "disable_artifact": false, | |
| "project": "pipe-threading-residual-rl", | |
| "entity": null, | |
| "notes": null, | |
| "run_id": "4u14erbz", | |
| "mode": null | |
| }, | |
| "peft": null, | |
| "use_rabc": false, | |
| "rabc_progress_path": null, | |
| "rabc_kappa": 0.01, | |
| "rabc_epsilon": 1e-06, | |
| "rabc_head_mode": "sparse", | |
| "rename_map": {}, | |
| "checkpoint_path": null | |
| } |