Skip to content

[onnxruntime] - session.run return negative number #8104

@huyhoangle86

Description

@huyhoangle86

Hi, I converted my Scaled YOLOv4 csp pytorch model which trained on custom datasets to Darknet using this function (https://github.com/WongKinYiu/ScaledYOLOv4/blob/yolov4-csp/models/models.py#L647) from that convert Darket weight to ONNX using this repo(https://github.com/linghu8812/tensorrt_inference/tree/master/Yolov4)
Finally I got Scaled YOLOv4 csp ONNX version. Then I started inference the onnx model but when I execute session.run it gives me negative result as in the pic bellow which strongly affected performance of model causes detect bouding boxes to be incorrect.
what do you think?

image

System information

  • OS Platform and Distribution : Linux Ubuntu 20.4
  • ONNX Runtime installed from (source or binary): Source
  • ONNX Runtime version: 1.8
  • Python version: 3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleissues that have not been addressed in a while; categorized by a bot

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions