From 1c7c50f9d2873e978fa9f3af5f926ac28e28d77c Mon Sep 17 00:00:00 2001 From: David Bielejeski <2463282+djbielejeski@users.noreply.github.com> Date: Tue, 27 Sep 2022 09:25:20 -0500 Subject: [PATCH] Fixing multiple runs erroring on creating the "trained_models" folder. --- dreambooth_runpod_joepenna.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dreambooth_runpod_joepenna.ipynb b/dreambooth_runpod_joepenna.ipynb index 45bb853..6bfcf22 100644 --- a/dreambooth_runpod_joepenna.ipynb +++ b/dreambooth_runpod_joepenna.ipynb @@ -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": {