-
Notifications
You must be signed in to change notification settings - Fork 559
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
NameError: name 'trainer' is not defined #163
Comments
+1 Did you solve it? |
I have the exact same issue with the NameError: name 'trainer' is not defined. I am hoping someone can help soon... |
Guys I found the solution. We aren't following the instructions on the readme well enough.
|
if youre part of the server here is the link to the message and the changes they made https://discord.com/channels/1023277529424986162/1026874778331643995/1083156685159415919 |
god damn live saver right here :) |
+1, same |
Global seed set to 23
Traceback (most recent call last):
File "main.py", line 656, in
configs = [OmegaConf.load(cfg) for cfg in opt.base]
File "main.py", line 656, in
configs = [OmegaConf.load(cfg) for cfg in opt.base]
File "/opt/conda/lib/python3.7/site-packages/omegaconf/omegaconf.py", line 189, in load
with io.open(os.path.abspath(file_), "r", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/workspace/Dreambooth-Stable-Diffusion/configs/stable-diffusion/v1-finetune_unfrozen_save_checkpoints_every_500_steps.yaml'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "main.py", line 932, in
if trainer.global_rank == 0:
NameError: name 'trainer' is not defined
The text was updated successfully, but these errors were encountered: