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

PyTorch dataset for COVID19 #26

Open
@AFAgarap

Description

@AFAgarap

Please add my repository that allows users to load a COVID19 dataset (either binary or non-binary) and create a data loader for it in PyTorch.

from pt_datasets import load_dataset, create_dataloader

train_data, test_data = load_dataset(
    "binary_covid",
    preprocessed_covidx=True,
    preprocessing_bsize=256,
    image_size=64
)

# this is ready for use in a PyTorch model training
train_loader = create_dataloader(train_data, batch_size=256)  

The library can be installed via pip: pip install pt-datasets.

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