Skip to content

Latest commit

 

History

History

ResNet50-ImageNet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

ImageNet + ResNet 50

This code demonstrates training a ResNet50 model (specifically, the 1.5 variant) from scratch on the ImageNet dataset.

Data

ImageNet is a large dataset (you will need >300GB of free space to process it locally) and so you will currently have to download it yourself. You can do so using the raw data files and then apply the post-procesing steps listed in ImageNet.swift yourself, or you can download a pre-processed archive directly like so:

wget -O /tmp/imagenet.tgz https://REMOTE-SERVER/imagenet/imagenet.tgz

Demo

After doing the above, you will be able to run this demo. Here we implement a standard SGD training loop with decreasing learning rates + the standard imagenet data augmentation process (eg random crops + flips applied to our training data set).