ostris / ai-toolkit

Various AI scripts. Mostly Stable Diffusion stuff.
MIT License
220 stars 25 forks source link

Error running job: 'ExtractLoraProcess' object has no attribute 'dim' #14

Open torridgristle opened 10 months ago

torridgristle commented 10 months ago

File "/content/ai-toolkit/run.py", line 75, in main() File "/content/ai-toolkit/run.py", line 71, in main raise e File "/content/ai-toolkit/run.py", line 63, in main job.run() File "/content/ai-toolkit/jobs/ExtractJob.py", line 58, in run process.run() File "/content/ai-toolkit/jobs/process/ExtractLoraProcess.py", line 49, in run super().run() File "/content/ai-toolkit/jobs/process/BaseExtractProcess.py", line 37, in run self.output_path = self.get_output_path() File "/content/ai-toolkit/jobs/process/ExtractLoraProcess.py", line 72, in get_outputpath suffix = f"{self.dim}" AttributeError: 'ExtractLoraProcess' object has no attribute 'dim'

Extracting locon doesn't give this error, just the lora. Sure enough, I don't see dim defined anywhere in ExtractLoraProcess.py

Maybe it was meant to be self.linear_param ?