반응형 detectron22 [에러] If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. 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. 2023. 7. 11. [CV] Detectron2 모델 환경 설정 detectron2 모델 환경 설정 1. ubuntu 환경 확인 (base) ➜ ~ lsb_release -a 2. python 버전 3.8로 detectron_env 이름을 가진 가상환경을 하나 만들어준다. (base) ➜ conda create -n detectron_env python=3.8 (base) ➜ conda activate detectron_env # 가상환경 활성화 3. detectron2 github에서 git clone을 실행하고 폴더 경로로 들어간다. (detectron_env) ➜ git clone https://github.com/facebookresearch/detectron2.git (detectron_env) ➜ cd detectron2 4. detectron_env 가상.. 2023. 1. 11. 이전 1 다음 반응형