라벨이 build인 게시물 표시

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

build docker image

#make dockerfile [root@k8s-master docker-tomcat-war]# ll 합계 20 -rw-r--r--. 1 root root 110 4월 7 08:46 Dockerfile -rw-r--r--. 1 root root 681 4월 7 08:39 README.md -rw-r--r--. 1 root root 96 4월 7 08:39 docker-compose.yml -rw-r--r--. 1 root root 4606 4월 7 08:39 sample.war [root@k8s-master docker-tomcat-war]# vi Dockerfile FROM tomcat MAINTAINER gnoti@gmail.com ADD sample.war /usr/local/tomcat/webapps/ CMD ["catalina.sh", "run"] #build dockerfile [root@k8s-master docker-tomcat-war]# docker build -t gnoti_tomcat . Sending build context to Docker daemon 64kB Step 1/4 : FROM tomcat latest: Pulling from library/tomcat f15005b0235f: Pull complete 41ebfd3d2fd0: Pull complete b998346ba308: Pull complete f01ec562c947: Pull complete 74c11ae3efe8: Pull complete 3a7e595a3ef5: Pull complete 208407758d73: Pull complete b5238120a381: Pull complete 1716556aae46: Pull complete 1336a11b2bd2: Pull complete Digest: sha256:c0ba286d9903006423ff4e2818845f1cc