简体   繁体   中英

How can i stop model training and resume it?

I am working on object detection with autonomous datasets . I want to train my model with 10000 train images,2000 test,2000 validation images.I will use object detection tensorflow lite model maker.

Project link : tensorflow.org/lite/tutorials/model_maker_object_detection

After setting batch size 32, the training takes 50 epochs and continues for 2 days(Step 3).I can't keep my computer on for two days.I am running the project in jupyter notebook

How can i stop model training and again resume it ? (eg stop the 10th epoch and continue one day later)

I sure it depend on your code you working on. You can do that with tensorflow check How to Pause / Resume Training in Tensorflow

a sleep mode is a better option. it will make your pc rest for some time and your work will be resumed after you log in again

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM