Skip to content
This repository was archived by the owner on May 11, 2024. It is now read-only.
This repository was archived by the owner on May 11, 2024. It is now read-only.

Train error for any dataset asides Tumor #34

@b3r-prog

Description

@b3r-prog

Hello

I am trying to train on the differrent task. While the braintumor Task01 training works, the others dont. I get this error below

File ".../medical-decathlon/2D/dataloader.py", line 204, in generate_batch_from_files img = img[:,:,:,0] # Just take FLAIR channel (channel 0) IndexError: too many indices for array: array is 3-dimensional, but 4 were indexed

Is there an argument to specify or has this issue been noticed before?

@ravi9 @tonyreina

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions