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()
|
for summary in result.summary()
|
||||||
],
|
],
|
||||||
"split": "none",
|
"split": "none",
|
||||||
"imageHeight": result.orig_shape[0],
|
"imageHeight": result.orig_img.shape[0],
|
||||||
"imageWidth": result.orig_shape[1],
|
"imageWidth": result.orig_img.shape[1],
|
||||||
"imageDepth": 1
|
"imageDepth": result.orig_img.shape[2]
|
||||||
}
|
}
|
||||||
response.append({
|
response.append({
|
||||||
"image_id":image.image_id,
|
"image_id":image.image_id,
|
||||||
|
Loading…
Reference in New Issue
Block a user