Inference for surgical tools detection

Detection. 

This week I was writing the inference script for surgical tools detection model and creating a classification model (similar to the one used to solve the entrance exercise).


The inference for Roboflow models is very simple, but I had to read the docs carefully in order not to invent the wheel. The issue for Roboflow inference is that it does not work with pathlib Path objects. This bug does not seem to be obvious, so I had to spend quite enough time to find it. 


Also it turns out that the model is well optimised for runtime, so no additional transformation (to ONNX or TensorRT) were needed.


Classification. 

For classification I was using the same approach as for the entrance test. Notebook with experiments and the inference will be published soon.

Comments

Popular posts from this blog

Summing up my GSoC experience

How can we "simulate" VR?

Surgical tools detection