Upload folder using huggingface_hub
Browse files- can_low_dim/.hydra/config.yaml +91 -0
- can_low_dim/.hydra/hydra.yaml +157 -0
- can_low_dim/.hydra/overrides.yaml +1 -0
- can_low_dim/checkpoint/state_3000.pt +3 -0
- can_low_dim/run.log +0 -0
can_low_dim/.hydra/config.yaml
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
_target_: agent.pretrain.train_flow_matching_agent.TrainFlowMatchingAgent
|
| 2 |
+
name: ${env_name}_pre_flow_matching_mlp_ta${horizon_steps}_td${flow_steps}
|
| 3 |
+
logdir: ${oc.env:DICE_RL_LOG_DIR}/robomimic-pretrain/${name}/${now:%Y-%m-%d}_${now:%H-%M-%S}_${seed}
|
| 4 |
+
robomimic_env_cfg_path: cfg/robomimic/env_meta/${env_name}.json
|
| 5 |
+
train_dataset_path: data_dir/robomimic/${env_name}/ph_pretrain/train.npz
|
| 6 |
+
normalization_path: data_dir/robomimic/${env_name}/ph_pretrain/normalization.npz
|
| 7 |
+
seed: 42
|
| 8 |
+
device: cuda:0
|
| 9 |
+
env_name: can
|
| 10 |
+
obs_dim: 23
|
| 11 |
+
action_dim: 7
|
| 12 |
+
flow_steps: 10
|
| 13 |
+
horizon_steps: 4
|
| 14 |
+
cond_steps: 1
|
| 15 |
+
act_steps: 4
|
| 16 |
+
env:
|
| 17 |
+
n_envs: 20
|
| 18 |
+
name: ${env_name}
|
| 19 |
+
best_reward_threshold_for_success: 1
|
| 20 |
+
max_episode_steps: 400
|
| 21 |
+
save_video: false
|
| 22 |
+
wrappers:
|
| 23 |
+
robomimic_lowdim:
|
| 24 |
+
normalization_path: ${normalization_path}
|
| 25 |
+
low_dim_keys:
|
| 26 |
+
- robot0_eef_pos
|
| 27 |
+
- robot0_eef_quat
|
| 28 |
+
- robot0_gripper_qpos
|
| 29 |
+
- object
|
| 30 |
+
multi_step:
|
| 31 |
+
n_obs_steps: ${cond_steps}
|
| 32 |
+
n_action_steps: ${act_steps}
|
| 33 |
+
max_episode_steps: ${env.max_episode_steps}
|
| 34 |
+
reset_within_step: true
|
| 35 |
+
wandb:
|
| 36 |
+
entity: ${oc.env:DICE_RL_WANDB_ENTITY}
|
| 37 |
+
project: robomimic-${env_name}-pretrain
|
| 38 |
+
run: ${now:%H-%M-%S}_${name}
|
| 39 |
+
train:
|
| 40 |
+
n_epochs: 8000
|
| 41 |
+
batch_size: 256
|
| 42 |
+
learning_rate: 0.0001
|
| 43 |
+
weight_decay: 1.0e-06
|
| 44 |
+
lr_scheduler:
|
| 45 |
+
first_cycle_steps: 10000
|
| 46 |
+
warmup_steps: 100
|
| 47 |
+
min_lr: 1.0e-05
|
| 48 |
+
epoch_start_ema: 20
|
| 49 |
+
update_ema_freq: 10
|
| 50 |
+
save_model_freq: 1000
|
| 51 |
+
render:
|
| 52 |
+
freq: 1
|
| 53 |
+
num: 0
|
| 54 |
+
model:
|
| 55 |
+
_target_: model.flow_matching.flow_matching.FlowMatchingModel
|
| 56 |
+
network:
|
| 57 |
+
_target_: model.flow_matching.mlp_flow_matching.FlowMatchingMLP
|
| 58 |
+
time_dim: 64
|
| 59 |
+
cond_dim: ${eval:'${obs_dim} * ${cond_steps}'}
|
| 60 |
+
horizon_steps: ${horizon_steps}
|
| 61 |
+
action_dim: ${action_dim}
|
| 62 |
+
horizon_steps: ${horizon_steps}
|
| 63 |
+
obs_dim: ${obs_dim}
|
| 64 |
+
action_dim: ${action_dim}
|
| 65 |
+
flow_steps: ${flow_steps}
|
| 66 |
+
cond_steps: ${cond_steps}
|
| 67 |
+
integration_method: euler
|
| 68 |
+
schedule: linear
|
| 69 |
+
t_sampling: uniform
|
| 70 |
+
weight_method: none
|
| 71 |
+
device: ${device}
|
| 72 |
+
train_distilled: false
|
| 73 |
+
distilled_actor_hidden_dims:
|
| 74 |
+
- 512
|
| 75 |
+
- 512
|
| 76 |
+
- 512
|
| 77 |
+
distilled_actor_activation: GELU
|
| 78 |
+
distilled_actor_use_layernorm: true
|
| 79 |
+
ema:
|
| 80 |
+
inv_gamma: 1.0
|
| 81 |
+
max_value: 0.9999
|
| 82 |
+
min_value: 0.0
|
| 83 |
+
power: 0.75
|
| 84 |
+
update_after_step: 0
|
| 85 |
+
train_dataset:
|
| 86 |
+
_target_: agent.dataset.sequence.StitchedSequenceDataset
|
| 87 |
+
dataset_path: ${train_dataset_path}
|
| 88 |
+
horizon_steps: ${horizon_steps}
|
| 89 |
+
cond_steps: ${cond_steps}
|
| 90 |
+
device: ${device}
|
| 91 |
+
max_n_episodes: 20
|
can_low_dim/.hydra/hydra.yaml
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
hydra:
|
| 2 |
+
run:
|
| 3 |
+
dir: ${logdir}
|
| 4 |
+
sweep:
|
| 5 |
+
dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
|
| 6 |
+
subdir: ${hydra.job.num}
|
| 7 |
+
launcher:
|
| 8 |
+
_target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
|
| 9 |
+
sweeper:
|
| 10 |
+
_target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
|
| 11 |
+
max_batch_size: null
|
| 12 |
+
params: null
|
| 13 |
+
help:
|
| 14 |
+
app_name: ${hydra.job.name}
|
| 15 |
+
header: '${hydra.help.app_name} is powered by Hydra.
|
| 16 |
+
|
| 17 |
+
'
|
| 18 |
+
footer: 'Powered by Hydra (https://hydra.cc)
|
| 19 |
+
|
| 20 |
+
Use --hydra-help to view Hydra specific help
|
| 21 |
+
|
| 22 |
+
'
|
| 23 |
+
template: '${hydra.help.header}
|
| 24 |
+
|
| 25 |
+
== Configuration groups ==
|
| 26 |
+
|
| 27 |
+
Compose your configuration from those groups (group=option)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
$APP_CONFIG_GROUPS
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
== Config ==
|
| 34 |
+
|
| 35 |
+
Override anything in the config (foo.bar=value)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
$CONFIG
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
${hydra.help.footer}
|
| 42 |
+
|
| 43 |
+
'
|
| 44 |
+
hydra_help:
|
| 45 |
+
template: 'Hydra (${hydra.runtime.version})
|
| 46 |
+
|
| 47 |
+
See https://hydra.cc for more info.
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
== Flags ==
|
| 51 |
+
|
| 52 |
+
$FLAGS_HELP
|
| 53 |
+
|
| 54 |
+
|
| 55 |
+
== Configuration groups ==
|
| 56 |
+
|
| 57 |
+
Compose your configuration from those groups (For example, append hydra/job_logging=disabled
|
| 58 |
+
to command line)
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
$HYDRA_CONFIG_GROUPS
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
Use ''--cfg hydra'' to Show the Hydra config.
|
| 65 |
+
|
| 66 |
+
'
|
| 67 |
+
hydra_help: ???
|
| 68 |
+
hydra_logging:
|
| 69 |
+
version: 1
|
| 70 |
+
formatters:
|
| 71 |
+
simple:
|
| 72 |
+
format: '[%(asctime)s][HYDRA] %(message)s'
|
| 73 |
+
handlers:
|
| 74 |
+
console:
|
| 75 |
+
class: logging.StreamHandler
|
| 76 |
+
formatter: simple
|
| 77 |
+
stream: ext://sys.stdout
|
| 78 |
+
root:
|
| 79 |
+
level: INFO
|
| 80 |
+
handlers:
|
| 81 |
+
- console
|
| 82 |
+
loggers:
|
| 83 |
+
logging_example:
|
| 84 |
+
level: DEBUG
|
| 85 |
+
disable_existing_loggers: false
|
| 86 |
+
job_logging:
|
| 87 |
+
version: 1
|
| 88 |
+
formatters:
|
| 89 |
+
simple:
|
| 90 |
+
format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
|
| 91 |
+
handlers:
|
| 92 |
+
console:
|
| 93 |
+
class: logging.StreamHandler
|
| 94 |
+
formatter: simple
|
| 95 |
+
stream: ext://sys.stdout
|
| 96 |
+
file:
|
| 97 |
+
class: logging.FileHandler
|
| 98 |
+
formatter: simple
|
| 99 |
+
filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
|
| 100 |
+
root:
|
| 101 |
+
level: INFO
|
| 102 |
+
handlers:
|
| 103 |
+
- console
|
| 104 |
+
- file
|
| 105 |
+
disable_existing_loggers: false
|
| 106 |
+
env: {}
|
| 107 |
+
mode: RUN
|
| 108 |
+
searchpath: []
|
| 109 |
+
callbacks: {}
|
| 110 |
+
output_subdir: .hydra
|
| 111 |
+
overrides:
|
| 112 |
+
hydra:
|
| 113 |
+
- hydra.mode=RUN
|
| 114 |
+
task: []
|
| 115 |
+
job:
|
| 116 |
+
name: run
|
| 117 |
+
chdir: null
|
| 118 |
+
override_dirname: ''
|
| 119 |
+
id: ???
|
| 120 |
+
num: ???
|
| 121 |
+
config_name: pre_flow_matching_mlp
|
| 122 |
+
env_set: {}
|
| 123 |
+
env_copy: []
|
| 124 |
+
config:
|
| 125 |
+
override_dirname:
|
| 126 |
+
kv_sep: '='
|
| 127 |
+
item_sep: ','
|
| 128 |
+
exclude_keys: []
|
| 129 |
+
runtime:
|
| 130 |
+
version: 1.3.2
|
| 131 |
+
version_base: '1.3'
|
| 132 |
+
cwd: /store/real/zhanyis/dice-rl
|
| 133 |
+
config_sources:
|
| 134 |
+
- path: hydra.conf
|
| 135 |
+
schema: pkg
|
| 136 |
+
provider: hydra
|
| 137 |
+
- path: /store/real/zhanyis/dice-rl/cfg
|
| 138 |
+
schema: file
|
| 139 |
+
provider: main
|
| 140 |
+
- path: /store/real/zhanyis/dice-rl/cfg/robomimic/pretrain/can
|
| 141 |
+
schema: file
|
| 142 |
+
provider: command-line
|
| 143 |
+
- path: ''
|
| 144 |
+
schema: structured
|
| 145 |
+
provider: schema
|
| 146 |
+
output_dir: /store/real/zhanyis/dice-rl/log_dir/robomimic-pretrain/can_pre_flow_matching_mlp_ta4_td10/2026-01-07_02-09-59_42
|
| 147 |
+
choices:
|
| 148 |
+
hydra/env: default
|
| 149 |
+
hydra/callbacks: null
|
| 150 |
+
hydra/job_logging: default
|
| 151 |
+
hydra/hydra_logging: default
|
| 152 |
+
hydra/hydra_help: default
|
| 153 |
+
hydra/help: default
|
| 154 |
+
hydra/sweeper: basic
|
| 155 |
+
hydra/launcher: basic
|
| 156 |
+
hydra/output: default
|
| 157 |
+
verbose: false
|
can_low_dim/.hydra/overrides.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
[]
|
can_low_dim/checkpoint/state_3000.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d759d9fe6ce2ecd7f6f3fb3cff550d04653bfc4476c5f5ce48d08ba50b328225
|
| 3 |
+
size 69088866
|
can_low_dim/run.log
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|