-
Notifications
You must be signed in to change notification settings - Fork 45.3k
Description
Prerequisites
Please answer the following question for yourself before submitting an issue.
- [X ] I checked to make sure that this feature has not been requested already.
1. The entire URL of the file you are using
2. Describe the feature you request
The notebook go through the steps necessary to modify number of classes and fine tune an existing model to detect new classes, but do not show how to save the model for using in other contexts, like tensorflow serving or restoring the model in other scripts/notebooks.I have successfully trained a model, but I tried to restore the checkpoints, tried many common tensorflow save model commands, but they do not worked. Can't figure out how to save the model.
3. Additional context
In the modified notebook:
I do a very simple test training to detect containers bounds on xray inspection images. The training works well, even with a few training. I do some predictions on new images with the model in memory and save the images to see the results. Then I save the model weights to a checkpoint and recreate the model, restoring the checkpoints and something goes wrong, the model do not do predictions anymore. Can figure out how to do it.
4. Are you willing to contribute it? (Yes or No)
Yes