Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image segmentation cpu bugfix and onnx output update #1783

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

demoulinv
Copy link
Contributor

Description

This PR modifies the access to the output of the onnx model using the dedicated 'At' accessor in image segmentation. This is a safer method than accessing with a pointer because onnx does not guarantee that the allocated memory is contiguous.

It also fixes a bug when using the cpu mode by avoiding freeing cuda memory in this case.

Features list

Implementation remarks

@cbentejac cbentejac force-pushed the bugfix/imageSegmentationOnnxOutput branch from c3e9a47 to 596e032 Compare December 2, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant