Update Train_Colab.ipynb
adds the chaining to colab, this was easier then erasing my fork
This commit is contained in:
parent
18d1da0459
commit
a11ff5ef24
|
@ -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"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue