-
Notifications
You must be signed in to change notification settings - Fork 74
Object detection doesn't run on GPU #7
Comments
@fiorano10 If you'd like to do object detection, just keep one inference instance and remove others. Here is one object detection yaml example for your reference. |
I already have the object detection running on CPU, but even if I switch it to GPU in the yaml, the inference still defaults to CPU as I mentioned above. When I run the object detection the CPU usage jumps to 600%. |
@fiorano10 |
This is what yaml file looks like:
OpenvinoCommon:` |
@fiorano10 |
Yup, that's the output of the above yaml file. when I run face or emotion detection, it runs fine on the GPU but not object detection |
You need to add |
I have written a easy-to-use ROS wrapper for OpenVINO R3 Inference Engine, with a step-by-step instruction! =) https://github.com/songshan0321/ros_vino |
I'm trying to run object detection sample on the GPU but it defaults to using the CPU, why?
'[ INFO ] --------parameters DUMP---------------------
[ INFO ] Pipeline: object
[ INFO ] Inputs: RealSenseCamera,
[ INFO ] Outputs: ImageWindow, RosTopic, RViz,
[ INFO ] Inferences:
[ INFO ] Name: ObjectDetection
[ INFO ] Model: /opt/intel/computer_vision_sdk/deployment_tools/intel_models/person-vehicle-bike-detection-crossroad-0078/FP32/person-vehicle-bike-detection-crossroad-0078.xml
[ INFO ] Engine: GPU
[ INFO ] Label: to/be/set/xxx.labels
[ INFO ] Connections:
[ INFO ] ObjectDetection->ImageWindow
[ INFO ] ObjectDetection->RosTopic
[ INFO ] RealSenseCamera->ObjectDetection
[ INFO ] Common:
[ INFO ] camera_topic:
[ INFO ] custom_cpu_library:
[ INFO ] custom_cldnn_library:
[ INFO ] enable_performance_count: 0
getting instance
return instance
[ INFO ] device_FACE:CPU
[ INFO ] model_FACE:/opt/intel/computer_vision_sdk/deployment_tools/intel_models/person-vehicle-bike-detection-crossroad-0078/FP32/person-vehicle-bike-detection-crossroad-0078.xml
[ INFO ] device_AG:CPU
[ INFO ] model_AG:
[ INFO ] model_HeadPose:
[ INFO ] device_HeadPose:CPU
The text was updated successfully, but these errors were encountered: