-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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'?
The text was updated successfully, but these errors were encountered: