1
0

4 Ревизии c601e36473 ... 2f6dd5e16b

Автор SHA1 Съобщение Дата
  zeke-chin c601e36473 更新: 版面检测模型 преди 2 години
  zeke-chin c122502c4b Merge branch 'master' of https://gogs.soaringnova.com/sxwl_DL/yl-ocr-layout преди 2 години
  zeke-chin 5059ee4b67 更新: 版面检测模型 преди 2 години
  sxwl_DL ce07b32b5d 更新 'Dockerfile' преди 2 години
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 3 3
      Dockerfile
  2. 1 1
      server.py

+ 3 - 3
Dockerfile

@@ -93,7 +93,7 @@ startretries=0\n\
 redirect_stderr=true\n\
 stdout_logfile=/var/log/be.log\n\
 stdout_logfile_maxbytes=50MB\n\
-environment=CUDA_VISIBLE_DEVICES=0,PYTHONUNBUFFERED=1,PYTHONPATH=/worksapce/yolov5\n\
+environment=CUDA_VISIBLE_DEVICES=0,PYTHONPATH=/worksapce/yolov5\n\
 " > /etc/supervisor/conf.d/be.conf
 
 # envs/py38/
@@ -102,9 +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/8-14_layout_model.pt
+RUN wget --user=sxkj --password='sx' ftp://192.168.199.208/yili2.pt
 
-ADD . /workspace
+Add . /workspace
 EXPOSE 8080
 
 

+ 1 - 1
server.py

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