From a11ff5ef246ca425b01b4c22ccad49d010499fae Mon Sep 17 00:00:00 2001 From: nawnie <106923464+nawnie@users.noreply.github.com> Date: Sun, 22 Jan 2023 18:13:31 -0600 Subject: [PATCH] Update Train_Colab.ipynb adds the chaining to colab, this was easier then erasing my fork --- Train_Colab.ipynb | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Train_Colab.ipynb b/Train_Colab.ipynb index e1f5830..1c90129 100644 --- a/Train_Colab.ipynb +++ b/Train_Colab.ipynb @@ -382,8 +382,21 @@ "outputs": [], "source": [ "#@title Alternate startup script\n", - "#@markdown Edit train.json to setup your paramaters\n", - "!python train.py --config train.json" + "#@markdown * Edit train.json to setup your paramaters\n", + "#@markdown * Edit chain0.json to make use of chaining\n", + "#@markdown * make sure to check each confguration you will need 1 Json per chain length 3 are provided\n", + "\n", + "\n", + "%cd /content/EveryDream2trainer\n", + "Chain_Length=0 #@param{type:\"integer\"}\n", + "l = Chain_Length \n", + "I=0 #repeat counter\n", + "if l == None or l == 0:\n", + " l=1\n", + "while l > 0:\n", + " !python train_colab.py --config chain{I}.json\n", + " l -= 1\n", + " I =+ 1" ] } ],