Fixing multiple runs erroring on creating the "trained_models" folder.

This commit is contained in:
David Bielejeski 2022-09-27 09:25:20 -05:00
parent a524cfb751
commit 1c7c50f9d2
1 changed files with 1 additions and 1 deletions

View File

@ -418,7 +418,7 @@
"training_samples = !ls training_samples\n",
"date_string = !date +\"%Y-%m-%dT%H-%M-%S\"\n",
"file_name = date_string[-1] + \"_\" + project_name + \"_\" + str(len(training_samples)) + \"_training_images_\" + str(batch_size) + \"_batch_size_\" + class_word + \"_class_word.ckpt\"\n",
"!mkdir trained_models\n",
"!mkdir -p trained_models\n",
"!mv {last_checkpoint_file_pruned} trained_models/{file_name}"
],
"metadata": {