change 공유폴더

This commit is contained in:
2026-01-05 18:01:38 +09:00
parent 67205f2a86
commit 154bc11007
3 changed files with 99 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ management:
file:
#sync-root-dir: D:/app/original-images/
sync-root-dir: /app/original-images/
# sync-root-dir: /app/original-images/
sync-root-dir: /kamco-nfs/images/
sync-tmp-dir: ${file.sync-root-dir}/tmp
sync-file-extention: tfw,tif

View File

@@ -0,0 +1,96 @@
# create job
POST /jobs HTTP/1.1
Host: 10.100.0.11:8000
accept: application/json
Content-Type: application/json
Content-Length: 565
{
"pred_requests_areas": {
"input1_year": 2023,
"input2_year": 2024,
"input1_scene_path": "/kamco-nfs/requests/2023_local.geojson",
"input2_scene_path": "/kamco-nfs/requests/2024_local.geojson"
},
"model_version": "v1-2-test",
"cd_model_path": "/data/shared-dir/cd-checkpoints/v5/cdv5-model3/best_changed_fscore_epoch_11.pth",
"cd_model_config": "/data/shared-dir/cd-checkpoints/v5/cdv5-model3/rvsa-base-and-large-unet-mae-kamco.py",
"cls_model_path": "",
"cls_model_version": "v1-2-test",
"cd_model_type": "G1",
"priority": 0
}
//G1
//{
// "pred_requests_areas": {
// "input1_year": "2022",
// "input2_year": "2023",
// "areas": ["34602060", "35615072", "35813026"]
// },
// "model_version": "v1-2-test",
// "cd_model_path": "/data/shared-dir/cd-checkpoints/sample-checkpoints/G1/best_changed_fscore_epoch_53.pth",
// "cd_model_config": "/data/shared-dir/cd-checkpoints/sample-checkpoints/G1/rvsa-base-and-large-unet-mae-kamco.py",
// "cls_model_path": "",
// "cls_model_version": "v1-2-test",
// "cd_model_type": "G1",
// "priority": 0
//}
//G2:
//{
//"pred_requests_areas": {
//"input1_year": "2022",
//"input2_year": "2023",
//"areas": ["34602060", "35615072", "35813026"]
//},
//"model_version": "v1-2-test",
//"cd_model_path": "/data/shared-dir/cd-checkpoints/sample-checkpoints/G2/best_changed_fscore_epoch_40.pth",
//"cd_model_config": "/data/shared-dir/cd-checkpoints/sample-checkpoints/G2/rvsa-base-and-large-unet-mae-kamco.py",
//"cls_model_path": "",
//"cls_model_version": "v1-2-test",
//"cd_model_type": "G2",
//"priority": 0
//}
//
//G3:
//{
//"pred_requests_areas": {
//"input1_year": "2022",
//"input2_year": "2023",
//"areas": ["34602060", "35615072", "35813026"]
//},
//"model_version": "v1-2-test",
//"cd_model_path": "/data/shared-dir/cd-checkpoints/sample-checkpoints/G3/best_changed_fscore_epoch_13.pth",
//"cd_model_config": "/data/shared-dir/cd-checkpoints/sample-checkpoints/G3/rvsa-base-and-large-unet-mae-kamco.py",
//"cls_model_path": "",
//"cls_model_version": "v1-2-test",
//"cd_model_type": "G3",
//"priority": 0
//}
//2. GET BATCH
GET /batches/188 HTTP/1.1
Host: 10.100.0.11: 8000
accept: application/json
Content-Type: application/json
//3-1. get Detail QUEUED
GET /jobs?status=QUEUED&limit=50 HTTP/1.1
Host: 10.100.0.11:8000
//3-2. get Detail PROCESSING
GET /jobs?status=PROCESSING&limit=50 HTTP/1.1
Host: 10.100.0.11: 8000
//3-3. get Detail PROCESSING
GET /jobs?status=COMPLETED&limit=50 HTTP/1.1
Host: 10.100.0.11: 8000