Skip to content

Streaming PyTorch DataLoader that utilizes data present on the ColabFit Exchange

Notifications You must be signed in to change notification settings

colabfit/cf-dataloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

CF-DataLoader

A PyTorch-based DataLoader that streams data directly from the ColabFit Exchange.

Installation

pip install git+https://github.com/colabfit/cf-dataloader.git

Example

from cf_dataloader import ColabFitStreamingDataset, ColabFitStreamingDataLoader
ds = ColabFitStreamingDataset(dataset_list=["DS_q4h7q8q0fnve_0"]) # DS ID obtained from online or CLI query
dl = ColabFitStreamingDataLoader(ds, graph_converter=None, batch_size=64, num_workers=8) 

About

Streaming PyTorch DataLoader that utilizes data present on the ColabFit Exchange

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages