Pictures of fruits and vegatables

I have bunch of pictures in a folder. My garden of various fruits and vegetables. There are close to 1k pictures I accumulated over the years. I would like to use Pytorch to identify 1) if its a fruit or vegatable 2) the vegatable or fruit.

How can I achieve this?

Refer image classification docs

https://medium.com/bitgrit-data-science-publication/building-an-image-classification-model-with-pytorch-from-scratch-f10452073212

https://pytorch.org/tutorials/beginner/blitz/cifar10_tutorial.html