Open liqingxin opened 4 months ago
same question.Do u solve this problem?I m confused.
modify the data root in constant.py
modify the data root in constant.py
what do you mean by that ?
modify the data root in constant.py
what do you mean by that ?
in constant.py
# DATA_DIR = '/home/zfu/interbotix_ws/src/act/data' if os.getlogin() == 'zfu' else '/scr/tonyzhao/datasets'
DATA_DIR = '/home/kim/PCNL-Works/act-plus-plus/dataset'
modify the data root in constant.py
what do you mean by that ?
in constant.py
# DATA_DIR = '/home/zfu/interbotix_ws/src/act/data' if os.getlogin() == 'zfu' else '/scr/tonyzhao/datasets' DATA_DIR = '/home/kim/PCNL-Works/act-plus-plus/dataset'
thank you got it
I met an issue while training the model.
I have already run the episodes in simulation
but Found 0 hdf5 files
Data from: ['~/aloha/act-plus-plus-main/data/sim_transfer_cube_scripted']
Traceback (most recent call last): File "imitate_episodes.py", line 667, in
main(vars(parser.parse_args()))
File "imitate_episodes.py", line 166, in main
train_dataloader, valdataloader, stats, = load_data(dataset_dir, name_filter, camera_names, batch_size_train, batch_size_val, args['chunk_size'], args['skip_mirrored_data'], config['load_pretrain'], policy_class, stats_dir_l=stats_dir, sample_weights=sample_weights, train_ratio=train_ratio)
File "/home/lqx/aloha/act-plus-plus-main/utils.py", line 245, in loaddata
, all_episode_len = get_norm_stats(dataset_path_list)
File "/home/lqx/aloha/act-plus-plus-main/utils.py", line 174, in get_norm_stats
all_qpos_data = torch.cat(all_qpos_data, dim=0)
RuntimeError: torch.cat(): expected a non-empty list of Tensors