Browse Source

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

This reverts commit bfebeb5b50375b236c9e7dea5fe6a234896c95cb.
jingze_cheng 9 months ago
parent
commit
942a79132c
2 changed files with 0 additions and 2 deletions
  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/table/20240223/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()