Script Execution
Preparing a Dataset
Prepare a dataset and upload it to a directory in the operating environment, for example, /home/data/resnet50/imagenet.
Preparing ranktable File
For details about the ranktable file example and file description, see Preparing the Ranktable Resource Configuration File.
Configuring Environment Variables
For details about the environment variable configuration, see Training with a Single Device.
Running Command
python3 /home/official/r1/resnet/imagenet_main.py --batch_size=32 --hooks=ExamplesPerSecondHook --data_dir=/home/data/resnet50/imagenet
Parent topic: Manual Porting Samples (ResNet-50 Models)