Translations:Tutoriel Apprentissage machine/61/en

From Alliance Doc
Revision as of 15:30, 7 October 2019 by Stubbsda (talk | contribs) (Created page with "# Get most recent checkpoint (this example is for PyTorch *.pth checkpoint files) export CHECKPOINTS=~/scratch/checkpoints/ml-test LAST_CHECKPOINT=$(find . -maxdepth 1 -name "...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. Get most recent checkpoint (this example is for PyTorch *.pth checkpoint files)

export CHECKPOINTS=~/scratch/checkpoints/ml-test LAST_CHECKPOINT=$(find . -maxdepth 1 -name "$CHECKPOINTS/*.pth" -print0 | xargs -r -0 ls -1 -t | head -1)