Ver código fonte

Revert "chore: 更新表格模型版本"

This reverts commit 6eb95676c92552d3b48da564d03ae4d45d93fddf.
jingze_cheng 9 meses atrás
pai
commit
19d80d03fb
2 arquivos alterados com 1 adições e 2 exclusões
  1. 0 1
      Dockerfile
  2. 1 1
      server.py

+ 0 - 1
Dockerfile

@@ -100,7 +100,6 @@ stdout_logfile_maxbytes=50MB\n\
 " > /etc/supervisor/conf.d/be.conf
 RUN cd / && wget ftp://192.168.199.31/table-paddleclas.tgz && tar xvf table-paddleclas.tgz
 RUN cd / && wget ftp://192.168.199.31/table-paddleocr.tgz && tar xvf table-paddleocr.tgz
-RUN mkdir -p models/table && cd models/table && wget ftp://192.168.199.31/SLANet_ch/20240222/SLANet_ch.zip && unzip SLANet_ch.zip && mv SLANet_ch SLANet_latest && rm SLANet_ch.zip
 
 Add . /workspace
 EXPOSE 8080

+ 1 - 1
server.py

@@ -33,7 +33,7 @@ table_engine = PPStructure(layout=False,
                            use_gpu=True,
                            show_log=True,
                            use_angle_cls=True,
-                           table_model_dir="models/table/SLANet_latest")
+                           table_model_dir="models/table/SLANet_911")
 
 cls_lock = threading.Lock()