去扭曲测试

This commit is contained in:
2024-08-21 16:43:51 +08:00
parent add29504e2
commit 9764755936
3 changed files with 35 additions and 0 deletions

23
docker-compose-dewarp.yml Normal file
View File

@@ -0,0 +1,23 @@
x-env:
&template
image: fcb_photo_review:2.0.0
restart: always
services:
photo_dewarp:
<<: *template
build:
context: .
container_name: photo_dewarp
hostname: photo_dewarp
volumes:
- ./log:/app/log
- ./model:/app/model
command: [ "dewarp_test.py" ]
deploy:
resources:
reservations:
devices:
- device_ids: [ "1" ]
capabilities: [ "gpu" ]
driver: "nvidia"