How do I use my own datasets?

How do I use my own datasets (jpg) to training and verification, how to make? Who can share their own code or process to tell me how to do it? Thank you

Hi,

I won’t share any code, as it’s worth learning yourself, but this page has everything you need.

For reference, you’ll need to:

  1. Read the data --> store it in a tensor
  2. Create a target tensor
  3. Create a TensorDataset()
  4. Create a DataLoader()

OK,thank you very much。That’s what I need。

1 Like