This commit is contained in:
zhouchengrong
2024-03-20 12:04:25 +08:00
parent e5f08720f0
commit 7ea6db5d4f
3 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ RUN pip install --upgrade pip
RUN pip install -r requirements.txt RUN pip install -r requirements.txt
RUN pip install gunicorn RUN pip install gunicorn
RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 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 WORKDIR /app
COPY . . COPY . .

View File

@@ -50,4 +50,4 @@ MINIO_SECRET = 'uKTZT3x7C43WvPN9QTc99DiRkwddWZrG9Uh3JVlR'
MINIO_SECURE = True MINIO_SECURE = True
# input = 'preprocess_img/input_x2' # 这个值需要被函数参数覆盖 # input = 'preprocess_img/input_x2' # 这个值需要被函数参数覆盖
# output = '/path/to/output' # 这个值将被函数参数覆盖 # output = '/path/to/output' # 这个值将被函数参数覆盖
LOGS_PATH = "logs/errors.log" LOGS_PATH = "app/logs/errors.log"

Binary file not shown.