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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"output_dir": null,
|
| 3 |
+
"job_name": "franka_sim_sac",
|
| 4 |
+
"resume": false,
|
| 5 |
+
"seed": 1000,
|
| 6 |
+
"num_workers": 4,
|
| 7 |
+
"batch_size": 256,
|
| 8 |
+
"steps": 100000,
|
| 9 |
+
"eval_freq": 20000,
|
| 10 |
+
"log_freq": 1,
|
| 11 |
+
"save_checkpoint": true,
|
| 12 |
+
"save_freq": 20000,
|
| 13 |
+
"use_policy_training_preset": true,
|
| 14 |
+
"optimizer": null,
|
| 15 |
+
"scheduler": null,
|
| 16 |
+
"wandb": {
|
| 17 |
+
"enable": true,
|
| 18 |
+
"project": "franka_sim",
|
| 19 |
+
"disable_artifact": true
|
| 20 |
+
},
|
| 21 |
+
"dataset": {
|
| 22 |
+
"repo_id": "aractingi/franka_sim_pick_lift_5",
|
| 23 |
+
"use_imagenet_stats": false
|
| 24 |
+
},
|
| 25 |
+
"env": {
|
| 26 |
+
"type": "gym_manipulator",
|
| 27 |
+
"name": "gym_hil",
|
| 28 |
+
"task": "PandaPickCubeGamepad-v0",
|
| 29 |
+
"fps": 10,
|
| 30 |
+
"robot": null,
|
| 31 |
+
"teleop": null,
|
| 32 |
+
"processor": {
|
| 33 |
+
"control_mode": "gamepad",
|
| 34 |
+
"gripper": {
|
| 35 |
+
"use_gripper": true,
|
| 36 |
+
"gripper_penalty": -0.02,
|
| 37 |
+
"gripper_penalty_in_reward": false
|
| 38 |
+
},
|
| 39 |
+
"reset": {
|
| 40 |
+
"fixed_reset_joint_positions": [0.0, 0.195, 0.0, -2.43, 0.0, 2.62, 0.785],
|
| 41 |
+
"reset_time_s": 2.0,
|
| 42 |
+
"control_time_s": 15.0,
|
| 43 |
+
"terminate_on_success": true
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
"features": {
|
| 47 |
+
"observation.images.front": {
|
| 48 |
+
"type": "VISUAL",
|
| 49 |
+
"shape": [3, 128, 128]
|
| 50 |
+
},
|
| 51 |
+
"observation.images.wrist": {
|
| 52 |
+
"type": "VISUAL",
|
| 53 |
+
"shape": [3, 128, 128]
|
| 54 |
+
},
|
| 55 |
+
"observation.state": {
|
| 56 |
+
"type": "STATE",
|
| 57 |
+
"shape": [18]
|
| 58 |
+
},
|
| 59 |
+
"action": {
|
| 60 |
+
"type": "ACTION",
|
| 61 |
+
"shape": [3]
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"features_map": {
|
| 65 |
+
"observation.images.front": "observation.images.front",
|
| 66 |
+
"observation.images.wrist": "observation.images.wrist",
|
| 67 |
+
"observation.state": "observation.state",
|
| 68 |
+
"action": "action"
|
| 69 |
+
}
|
| 70 |
+
},
|
| 71 |
+
"policy": {
|
| 72 |
+
"type": "sac",
|
| 73 |
+
"n_obs_steps": 1,
|
| 74 |
+
"normalization_mapping": {
|
| 75 |
+
"VISUAL": "MEAN_STD",
|
| 76 |
+
"STATE": "MIN_MAX",
|
| 77 |
+
"ENV": "MIN_MAX",
|
| 78 |
+
"ACTION": "MIN_MAX"
|
| 79 |
+
},
|
| 80 |
+
"input_features": {
|
| 81 |
+
"observation.images.front": {
|
| 82 |
+
"type": "VISUAL",
|
| 83 |
+
"shape": [3, 128, 128]
|
| 84 |
+
},
|
| 85 |
+
"observation.images.wrist": {
|
| 86 |
+
"type": "VISUAL",
|
| 87 |
+
"shape": [3, 128, 128]
|
| 88 |
+
},
|
| 89 |
+
"observation.state": {
|
| 90 |
+
"type": "STATE",
|
| 91 |
+
"shape": [18]
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
"output_features": {
|
| 95 |
+
"action": {
|
| 96 |
+
"type": "ACTION",
|
| 97 |
+
"shape": [3]
|
| 98 |
+
}
|
| 99 |
+
},
|
| 100 |
+
"device": "cuda",
|
| 101 |
+
"use_amp": false,
|
| 102 |
+
"dataset_stats": {
|
| 103 |
+
"observation.images.front": {
|
| 104 |
+
"mean": [0.485, 0.456, 0.406],
|
| 105 |
+
"std": [0.229, 0.224, 0.225]
|
| 106 |
+
},
|
| 107 |
+
"observation.images.wrist": {
|
| 108 |
+
"mean": [0.485, 0.456, 0.406],
|
| 109 |
+
"std": [0.229, 0.224, 0.225]
|
| 110 |
+
},
|
| 111 |
+
"observation.state": {
|
| 112 |
+
"min": [-0.6897139549255371, -1.1421763896942139, -0.5745007991790771, -2.97829008102417, -0.2710767090320587, 1.3246592283248901, -0.04057434946298599, -0.21261805295944214, -0.4548068344593048, -0.6540042757987976, -0.3644964098930359, -1.1057522296905518, -0.40768879652023315, -0.2220114767551422, 0.0, 0.19176171720027924, -0.3013063669204712, 0.00362197193317115],
|
| 113 |
+
"max": [0.5107022523880005, 0.5516204237937927, 0.5620884299278259, -1.3330878019332886, 0.32758936285972595, 3.119610548019409, 1.8364211320877075, 0.25358933210372925, 0.36316126585006714, 0.14765967428684235, 0.49947625398635864, 0.144814133644104, 0.2820609211921692, 0.7382049560546875, 255.0, 0.6012658476829529, 0.3005995750427246, 0.5004003643989563]
|
| 114 |
+
},
|
| 115 |
+
"action": {
|
| 116 |
+
"min": [-0.025, -0.025, -0.025],
|
| 117 |
+
"max": [0.025, 0.025, 0.025]
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
"repo_id": "aractingi/franka_sim_pick_lift",
|
| 121 |
+
"storage_device": "cpu",
|
| 122 |
+
"vision_encoder_name": "helper2424/resnet10",
|
| 123 |
+
"freeze_vision_encoder": true,
|
| 124 |
+
"image_encoder_hidden_dim": 32,
|
| 125 |
+
"shared_encoder": true,
|
| 126 |
+
"online_steps": 1000000,
|
| 127 |
+
"online_env_seed": 10000,
|
| 128 |
+
"online_buffer_capacity": 100000,
|
| 129 |
+
"offline_buffer_capacity": 100000,
|
| 130 |
+
"online_step_before_learning": 100,
|
| 131 |
+
"policy_update_freq": 1,
|
| 132 |
+
"discount": 0.97,
|
| 133 |
+
"temperature_init": 0.01,
|
| 134 |
+
"num_critics": 2,
|
| 135 |
+
"num_subsample_critics": null,
|
| 136 |
+
"critic_lr": 0.0003,
|
| 137 |
+
"actor_lr": 0.0003,
|
| 138 |
+
"temperature_lr": 0.0003,
|
| 139 |
+
"critic_target_update_weight": 0.005,
|
| 140 |
+
"utd_ratio": 2,
|
| 141 |
+
"state_encoder_hidden_dim": 256,
|
| 142 |
+
"latent_dim": 64,
|
| 143 |
+
"target_entropy": null,
|
| 144 |
+
"use_backup_entropy": true,
|
| 145 |
+
"grad_clip_norm": 10.0,
|
| 146 |
+
"num_discrete_actions": 3,
|
| 147 |
+
"critic_network_kwargs": {
|
| 148 |
+
"hidden_dims": [256, 256],
|
| 149 |
+
"activate_final": true,
|
| 150 |
+
"final_activation": null
|
| 151 |
+
},
|
| 152 |
+
"actor_network_kwargs": {
|
| 153 |
+
"hidden_dims": [256, 256],
|
| 154 |
+
"activate_final": true
|
| 155 |
+
},
|
| 156 |
+
"policy_kwargs": {
|
| 157 |
+
"use_tanh_squash": true,
|
| 158 |
+
"std_min": 1e-5,
|
| 159 |
+
"std_max": 5,
|
| 160 |
+
"init_final": 0.05
|
| 161 |
+
},
|
| 162 |
+
"actor_learner_config": {
|
| 163 |
+
"learner_host": "127.0.0.1",
|
| 164 |
+
"learner_port": 50051,
|
| 165 |
+
"policy_parameters_push_frequency": 4
|
| 166 |
+
},
|
| 167 |
+
"concurrency": {
|
| 168 |
+
"actor": "threads",
|
| 169 |
+
"learner": "threads"
|
| 170 |
+
}
|
| 171 |
+
}
|
| 172 |
+
}
|