Object detection using turicreate

178 Views Asked by At

I was exploring turicreate ObjectDetector API. The documentation mentions it is a trained model. I wanted to know if I can use this trained model & detect the 1000 labels which was used to originally train this turi model. All the examples mention to train with our dataset, I do not want to train but wanted to use pre-trained model which can classify. Any help is appreciated.

1

There are 1 best solutions below

1
On

Is your question about how to load and use a pre-trained model? Turi create API docs mentions a load_model method:

model.save('my_model_file')
loaded_model = tc.load_model('my_model_file')

EDIT: Yep, ObjectDetector exposes a save method that works well with load_model.