Dreambooth-Stable-Diffusion icon indicating copy to clipboard operation
Dreambooth-Stable-Diffusion copied to clipboard

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

Open ffdown opened this issue 2 years ago • 0 comments

╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ E:\ai\sd\dbsdo\main.py:792 in │ │ │ │ 789 │ │ # configure learning rate │ │ 790 │ │ bs, base_lr = config.data.params.batch_size, config.model.base_learning_rate │ │ 791 │ │ if not cpu: │ │ ❱ 792 │ │ │ ngpu = len(lightning_config.trainer.gpus.strip(",").split(',')) │ │ 793 │ │ else: │ │ 794 │ │ │ ngpu = 1 │ │ 795 │ │ if 'accumulate_grad_batches' in lightning_config.trainer: │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ AttributeError: 'int' object has no attribute 'strip'

ffdown avatar Sep 30 '22 14:09 ffdown