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

mian.py #854

Open
kkkkuka opened this issue May 29, 2024 · 0 comments
Open

mian.py #854

kkkkuka opened this issue May 29, 2024 · 0 comments

Comments

@kkkkuka
Copy link

kkkkuka commented May 29, 2024

Global seed set to 23
Traceback (most recent call last):
File "E:\桌面\复现\stable-diffusion-main\main.py", line 535, in
model = instantiate_from_config(config.model)
^^^^^^^^^^^^
File "E:\桌面\复现\stable-diffusion-main\venv\Lib\site-packages\omegaconf\dictconfig.py", line 355, in getattr
self._format_and_raise(
File "E:\桌面\复现\stable-diffusion-main\venv\Lib\site-packages\omegaconf\base.py", line 231, in _format_and_raise
format_and_raise(
File "E:\桌面\复现\stable-diffusion-main\venv\Lib\site-packages\omegaconf_utils.py", line 899, in format_and_raise
_raise(ex, cause)
File "E:\桌面\复现\stable-diffusion-main\venv\Lib\site-packages\omegaconf_utils.py", line 797, in _raise
raise ex.with_traceback(sys.exc_info()[2]) # set env var OC_CAUSE=1 for full trace
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\桌面\复现\stable-diffusion-main\venv\Lib\site-packages\omegaconf\dictconfig.py", line 351, in getattr
return self._get_impl(
^^^^^^^^^^^^^^^
File "E:\桌面\复现\stable-diffusion-main\venv\Lib\site-packages\omegaconf\dictconfig.py", line 442, in _get_impl
node = self._get_child(
^^^^^^^^^^^^^^^^
File "E:\桌面\复现\stable-diffusion-main\venv\Lib\site-packages\omegaconf\basecontainer.py", line 73, in _get_child
child = self._get_node(
^^^^^^^^^^^^^^^
File "E:\桌面\复现\stable-diffusion-main\venv\Lib\site-packages\omegaconf\dictconfig.py", line 480, in _get_node
raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key model
full_key: model
object_type=dict

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "E:\桌面\复现\stable-diffusion-main\main.py", line 740, in
if trainer.global_rank == 0:
^^^^^^^
NameError: name 'trainer' is not defined. Did you mean: 'Trainer'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant