yolov10安装体验
按照官网
conda create -n yolov10 python=3.9
conda activate yolov10
pip install -r requirements.txt
pip install -e .
一路安装,运行yolov10的问题,初次接触的同学可以注意。
Set arbitrary_types_allowed=True
in the model_config to ignore this error
f 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
ERROR: Exception in ASGI application
Traceback (most recent call last):
File " python3.11/site-packages/pydantic/type_adapter.py", line 270, in _init_core_attrs
self._core_schema = _getattr_no_parents(self._type, ‘pydantic_core_schema’)