I tried this, but it doesn’t seem to work. The accuracy does not improve at all between the runs, whereas within 10 epochs it used to reach > 90 % earlier.
image_classifier.create(train_data, validation_data=validation_data, epochs=1)
model.export(export_dir=’.’, export_format=ExportFormat.SAVED_MODEL)
model = image_classifier.create(train_data, validation_data=validation_data, epochs=1, model_dir=’.’, use_hub_library=False)
model.export(export_dir=’.’, export_format=ExportFormat.SAVED_MODEL)
model = image_classifier.create(train_data, validation_data=validation_data, epochs=1, model_dir=’.’, use_hub_library=False)
…(9 times in total)
Note that I tried both ‘.’ and ‘./saved_model’ in the create() call, but neither worked.