Skip to content

Instantly share code, notes, and snippets.

@karthick965938
Last active May 11, 2020 11:26
Show Gist options
  • Save karthick965938/dc5714c62da9d8e847f17aa9670a2973 to your computer and use it in GitHub Desktop.
Save karthick965938/dc5714c62da9d8e847f17aa9670a2973 to your computer and use it in GitHub Desktop.
Python code for prepare object detection model
from detecto import core, utils, visualize
#mention you dataset path
dataset = core.Dataset('images/')
#mention you object label here
model = core.Model(['cat'])
model.fit(dataset)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment