-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experiment tracking with W&B #49
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like. Might want a little more pointer to w+b doc's stuff.
# value should refer to features section of this config | ||
features: phenomenological | ||
# our "labels" are floats [0., 0.25, 0.5, 0.75, 1.] | ||
threshold: 0.7 | ||
# balance ratio for the prevalent class. leave as null to use all available data | ||
threshold: 0.9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, good question :) No idea, but I don't think it matters that much.
time_tag = datetime.datetime.utcnow().strftime("%Y%m%d_%H%M%S") | ||
|
||
if not kwargs.get("test", False): | ||
wandb.login(key=self.config["wandb"]["token"]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A link to where to documentation for where to grab one's token?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
W&B's wizard will actually print out the url if you're running it the first time from the command line. Added anyways.
@mcoughlin mind merging once the CI is green? |
😍 |
@dmitryduev I merge now? |
@mcoughlin actually, let me add one more thing (I don't track test acc/precision/etc). I'll ping you. |
@mcoughlin should be ready for re-review. |
Beautiful. |
This PR adds basic experiment tracking with Weights & Biases for DNN training.