소스 검색

Merge branch 'master' of http://gogsb.soaringnova.com/chenguilong/yl-ocr-layout

Raychar 2 년 전
부모
커밋
f589d35aec
2개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 2
      Dockerfile
  2. 2 1
      server.py

+ 3 - 2
Dockerfile

@@ -102,8 +102,9 @@ RUN git clone https://gitee.com/monkeycc/yolov5.git
 # RUN wget --user=sxkj --password='sx' ftp://192.168.199.208/yili.pt
 # RUN wget --user=sxkj --password='sx' ftp://192.168.199.208/best.pt
 # RUN wget --user=sxkj --password='sx' ftp://192.168.199.208/best2.pt
-# RUN wget --user=sxkj --password='sx' ftp://192.168.199.208/yili2.pt
-RUN wget --user=sxkj --password='sx' ftp://192.168.199.208/xxc_yolo_8.25.pt
+#RUN wget --user=sxkj --password='sx' ftp://192.168.199.208/8-14_layout_model.pt
+RUN wget --user=sxkj --password='sx' ftp://192.168.199.208/0822yili.pt
+
 
 ADD . /workspace
 EXPOSE 8080

+ 2 - 1
server.py

@@ -17,7 +17,8 @@ YOLO_DIR = '/workspace/yolov5'
 # WEIGHTS = '/workspace/best.pt'
 # WEIGHTS = '/workspace/yili.pt'
 # WEIGHTS = '/workspace/best2.pt'
-WEIGHTS = '/workspace/xxc_yolo_8.25.pt'
+
+WEIGHTS = '/workspace/0822yili.pt'
 
 logger = logging.getLogger('log')
 logger.setLevel(logging.DEBUG)