Closed grpinto closed 1 year ago
hi, as the message says, the annotation file can not be found when you are in mmdeploy directory. Maybe you could set to absolute path for the annotation file in model config
Annotation file does not exist
I am at the main directory, I am not in mmedeploy, now I am trying to do this :
(mmdeploy) C:\Users\reipig1\binedge>python mmdeploy/tools/test.py mmdeploy\configs\mmpose\pose-detection_torchscript.py C:\Users\reipig1\binedge\mmpose\configs\wholebody_2d_keypoint\topdown_heatmap\coco-wholebody\cspnext-m_udp_8xb64-210e_coco-wholebody-256x192.py --model work_dir\end2end.pt --device cpu --speed-test
and the mistake is the same
so, check the annotation file path in the model config and set it as the absolute one.
This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.
This issue is closed because it has been stale for 5 days. Please open a new issue if you have similar issues or you have any new updates now.
Checklist
Describe the bug
So the bug is, I am trying to convert a model from mmpose with mmdeploy and I have mmdeploy and mmpose in the same directory however when I perform my command, the program doesn't seem to be able to find the mmpose directory and I am not understanding why this is. I have the data inside mmpose to be able to test my quantized model but I cannot use it because my program can't find mmpose and therefore can't find the annotations
Reproduction
python mmdeploy/tools/test.py mmdeploy\configs\mmpose\pose-detection_torchscript.py mmpose\configs\wholebody_2d_keypoint\topdown_heatmap\coco-wholebody\cspnext-m_udp_8xb64-210e_coco-wholebody-256x192.py --model work_dir\end2end.pt --device cpu --speed-test
Environment
Error traceback