Fixing multiple runs erroring on creating the "trained_models" folder.
This commit is contained in:
parent
a524cfb751
commit
1c7c50f9d2
|
@ -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": {
|
||||
|
|
Loading…
Reference in New Issue