Sfoglia il codice sorgente

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

This reverts commit a3d856358d53a5455c9f57b3b5960191c045fbad.
jingze_cheng 8 mesi fa
parent
commit
68405e361b
2 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 1
      Dockerfile
  2. 0 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/det && cd models/det && wget ftp://192.168.199.31/det_pse/quad/20240205/det_pse.zip && unzip det_pse.zip -d tmp && mv tmp/det_pse det_pse_quad && rm -r tmp && rm det_pse.zip
 
 Add . /workspace
 EXPOSE 8080

+ 0 - 1
server.py

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