-
Notifications
You must be signed in to change notification settings - Fork 795
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
AttributeError: 'int' object has no attribute 'strip' #54
Comments
(#32 (comment)) - FIX IS HERE |
Yes, its --gpus "0," like so
python main.py --base configs/stable-diffusion/v1-finetune_unfrozen.yaml
--train --actual_resume
models/ldm/stable-diffusion-v1/sd-v1-4-full-ema.ckpt --name jacobpederson
--gpus "0," --data_root training/face --reg_data_root
classes/class-face-samples --class_word man
…On Wed, Oct 5, 2022 at 4:25 AM UrbanLegendXV ***@***.***> wrote:
Did you find a fix?
—
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJQHNT56JMTNLDPOWXOWUGTWBVCPZANCNFSM6AAAAAAQ4W74OM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You could only add |
Commenting for future Zero123 users: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My command is
python main.py --base configs/stable-diffusion/v1-finetune_unfrozen.yaml --train --actual_resume models/ldm/stable-diffusion-v1/sd-v1-4-full-ema.ckpt --name jacobpederson --gpus 1, --data_root training/face --reg_data_root classes/class-face-samples --class_word man
Error is
Traceback (most recent call last):
File "main.py", line 792, in
ngpu = len(lightning_config.trainer.gpus.strip(",").split(','))
AttributeError: 'int' object has no attribute 'strip'
Full text here https://pastebin.com/cPtUUe6H
Also referenced here #46
Thanks!
The text was updated successfully, but these errors were encountered: