tools/test.py出现keyError
lightzwc opened this issue · 6 comments
lightzwc commented
你好,我运行这个命令的时候,
python tools/test.py --config configs/config_rodnet_cdc_win16.py --data_dir ./data/result/ --checkpoint checkpoints/rodnet-cdc-win16-wobg-20220419-105954/epoch_100_final.pkl --res_dir results/
(data/result文件夹是我生成的train和test的pkl文件)
出现这个问题,
Traceback (most recent call last):
File "tools/test.py", line 184, in
data = data_dict['radar_data']
KeyError: 'radar_data'
python tools/test.py --config configs/config_rodnet_cdc_win16.py --data_dir ./data/result/ --checkpoint checkpoints/rodnet-cdc-win16-wobg-20220419-105954/epoch_100_final.pkl --res_dir results/
rong-xue commented
lightzwc commented
lightzwc commented
路径问题,已解决
xuezhen5267 commented
能问一下楼上,问题如何解决的?我也有同样的报错,路径哪里有问题?
lightzwc commented
Heng-Dickens commented
请问有修改这个文件的详细信息吗?我也遇到了同样的问题不知道如何解决,我不清楚你指的npy文件是哪些文件?