The PyTorch ImageNet example 2 might be a good starter for training the model from scratch (alternatively, check e.g. FastAI to use the latest training tips). Once this is done, you could use the finetuning tutorial 5 to finetune your model.