asappresearch / flambe

An ML framework to accelerate research and its path to production.
https://flambe.ai
MIT License
262 stars 29 forks source link

Richer debug mode #167

Open cle-ros opened 4 years ago

cle-ros commented 4 years ago

The debug mode is already very useful in its current state. However, it would be great if it was extended to include the following features:

Possible solutions:

First solution:

Second solution: Add a special character combination (like !g) that allows you to set two values in the config.yaml, where the first is for non-debug mode, and the second is for debug mode. E.g.:

model: !RNN
    hidden_dim: !d [600, 100]
    num_layers: !d [4, 1]

would set the hidden dim to 100 and the num layers to 1 in debug mode.

iitzco-asapp commented 4 years ago
model: !RNN
    hidden_dim: !d [600, 100]
    num_layers: !d [4, 1]

This is an awesome idea