8월, 2023의 게시물 표시

detectron compile error

  ## detectron compile conda create -n gtext2 python==3.8 conda activate gtext2 pip install torch==1.13.0+cu117 torchvision==0.14.0+cu117 torchaudio==0.13.0 --extra-index-url https://download.pytorch.org/whl/cu117 pip install opencv-python scipy timm shapely albumentations Polygon3 python -m pip install 'git+https://github.com/facebookresearch/detectron2.git' rm -rf build/ **/*.so python setup.py build develop cd gtextdetect/ sudo apt install gcc-10 g++-10 nvcc --version conda install -c "nvidia/label/cuda-11.7.0" cuda-toolkit nvcc --version python setup.py build develop python demo/demo.py --config-file ./configs/DPText_DETR/TotalText/R_50_poly.yaml --input /data/camera1/2023/202307/20230705/5 --output /home/gnoti/gtextdetect/output/test ## detectron2 error (base) min@min-MS-7C94:~/python/dptext-detr$ conda create --name textfusenet python=3.7.3 -y Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodat