Difference between inputs and targets in context of a custom data block api implementation

Hi, this feels like a really novice question, but I am going through the data block tutorial at https://docs.fast.ai/tutorial.itemlist.html#Creating-a-custom-ItemBase-subclass and I don’t know the difference between an input and a target item?

I’ve been trying to search around for definitions but can’t seem to find any. Sorry seems like an easy one. Would someone be able to point me to an explanation somewhere? Thank you

1 Like

To answer my own question. Inputs are the images (X) into the network and targets the labels. This medium article is a good resource: https://blog.usejournal.com/finding-data-block-nirvana-a-journey-through-the-fastai-data-block-api-c38210537fe4