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

Maybe symbolic link error? #58

Closed KKD1123 closed 4 months ago

KKD1123 commented 10 months ago

Selecting previously unselected package aria2. Preparing to unpack .../aria2_1.36.0-1_amd64.deb ... Unpacking aria2 (1.36.0-1) ... Setting up libc-ares2:amd64 (1.18.1-1ubuntu0.22.04.2) ... Setting up libaria2-0:amd64 (1.36.0-1) ... Setting up aria2 (1.36.0-1) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for libc-bin (2.35-0ubuntu3.1) ... /sbin/ldconfig.real: /usr/local/lib/libtbb.so.12 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libtbbbind.so.3 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_0.so.3 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc_proxy.so.2 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libtbbbind_2_5.so.3 is not a symbolic link

/sbin/ldconfig.real: /usr/local/lib/libtbbmalloc.so.2 is not a symbolic link


ModuleNotFoundError Traceback (most recent call last)

in <cell line: 512>() 510 display(Markdown("### ✅ Done! Go download your Lora(s) from Google Drive")) 511 --> 512 main()

1 frames

in install_dependencies() 206 get_ipython().system('sed -i \'s/model_name + "."/model_name + "-{:02d}.".format(num_train_epochs)/g\' train_network.py # name of the last epoch will match the rest') 207 --> 208 from accelerate.utils import write_basic_config 209 if not os.path.exists(accelerate_config_file): 210 write_basic_config(save_location=accelerate_config_file)

ModuleNotFoundError: No module named 'accelerate'

I ran it with colab today but found an error Is there any way?

hollowstrawberry commented 4 months ago

Cannot reproduce this error as of yesterday.