Skip to content

Mg/features loadimage #398

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

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

Mg/features loadimage #398

wants to merge 5 commits into from

Conversation

mirjagranfors
Copy link
Collaborator

Made LoadImage compatible with torch, and updated the documetation and unittesting.

When I tried loading a list, I got an error from the line
while ndim and image.ndim < ndim:,

so I changed it to
if not isinstance(image, list) and ndim:
while image.ndim < ndim:

@mirjagranfors mirjagranfors requested a review from JChonpca July 28, 2025 07:18
Copy link
Collaborator

@JChonpca JChonpca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants