Dreambooth-Stable-Diffusion
Dreambooth-Stable-Diffusion copied to clipboard
'int' object has no attribute 'strip' (line 792)
Traceback (most recent call last):
File "main.py", line 792, in
I'm using this fork: https://github.com/gammagec/Dreambooth-SD-optimized
Make sure in the command that --gpus 0, has the comma after the zero.
yeah, I've already tried it (saw a closed issue here). The full command looks like this:
python main.py --base D:\Dreambooth-SD-optimized\configs\stable-diffusion\v1-finetune_unfrozen.yaml -t --actual_resume D:\stable-diffusion-automatic\model.ckpt -n project01 --gpus 0, --data_root D:\Dreambooth-SD-optimized\training --reg_data_root D:\Dreambooth-SD-optimized\regimg --class_word girl
Hi @AveCeasar, I had the same issue in Windows PowerShell and the solution was to replace --gpus 0, by --gpus "0,".
Hi @AveCeasar, I had the same issue in Windows PowerShell and the solution was to replace
--gpus 0,by--gpus "0,".
OMG I knew it was something stupid like this. Yup, this solved my issue also. Thanks!
WOW
nice.
Hi @AveCeasar, I had the same issue in Windows PowerShell and the solution was to replace
--gpus 0,by--gpus "0,".
Where did you find this?
Trial and error haha.
@AcelisWeaven Thank you so much!!! (--gpu "0,") fixed it for me!