leggedrobotics / darknet_ros

YOLO ROS: Real-Time Object Detection for ROS
BSD 3-Clause "New" or "Revised" License
2.19k stars 1.18k forks source link

Release the darknet model #97

Open joyyang1215 opened 6 years ago

joyyang1215 commented 6 years ago

Hi,

Do you know how to release or free the darknet model, and load another one?

Thanks.

joyyang1215 commented 6 years ago

I have tried the "void free_network(network *net)", but the memory does not release.

Thanks