Translations:Tutoriel Apprentissage machine/62/en

From Alliance Doc
Revision as of 15:12, 7 October 2019 by Stubbsda (talk | contribs) (Created page with "# Start training if [ -n "$LAST_CHECKPOINT" ]; then # $LAST_CHECKPOINT is null; start from scratch python $SOURCEDIR/train.py --write-checkpoints-to $CHECKPOINTS ... e...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. Start training

if [ -n "$LAST_CHECKPOINT" ]; then

   # $LAST_CHECKPOINT is null; start from scratch
   python $SOURCEDIR/train.py --write-checkpoints-to $CHECKPOINTS ...

else

   python $SOURCEDIR/train.py --load-checkpoint $CHECKPOINTS/$LAST_CHECKPOINT --write-checkpoints-to $CHECKPOINTS ...

fi }}