Translations:Tutoriel Apprentissage machine/62/en

From Alliance Doc
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 }}