I am trying to train YOLOv3 model following ImageAi documentation with my custom dataset.But the training is taking too much time that Google Colab time is not enough for this. Now how can I save Model state and load it after 50/60 epoch completion? As I am a beginner I am not getting Tensorflow Model Checkpoint t
Here is a sample of the code:
from imageai.Detection.Custom import DetectionModelTrainer
trainer = DetectionModelTrainer()
trainer.setModelTypeAsYOLOv3() trainer.setDataDirectory(data_directory="/content/drive/My Drive/Dataset")
trainer.setTrainConfig(object_names_array=["obj1","obj2"], batch_size=4, num_experiments=421)
trainer.trainModel()