is that:

creating a mel spectrogram
feed it to the neural net
backprop(and by the way what loss function should I use?)
repeat until the loss decreases

or should I pass in batches or something? i’m super newbie and its my first project, so I dont know how to create an audio dataser and pass in batches… the tutorials that pytorch provides cant help me unfortunately… maybe can someone explain the steps in the comments or provide a good tutorial?