- Python 3.8
- PyTorch
- Torchvision
cd ".\ResNetImageClassification"python train/main.py --image_dir dataset --model_dir models --epochs 10- Train the modelpython train/main.py --image_dir dataset --model_dir models --warmup_model_dir models --epochs 10- Train the model from a checkpointpython eval_image.py --image_dir ./run --model_dir ./models --output ./predictions.txt- To evaluate images. See the output ofpython eval_image.py --helpfor arguments.