Setting up system-level requires running system-specific scripts with superuser privileges (or under sudo
).
$ sudo ./setup.ubuntu-18.04.sh
$ sudo ./setup.amazonlinux-2.sh
Setting up user-space dependencies requires running the following script:
$ ./setup.user.sh
Unfortunately, ImageNet can no longer be automatically downloaded.
If you have a copy of ImageNet in e.g. /datasets/dataset-imagenet-ilsvrc2012-val/
, you can register it with CK as follows:
$ ck detect soft:dataset.imagenet.val \
--full_path=/datasets/dataset-imagenet-ilsvrc2012-val/ILSVRC2012_val_00000001.JPEG
Choose one of the two
calibration options with a tag: mlperf.option1
or mlperf.option2
:
$ ck install package --tags=dataset,imagenet,cal,mlperf.option1
$ cp `ck locate env --tags=aux`/val.txt /datasets/dataset-imagenet-ilsvrc2012-val