devilismyfriend / StableTuner

Finetuning SD in style.
GNU Affero General Public License v3.0
666 stars 51 forks source link

TypeError: 'ABCMeta' object is not subscriptable #117

Open lakshman111 opened 1 year ago

lakshman111 commented 1 year ago

I'm trying to run Stable Tuner on Runpod by following this tutorial: https://www.youtube.com/watch?v=8tzA-1x6FIA

I'm on a Mac using Parallels to run Windows. I've opened the Jupyter Notebook in Runpod, and installed the dependencies. When I try to launch training (!accelerate launch --mixed_precision="fp16" scripts/trainer.py), I get the following error:

image

I solved this issue by downloading dataloaders_util.py locally and then manually uploading it into the python notebook.

However, when I try to run training again, I get "TypeError: 'ABCMeta' object is not subscriptable", which I'm not sure how so solve.

image

Any ideas how to solve? Any other information I can supply to help find the error?

lakshman111 commented 1 year ago

Trainer settings

Screenshot 2023-02-28 at 12 02 06 AM