Created
August 30, 2019 14:21
-
-
Save OlafenwaMoses/2de7b8c7acaedf494216c9ec9d0ea655 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from imageai.Detection.Custom import DetectionModelTrainer | |
trainer = DetectionModelTrainer() | |
trainer.setModelTypeAsYOLOv3() | |
trainer.setDataDirectory(data_directory="apple_dataset") | |
trainer.setTrainConfig(object_names_array=["apple", "damaged_apple"], batch_size=8, num_experiments=50, train_from_pretrained_model="pretrained-yolov3.h5") | |
trainer.trainModel() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to generate loss curve while training the model?