Hey folks ,
I have a dictionary as dataset , I am curious to know how to use this as a data in training Pytorch model ?
Any one can help me please
Hey folks ,
I have a dictionary as dataset , I am curious to know how to use this as a data in training Pytorch model ?
Any one can help me please
You can create a custom Dataset
with a __getitem__
method that access items within the dictionary when given an index. Then you can pass that Dataset
into DataLoader
. Please have a look at the tutorial.