Content-Length: 258672 | pFad | http://github.com/Jess-Co-Del/medset

A4 GitHub - Jess-Co-Del/medset: A library that facilitates mix and match, preparation and train/test split of several Medical datasets
Skip to content

A library that facilitates mix and match, preparation and train/test split of several Medical datasets

Notifications You must be signed in to change notification settings

Jess-Co-Del/medset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Medloader project

A dataloader to prepare and load any Medical image dataset, prepared to deal with .nii or DICOM formats.

Usage:

from medloader.api import DatasetEngine
from medloader.app import config as config
from medloader.app.logger import init_logger

logger = init_logger()

cfg = config.Configuration().get("datasets")

engine = DatasetEngine(
    logger=logger,
    config=cfg,
).go(mode="config")

batch_size = 8
from torch.utils.data import DataLoader

train_dl = DataLoader(
    dataset=engine[0],
    batch_size=batch_size,
    pin_memory=True,
    shuffle=False,
    #sampler=DistributedSampler(dataset)
)

Extending your own medical dataset:

from .medicaldataloader import MedicalDataloader

class NEWDataloader(MedicalDataloader):

    def dataset_clipping_preparation: # Optional
    def image_data_stats:
    def transform_processor: 

About

A library that facilitates mix and match, preparation and train/test split of several Medical datasets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/Jess-Co-Del/medset

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy