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

No Caption and Train Button #149

Open
Fihade opened this issue Sep 2, 2024 · 3 comments
Open

No Caption and Train Button #149

Fihade opened this issue Sep 2, 2024 · 3 comments

Comments

@Fihade
Copy link

Fihade commented Sep 2, 2024

This is for bugs only

Did you already ask in the discord?

Yes/No

You verified that this is a bug and not a feature request or question by asking in the discord?

Yes/No

Describe the bug

No Caption and Run Train Button after upload images
image

@happy1wawayu
Copy link

same

@Fihade
Copy link
Author

Fihade commented Sep 2, 2024

I deploy the trainer on remote server and upload Images not executed Callable Function.

@deboradum
Copy link

deboradum commented Sep 5, 2024

To add to this, it is caused by the following Pydantic exception:

ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/root/ai-toolkit/venv/lib/python3.11/site-packages/pydantic/type_adapter.py", line 277, in _init_core_attrs
    self._core_schema = _getattr_no_parents(self._type, '__pydantic_core_schema__')
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/ai-toolkit/venv/lib/python3.11/site-packages/pydantic/type_adapter.py", line 119, in _getattr_no_parents
    raise AttributeError(attribute)
AttributeError: __pydantic_core_schema__

For me it worked with no issues four days ago, on september 1st. Today however I get this error. I saw Pydantic had a newer version which I thought might be the cause. Downgrading Pydantic did not solve the issue however.

Running the normal run.py without the GUI works without issues.

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

3 participants