How to train a custom model for object detection using models/official/vision/detection?
How to train a custom model for object detection using models/official/vision/detection?
To train a new model, the training entry is main.py.
Here are a few steps of how to add new models.
If you want to just build a simple model, say MyRetinaNet, on top of current existing components like layers, losses, existing heads, you might need to:
If you want to add some fine-grained components like heads and backbones, then you need to add something to the models/official/vision/detection/modeling/architecture/ folder.