Skip to content

AttributeError: 'int' object has no attribute 'strip' #54

Open
@RowanUnderwood

Description

@RowanUnderwood

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions