boostcampaitech4lv23nlp1 / final-project-level3-nlp-03

Multi-Modal Model for DocVQA(Document Visual Question Answering)
3 stars 0 forks source link

LayoutLMv2 에러 노트 #5

Closed Ssunbell closed 1 year ago

Ssunbell commented 1 year ago

묻지말고 따라해.

1. 버전 업그레이드

pip install numpy transformers --upgrade

2. tesseract 다운로드

apt install tesseract-ocr
pip install pytesseract

3. detectron2

pip3 uninstall torch torchvision
pip3 install torch==1.8.0+cu101 torchvision==0.9.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu101/torch1.8/index.html
hundredeuk2 commented 1 year ago

확인

chanmuzi commented 1 year ago

확인