xyfJASON / ctrlora

Codebase for "CtrLoRA: An Extensible and Efficient Framework for Controllable Image Generation"
Apache License 2.0
142 stars 5 forks source link

Everything is installed successfully, but it doesn't work #13

Closed Jerry-155 closed 1 week ago

Jerry-155 commented 2 weeks ago

return self.match_type(obj) File "E:\CN\ctrlora\myenv\lib\site-packages\pydantic_internal_generate_schema.py", line 1038, in match_type return self._unknown_type_schema(obj) File "E:\CN\ctrlora\myenv\lib\site-packages\pydantic_internal_generate_schema.py", line 558, in _unknown_type_schema raise PydanticSchemaGenerationError( pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'starlette.requests.Request'>. Set arbitrary_types_allowed=True in the model_config to ignore this error or implement __get_pydantic_core_schema__ on your type to fully support it.

If you got this error by calling handler() within __get_pydantic_core_schema__ then you likely need to call handler.generate_schema(<some type>) since we do not call __get_pydantic_core_schema__ on <some type> otherwise to avoid infinite recursion.

For further information visit https://errors.pydantic.dev/2.9/u/schema-for-unknown-type Keyboard interruption in main thread... closing server. (myenv) PS E:\CN\ctrlora>

Jerry-155 commented 2 weeks ago

QQ_1729220864060 QQ_1729220910403