Code Monkey home page Code Monkey logo

augmenteddataloader's Introduction

Hey there ๐Ÿ‘‹

๐Ÿ‘ฉโ€๐Ÿ’ป About Me

I'm passionate about programming, AI, cyber security and robotics.

- ๐Ÿ”ญ Iโ€™m working as Biomedical Engineer @ Institute of Biomedical Engineering (IBT) - Karlsruhe Institute of Technology (KIT)
- ๐Ÿ“š B.Sc. in Computer Science & Biomedical Engineering - M.Sc. in Biomedical Engineering

๐Ÿ›  Languages and tools

โŒจ๏ธ Languages

python logo javascript logo typescript logo java logo arduino logo cplusplus logo

๐ŸŒ Web

react logo nodejs logo spring logo flask logo

โ˜๏ธ Cloud

azure logo amazonwebservices logo docker logo kubernetes logo

๐Ÿค– AI and data analytics

pytorch logo tensorflow logo pandas logo

๐Ÿ“€ Database

mongodb logo mysql logo

๐Ÿ‘จโ€๐Ÿ’ป Other

git logo vscode logo eclipseide logo ubuntu logo linux logo

๐Ÿ“Š Stats

stats graph languages graph streak graph

augmenteddataloader's People

Contributors

ciroraggio avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

augmenteddataloader's Issues

Benchmark

Sviluppare 3 benchmark con 0, 5, 10 trasformazioni in augmentation sia per gpu che cpu

Debug path

Prima di rilasciare il batch, se richiesto dall'utente, salvare per ogni immagine del batch la fetta centrale nel path specificato dall'utente

ImageToImageDataset

Hi,

I am encountering an issue with the ImageToImageDataset class in the MONAI library, specifically regarding the shape of loaded images.

  1. Modification of __len__ Method:
    First, I noticed that I had to modify the __len__ method to:
    '''
    def len(self) -> int:
    return len(self.first_type_image_files) '''

Second, Issue with Image Loading:

The main concern arises with the loading of images in the getitem method. The class uses the LoadImage transformer to load the images, and I added print statements to check the shape of the loaded images. However, instead of getting a 3D tensor shape, which I expected for medical images (like MRI or CT scans), the loaded images are in 2D shape.
Here is the output I observed:

Loaded MR Image Shape: torch.Size([244, 204])
Loaded CT Image Shape: torch.Size([244, 204])
Loaded Mask Image Shape: torch.Size([244, 204])

I am trying to load and process 3D medical images, but the dataset seems to be returning 2D slices or incorrectly shaped tensors.

Could you please advise on how to resolve this issue? Is there a specific parameter or method I should use to ensure the images are correctly loaded as 3D tensors?

Thank you for your assistance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.