Code Monkey home page Code Monkey logo

fastmonai's People

Contributors

alu042 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fastmonai's Issues

Error running the notebook / paper

Hi,

I've got an error running the notebook of the paper (https://colab.research.google.com/github/MMIV-ML/fastMONAI/blob/master/paper/paper.ipynb).

File ["<ipython-input-59-e08cef295d53>"](https://localhost:8080/#), line 2
    store_variables(pkl_fn='models/vars.pkl', size, reorder, resample)
                                                                     ^
SyntaxError: positional argument follows keyword argument

I think the line should be

store_variables('models/vars.pkl', size, reorder, resample)

(I'm reviewing at openjournals/joss-reviews#5297)

Incompatible with PyTorch CUDA 12

I'm trying to use fastMONAI with some H100 GPUs on an HPC. I've installed PyTorch following their instructions and am using CUDA v12. However, after installing fastMONAI via pip, it seems to revert the PyTorch CUDA version to 11.7.

med_img_reader not finding DICOM in sub-directories

I am using a directory path that contains sub-directories with DICOM files. An error message is produced that no DICOM files could be found. Please add capabilities to find all DICOM files in all sub-directories.

Multimodal medical images as x input?

Thanks for the hard work putting this together! It has been really useful for me.

Is it possible to provide a tuple of images to a datablock as the x value?

I have:

dblock = MedDataBlock(
    blocks=(ImageTupleBlock(cls=MedImage), MedMaskBlock),
    splitter=RandomSplitter(),
    get_x=ColReader('qsm_files'),
    get_y=ColReader('seg_files'),
    item_tfms=[
        PadOrCrop([80, 80, 80]),
        RandomFlip(axes=("LR",)),
        RandomFlip(axes=("AP",)),
        RandomAffine(degrees=(90, 90, 90)),
        ZNormalization(),
    ],
    reorder=requires_resampling,
    resample=suggested_voxelsize
)

But instead of using get_x=ColReader('qsm_files'), I want to retrieve multiple medical images to learn from multimodal data. I do not see any example of this and am unsure how to approach it. Do you have any advice?

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.