Open anjugopinath opened 4 months ago
There was a bug that I thought I fixed but maybe not. There is a typo in the keyname. robot_int
==> robot_init
robot_init=data['robot_int'],
object_init=data['object_int'],
Hi Vikash,
Thank You for your response. I am still getting an error:
Also, I wrote some code to print all the keys in the dictionary:
for npz_file in npz_files:
with np.load(npz_file) as data:
print(f"Keys in {npz_file}: {list(data.keys())}")
I think only 'time', 'robot' and 'object' are the 3 fields available :
'robot_init', # shape(n_objects_jnt) ==> initial robot pose 'object_init' # shape(n_objects_jnt) ==> initial object
I am referring to this file : https://github.com/MyoHub/myosuite/blob/main/myosuite/envs/myo/myodm/data/post_process.py
When I execute it, I get 'Key Error' for the above 2 fields.