From 7ea6db5d4f062b5a04a52a6b2ba3a39e9b8b4634 Mon Sep 17 00:00:00 2001 From: zhouchengrong Date: Wed, 20 Mar 2024 12:04:25 +0800 Subject: [PATCH] 1 --- Dockerfile | 2 +- app/core/config.py | 2 +- requirements.txt | Bin 848 -> 398 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1795331..c1131cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN pip install --upgrade pip RUN pip install -r requirements.txt RUN pip install gunicorn RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 -RUN pip install mmcv==1.4.2 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html +RUN #pip install mmcv==1.4.2 -f https://download.openmmlab.com/mmcv/dist/cu117/torch1.13/index.html WORKDIR /app COPY . . diff --git a/app/core/config.py b/app/core/config.py index ec021bb..32cc176 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -50,4 +50,4 @@ MINIO_SECRET = 'uKTZT3x7C43WvPN9QTc99DiRkwddWZrG9Uh3JVlR' MINIO_SECURE = True # input = 'preprocess_img/input_x2' # 这个值需要被函数参数覆盖 # output = '/path/to/output' # 这个值将被函数参数覆盖 -LOGS_PATH = "logs/errors.log" +LOGS_PATH = "app/logs/errors.log" diff --git a/requirements.txt b/requirements.txt index 99ab7d327ec5e353fd95960ebf813d4db3424397..9f1d0e3f022791fc980f7e94e4d41244474b3416 100644 GIT binary patch delta 129 zcmcb>*2k>>|6dwIB117l36Lyc$YkJU;9@9cCl62l-P;|=3C4%*ZM58K?!g+Kznxz=PdVa#5$&vkbAYkvZCy30 zHQ*!oMBN2{zN)3{ii&U6!)|#Bh)NmpRjE=)b07gHqI*QC0nu`x?LlZ<;}HXYU^GiHQ|+THHuSJ*uWQP!g-%X>>2f z2>-TsoumrpG0|83&OSkut+(3q1JUZdNu4&GpLl`>Fzq^ec(4qnX0FW4v3Op!(abg1 nxn;?;(|x7!lI_PHud}r^VI|HApMOCGMX#AlRNp}7YO%wAe+!Mp