File size: 1,261 Bytes
a00ee36 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
#!/bin/bash
#
# Copyright (c) Facebook, Inc. and its affiliates.
# All rights reserved.
#
# All contributions by Andy Brock:
# Copyright (c) 2019 Andy Brock
#
# MIT License
#
# ImageNet
python make_hdf5.py --resolution 64 --split 'train' --data_root '../../anyshot_longtail/data/Imagenet_all/' --out_path 'mock_data'
python calculate_inception_moments.py --resolution 64 --split 'train' --data_root 'mock_data' --load_in_mem --out_path 'mock_data'
python make_hdf5.py --resolution 64 --split 'val' --data_root '../../anyshot_longtail/data/Imagenet_all/' --out_path 'mock_data'
python calculate_inception_moments.py --resolution 64 --split 'val' --data_root 'mock_data' --load_in_mem --out_path 'mock_data'
# ImageNet-LT
python make_hdf5.py --resolution 64 --split 'train' --data_root '../../anyshot_longtail/data/Imagenet_all/' --out_path 'mock_data' --longtail
python calculate_inception_moments.py --resolution 64 --split 'train' --data_root 'mock_data' --longtail --load_in_mem
python make_hdf5.py --resolution 64 --split 'val' --data_root '../../anyshot_longtail/data/Imagenet_all/' --out_path 'mock_data'
python calculate_inception_moments.py --resolution 64 --split 'val' --data_root 'mock_data' --load_in_mem --out_path 'mock_data' --stratified_moments
|