hollowstrawberry / kohya-colab

Accessible Google Colab notebooks for Stable Diffusion Lora training, based on the work of kohya-ss and Linaqruf
GNU General Public License v3.0
561 stars 80 forks source link

NameError: name 'resume' is not defined #64

Closed yohgizzy closed 9 months ago

yohgizzy commented 9 months ago

๐Ÿ’ฟ Checking dataset... ๐Ÿ“MyDrive/Loras/kingllu/dataset ๐Ÿ“ˆ Found 41 images with 10 repeats, equaling 410 steps. ๐Ÿ“‰ Divide 410 steps by 2 batch size to get 205.0 steps per epoch. ๐Ÿ”ฎ There will be 2 epochs, for around 410 total training steps.

โœ… Dependencies already installed.

๐Ÿ”„ Model already downloaded.

โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Traceback (most recent call last) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ in <cell line: 516>:516 โ”‚ โ”‚ in main:505 โ”‚ โ”‚ in create_config:313 โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ NameError: name 'resume' is not defined

yohgizzy commented 9 months ago

please I keep getting this error

hollowstrawberry commented 9 months ago

Hey, sorry for this error, I just pushed a fix. Please disconnect the session, reload the page and try again.

yohgizzy commented 9 months ago

Thanks, it's working now.