Skip to content

Commit

Permalink
add co-training options to constants.py: sample_weights, list of data…
Browse files Browse the repository at this point in the history
…set_dir, stats_dir, train_ratio
  • Loading branch information
MarkFzp committed Nov 25, 2023
1 parent acc201e commit 0a46487
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions aloha_scripts/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@
'episode_len': 1100,
'camera_names': ['cam_high', 'cam_left_wrist', 'cam_right_wrist']
},
'aloha_mobile_wash_pan_cotrain':{
'dataset_dir': [
DATA_DIR + '/aloha_mobile_wash_pan',
DATA_DIR + '/aloha_compressed_dataset',
], # only the first dataset_dir is used for val
'stats_dir': [
DATA_DIR + '/aloha_mobile_wash_pan',
],
'sample_weights': [100, 100],
'train_ratio': 0.9, # ratio of train data from the first dataset_dir
'episode_len': 1100,
'camera_names': ['cam_high', 'cam_left_wrist', 'cam_right_wrist']
},
'aloha_mobile_dummy':{
'dataset_dir': DATA_DIR + '/aloha_mobile_dummy',
'num_episodes': 50,
Expand Down

0 comments on commit 0a46487

Please sign in to comment.