label-studio-ml-backend
label-studio-ml-backend copied to clipboard
ImportError: cannot import name 'field_serializer' from 'pydantic' (/usr/local/lib/python3.10/site-packages/pydantic/__init__.cpython-310-x86_64-linux-gnu.so)
Hello, so I try to implement a custom NER+L model into Label Studio via the ML backend. I have a problem where I cannot do the docker compose command because there is an error mentioned in the title. I try to upgrade the pydantic but looks like the docker do not use my own conda env so how to fix it? If upgrading the pydantic is the solution, how and where should I do the pip install --upgrade pydantic? Thank you