Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: unsupported operand type(s) for |=: 'dict' and 'dict' #14

Open
wilzamguerrero opened this issue Mar 6, 2023 · 2 comments
Open

Comments

@wilzamguerrero
Copy link

CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching /usr/local/cuda/lib64...
CUDA SETUP: CUDA runtime path found: /usr/local/cuda/lib64/libcudart.so
CUDA SETUP: Highest compute capability among GPUs detected: 7.5
CUDA SETUP: Detected CUDA version 118
CUDA SETUP: Loading binary /usr/local/lib/python3.8/dist-packages/bitsandbytes/libbitsandbytes_cuda118.so...
use 8-bit AdamW optimizer | {}
running training / 学習開始
num train images * repeats / 学習画像の数×繰り返し回数: 1575
num reg images / 正則化画像の数: 0
num batches per epoch / 1epochのバッチ数: 1575
num epochs / epoch数: 2
batch size per device / バッチサイズ: 1
gradient accumulation steps / 勾配を合計するステップ数 = 1
total optimization steps / 学習ステップ数: 1600
Traceback (most recent call last):
File "/content/stable-diffusion-webui/extensions/kohya-sd-scripts-webui/kohya_ss/train_network.py", line 642, in
train(args)
File "/content/stable-diffusion-webui/extensions/kohya-sd-scripts-webui/kohya_ss/train_network.py", line 411, in train
metadata |= {
TypeError: unsupported operand type(s) for |=: 'dict' and 'dict'

@ddPn08
Copy link
Owner

ddPn08 commented Mar 6, 2023

kohya-ss/sd-scripts recommends python3.10.
Using other versions may result in errors.

@wilzamguerrero
Copy link
Author

kohya-ss/sd-scripts recommends python3.10. Using other versions may result in errors.

Thank you so much i find how to install this in colab and reinstall xformes and work now, thanks for all i continued doing some test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants