/IPFSPytorchDataset

An IPFS Dataset class for PyTorch to load an IPFS node and categorize images based on sub folders

Primary LanguageJupyter Notebook

PyTorch IPFS Dataset

IPFSDataset(Dataset)

See the jupyter notepad to see how it works and how it interacts with a standard pytorch DataLoader

You need to be running a local IPFS daemon or passing a valid IPFS url to the dataset (ipfs daemon)

Using IPFS directories in a similar manner as the pytorch ImageLoader to allow directories to represent categories