fast-stable-diffusion
fast-stable-diffusion copied to clipboard
Dreambooth: Where to upload captions?
Hi, I find it is too slow to manully input the caption for every pictures, is there anywhere I could upload my .txt caption files so I don't have to input them mannully?
If you have them already captioned and named the same as the corresponding image file you can upload them to your session directly through your gdrive into a folder called captions
I believe the name should also be token-(1).txt and not token (1).txt to preserve the space between the file number and the actual token so that the number doesn't get recognised as part of the token.
fast-dreambooth/Sessions/yoursession/captions/putcaptionshere
upload the captions with the instance images in the instance images cell, make sure all the images have the same extension and each caption txt file holds the same name as the corresponding image. "itrtufnd (1).png" ---> "itrtufnd (1).txt"
My bad didn't even know that was a thing! Always wondered why it said upload them here in the captions explanation really good to know tho thanks.
I'll add clear instructions in the instance_images cell
thanks for make it clear!
After I upload the caption with instance image, it has the following error:| ███████▌ | 22/44 Uploaded
OSError Traceback (most recent call last) /usr/lib/python3.8/shutil.py in move(src, dst, copy_function) 790 try: --> 791 os.rename(src, real_dst) 792 except OSError:
OSError: [Errno 18] Invalid cross-device link: 'pfhxlx (1).txt' -> '/content/gdrive/MyDrive/Fast-Dreambooth/Sessions/Heipeifeng/instance_images/pfhxlx (1).txt'
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last) 3 frames /usr/lib/python3.8/shutil.py in copyfile(src, dst, follow_symlinks) 262 os.symlink(os.readlink(src), dst) 263 else: --> 264 with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst: 265 # macOS 266 if _HAS_FCOPYFILE:
FileNotFoundError: [Errno 2] No such file or directory: 'pfhxlx (1).txt'
does the error persist ?
I'm having the same error.