"""config.py | |
""" | |
import os | |
import types | |
config = types.SimpleNamespace() | |
# Subdirectory name for saving trained weights and models | |
config.SAVE_DIR = 'saves' | |
# Subdirectory name for saving TensorBoard log files | |
config.LOG_DIR = 'logs' | |
# Default path to the ImageNet TFRecords dataset files | |
config.DEFAULT_DATASET_DIR = '' | |
# Number of parallel workers for generating training/validation data | |
config.NUM_DATA_WORKERS = 128 | |
# Do image data augmentation or not | |
config.DATA_AUGMENTATION = True | |