detectron2 모델을 학습하다가 에러가 발생
If you cannot immediately regenerate your protos, some other possible workarounds are: 1. Downgrade the protobuf package to 3.20.x or lower. 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
해결 방법 : 라이브러리 재설치
pip install protobuf==3.20.
반응형
'Language > python' 카테고리의 다른 글
[FastAPI] 2. 라우팅 (0) | 2023.07.14 |
---|---|
[FastAPI] 1. 시작하기 (0) | 2023.07.14 |
[Python] requirements.txt로 패키지 관리 (0) | 2023.06.29 |
[Python] 파일 확장자명 일괄변경 (0) | 2023.04.27 |
[Python] 리스트 안의 원소들을 한번에 int type 으로 변환 (0) | 2023.02.14 |