ai-toolkit icon indicating copy to clipboard operation
ai-toolkit copied to clipboard

No Caption and Train Button

Open Fihade opened this issue 1 year ago • 7 comments

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

Fihade avatar Sep 02 '24 03:09 Fihade

same

happy1wawayu avatar Sep 02 '24 07:09 happy1wawayu

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

Fihade avatar Sep 02 '24 07:09 Fihade

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.

deboradum avatar Sep 05 '24 20:09 deboradum

Has anyone solved the same problem?

fatrobot avatar Oct 11 '24 02:10 fatrobot

same issue here. Also asked in discord and no one answered

cnielsen79 avatar Oct 15 '24 12:10 cnielsen79

I don't get any errors when I load the GUI but it says "Could not find files for the given pattern(s)." I got no caption button or training button

I'm running all the correct dependencies and the non gui version runs fine.

(ait) (base) E:\ai-toolkit>python flux_train_ui.py INFO: Could not find files for the given pattern(s).

  • Running on local URL: http://127.0.0.1:7860
  • Running on public URL: https://638194ceadcdbf2e.gradio.live

cnielsen79 avatar Oct 15 '24 12:10 cnielsen79

upload more pics, more than 3

Maelstrom2014 avatar Apr 15 '25 11:04 Maelstrom2014