Skip to content

Commit

Permalink
fix: ImageOutputParser dequantization
Browse files Browse the repository at this point in the history
  • Loading branch information
jkbmrz committed Jul 19, 2024
1 parent 79b0675 commit 29c8718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion depthai_nodes/ml/parsers/image_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def run(self):
raise ValueError(
f"Expected 1 output layer, got {len(output_layer_names)}."
)
output = output.getTensor(output_layer_names[0])
output = output.getTensor(output_layer_names[0], dequantize=True)

if len(output.shape) == 4:
image = output[0]
Expand Down

0 comments on commit 29c8718

Please sign in to comment.