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
I'm trying to replace the ssd_mobilenet_v2_coco object detection model with my YOLOv8 model on the AMR. I have already modified the paths and related files (xml, label, bin). But when running the object detection docker, the model path did not change. The error shows as below:
[setupvars.sh] OpenVINO environment initialized
[INFO] [1694965557.795466727] [i045.object_detection_node]: [ObjectDetection] Getting parameters ...
[INFO] [1694965557.795635151] [i045.object_detection_node]: Set model_path to: /home/eiforamr/workspace/object_detection/src/prebuilt_object_detection/object_detection/share/object_detection/models/ssd_mobilenet_v2_coco/frozen_inference_graph.xml
[INFO] [1694965557.795653094] [i045.object_detection_node]: Set device to: CPU
[INFO] [1694965557.795666811] [i045.object_detection_node]: Publishing to /camera/detected_objects
[INFO] [1694965557.798381064] [i045.object_detection_node]: Publishing to /camera/image_tracked
[INFO] [1694965557.800236433] [i045.object_detection_node]: Publishing to /camera/tracked_objects
[INFO] [1694965557.800437660] [i045.object_detection_node]: Publishing to /object/image_for_remote
[INFO] [1694965557.802707843] [i045.object_detection_node]: Subscribing to /camera/color/image_raw
[INFO] [1694965557.803233690] [i045.object_detection_node]: Subscribing to /camera/aligned_depth_to_color/image_raw
[INFO] [1694965557.803447426] [i045.object_detection_node]: Subscribing to /camera/aligned_depth_to_color/camera_info
[INFO] [1694965557.803859974] [i045.object_detection_node]: Subscribing to /object/remote_results
[INFO] [1694965557.804077811] [i045.object_detection_node]: Subscribing to /object/enable_remote_inference
InferenceEngine: 0x7fab884aa030
Loading Inference Engine
Loading network files
Path to model: /home/eiforamr/workspace/object_detection/src/prebuilt_object_detection/object_detection/share/object_detection/models/ssd_mobilenet_v2_coco
Model file name: frozen_inference_graph.xml
Base file name: frozen_inference_graph
[ INFO ] Loading Inference Engine
[ INFO ] Device info:
[ INFO ] CPU
MKLDNNPlugin version ......... 2021.4
Build ........... 2
Loading network files
[ ERROR ] Unknown model format! Cannot find reader for model format: xml and read the model: /home/eiforamr/workspace/object_detection/src/prebuilt_object_detection/object_detection/share/object_detection/models/ssd_mobilenet_v2_coco/frozen_inference_graph.xml. Please check that reader library exists in your PATH.
[INFO] [1694965557.845248517] [i045.object_detection_node]: Start Tracking Bounding Boxes
[WARN] [1694965558.880644127] [i045.object_detection_node]: No data received in CameraTopic instance
I tried to search the "ssd_mobilenet_v2" in the folder and the result is:
I'm trying to replace the ssd_mobilenet_v2_coco object detection model with my YOLOv8 model on the AMR. I have already modified the paths and related files (xml, label, bin). But when running the object detection docker, the model path did not change. The error shows as below:
I tried to search the "ssd_mobilenet_v2" in the folder and the result is:
I can find the model_path in the two files:
![image](https://private-user-images.githubusercontent.com/58079100/268618742-a32541b5-51b5-4078-bc60-1ec8a0357ef1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2OTY4NzQsIm5iZiI6MTczOTY5NjU3NCwicGF0aCI6Ii81ODA3OTEwMC8yNjg2MTg3NDItYTMyNTQxYjUtNTFiNS00MDc4LWJjNjAtMWVjOGEwMzU3ZWYxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDA5MDI1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlmNGY2OTUyMWY1NjVlMTYzZDJmY2EwMjg3ZjI4MDczMmVjMzZkYzBmMWQ0YzUwZTkxN2QyODllNDA2NDZjMmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.BhwDWZpysjFr39ASvcBdrjqB8O9M5U2leDylUXRFzHY)
How can I compile my own Yolov8 model and update the model path?
The text was updated successfully, but these errors were encountered: