-
-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Running calculate_loss.py generates an error.
It appears that modules/module/GenerateLossesModel.py needs to replace "StableDiffusionFineTuneDataLoader" with "StableDiffusionFineTuneVaeDataLoader" in lines 3 and 25. At least making that change- adding the "Vae"- made it work for me.
What did you expect would happen?
It should run :)
Relevant log output
((venv) ) desk@LocalAI:/data/OneTrainer$ python scripts/calculate_loss.py -h
Traceback (most recent call last):
File "/data/OneTrainer/scripts/calculate_loss.py", line 7, in <module>
from modules.module.GenerateLossesModel import GenerateLossesModel
File "/data/OneTrainer/modules/module/GenerateLossesModel.py", line 3, in <module>
from modules.dataLoader import StableDiffusionFineTuneDataLoader
ImportError: cannot import name 'StableDiffusionFineTuneDataLoader' from 'modules.dataLoader' (unknown location)Generate and upload debug_report.log
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working