Skip to content

Instantly share code, notes, and snippets.

@yoninachmany
Created November 13, 2019 02:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoninachmany/dc0f8306a65f228a9ccd81936450ca49 to your computer and use it in GitHub Desktop.
Save yoninachmany/dc0f8306a65f228a9ccd81936450ca49 to your computer and use it in GitHub Desktop.
# Configuration related to a specific model.
# For syntax see: https://github.com/toml-lang/toml#table-of-contents
# Model specific common attributes.
[common]
# Use CUDA for GPU acceleration.
cuda = false
# Batch size for training.
batch_size = 2
# Image side size in pixels.
image_size = 512
# Directory where to save checkpoints to during training.
checkpoint = '/tmp/pth/'
# Model specific optimization parameters.
[opt]
# Total number of epochs to train for.
epochs = 10
# Learning rate for the optimizer.
lr = 0.0001
# Loss function name (e.g 'Lovasz', 'mIoU' or 'CrossEntropy')
loss = 'Lovasz'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment