You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use this code for training, the following error is reported
Traceback (most recent call last):
File "/home/caojiayi/桌面/AGC-net-main/main.py", line 197, in
datasets, scaler = load_dataset(args.data_path, args.batch_size)
File "/home/caojiayi/桌面/AGC-net-main/main.py", line 23, in load_dataset
datasets['x_' + category] = cat_data['x']
File "/home/caojiayi/anaconda3/envs/pytorch/lib/python3.10/site-packages/numpy/lib/npyio.py", line 263, in getitem
raise KeyError(f"{key} is not a file in the archive")
KeyError: 'x is not a file in the archive'
How do I fix this? Thank you.
The text was updated successfully, but these errors were encountered:
When I use this code for training, the following error is reported
Traceback (most recent call last):
File "/home/caojiayi/桌面/AGC-net-main/main.py", line 197, in
datasets, scaler = load_dataset(args.data_path, args.batch_size)
File "/home/caojiayi/桌面/AGC-net-main/main.py", line 23, in load_dataset
datasets['x_' + category] = cat_data['x']
File "/home/caojiayi/anaconda3/envs/pytorch/lib/python3.10/site-packages/numpy/lib/npyio.py", line 263, in getitem
raise KeyError(f"{key} is not a file in the archive")
KeyError: 'x is not a file in the archive'
How do I fix this? Thank you.
The text was updated successfully, but these errors were encountered: