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

@demoulinv demoulinv added this to the 3.3.0 milestone Nov 22, 2024
@cbentejac cbentejac force-pushed the bugfix/imageSegmentationOnnxOutput branch from c3e9a47 to 596e032 Compare December 2, 2024 17:56
@cbentejac cbentejac force-pushed the bugfix/imageSegmentationOnnxOutput branch from 596e032 to 0fc2633 Compare December 23, 2024 16:48
@cbentejac cbentejac force-pushed the bugfix/imageSegmentationOnnxOutput branch from 0fc2633 to 77a5760 Compare January 10, 2025 11:00
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