Skip to content

Instantly share code, notes, and snippets.

View afspies's full-sized avatar
🐐

Alex Spies afspies

🐐
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@afspies
afspies / configlib.py
Last active January 17, 2021 17:39 — forked from nuric/configlib.py
"""Configuration library for experiments.
Based on version by Nuri C. https://gist.github.com/nuric/e9df5e38c34c804ec6c298ffca7e2d9b
-- USAGE --
In Header:
import config.configlib as configlib
from config.configlib import config as C
parser = configlib.add_parser("File Spec Config")
parser.add_argument("--mlp_size", default=128, type=int, help="Size of Output MLP")