How do I create a dataloader for pytorch from a dataframe?
There are many ways depending on the problem you’re trying to solve. (Including casting to a numpy array and loading. Can you give more detail about what you are trying to do?
Basically i have this classification problem(not images) and a bunch of features in a dataframe. I was wondering how to load that into the pytorch dataloader.
I think this will help to get you up on the basics of going from an nparray into a dataloader and then on to train a model. Let me know if you have questions about it: