Fix: Detection 레이블 객체 파싱에서 imageDepth 수정
This commit is contained in:
parent
635c2a2033
commit
8335f6d15d
@ -61,9 +61,9 @@ def predict(request: PredictRequest):
|
||||
for summary in result.summary()
|
||||
],
|
||||
"split": "none",
|
||||
"imageHeight": result.orig_shape[0],
|
||||
"imageWidth": result.orig_shape[1],
|
||||
"imageDepth": 1
|
||||
"imageHeight": result.orig_img.shape[0],
|
||||
"imageWidth": result.orig_img.shape[1],
|
||||
"imageDepth": result.orig_img.shape[2]
|
||||
}
|
||||
response.append({
|
||||
"image_id":image.image_id,
|
||||
|
Loading…
Reference in New Issue
Block a user