Skip to content

Commit db632df

Browse files
authored
use latest saved weight in tutorial
Use latest saved weight by default in tutorial but also allow the user to specify a weight file.
1 parent 2299ab3 commit db632df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorial/train_shape.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -464,9 +464,9 @@
464464
},
465465
"source": [
466466
"#get latest weight file\n",
467-
"%cd /content/Yet-Another-EfficientDet-Pytorch/logs/shape\n",
467+
"%cd logs/shape\n",
468468
"weight_file = !ls -Art | tail -n 1\n",
469-
"%cd /content/Yet-Another-EfficientDet-Pytorch\n",
469+
"%cd -\n",
470470
"\n",
471471
"#uncomment the next line to specify a weight file\n",
472472
"#weight_file[0] = 'efficientdet-d0_49_1400.pth'\n",

0 commit comments

Comments
 (0)