Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Args' object has no attribute 'prior_loss_weight - [BUG] #724

Closed
2 tasks done
m-nameer opened this issue Aug 8, 2024 · 3 comments
Closed
2 tasks done

Args' object has no attribute 'prior_loss_weight - [BUG] #724

m-nameer opened this issue Aug 8, 2024 · 3 comments
Labels
bug Something isn't working stale

Comments

@m-nameer
Copy link

m-nameer commented Aug 8, 2024

Prerequisites

  • I have read the documentation.
  • I have checked other issues for similar problems.

Backend

Local

Interface Used

CLI

CLI Command

No response

UI Screenshots & Parameters

No response

Error Logs

ERROR | 2024-08-08 09:15:21 | autotrain.trainers.common:wrapper:120 - train has failed due to an exception: Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/common.py", line 117, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/dreambooth/main.py", line 185, in train
main(_args)
File "/usr/local/lib/python3.10/dist-packages/autotrain/trainers/dreambooth/train.py", line 876, in main
loss = loss + args.prior_loss_weight * prior_loss
AttributeError: 'Args' object has no attribute 'prior_loss_weight'

ERROR | 2024-08-08 09:15:21 | autotrain.trainers.common:wrapper:121 - 'Args' object has no attribute 'prior_loss_weight'
Steps: 0% 0/500 [00:00<?, ?it/s]
INFO | 2024-08-08 09:15:24 | autotrain.cli.run_dreambooth:run:393 - Job ID: 8705

Additional Information

No response

@m-nameer m-nameer added the bug Something isn't working label Aug 8, 2024
@m-nameer m-nameer changed the title [BUG] Args' object has no attribute 'prior_loss_weight - [BUG] Aug 8, 2024
@abhishekkrthakur
Copy link
Member

please make sure you have the correct version of everything (including diffusers) from https://github.com/huggingface/autotrain-advanced/blob/main/requirements.txt

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Sep 11, 2024
Copy link

github-actions bot commented Oct 1, 2024

This issue was closed because it has been inactive for 20 days since being marked as stale.

@github-actions github-actions bot closed this as completed Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants