Ignite: Add W&B logger

Created on 30 Mar 2020  路  7Comments  路  Source: pytorch/ignite

馃殌 Feature

Add logger to W&B similarly to MLflow, Neptune...

enhancement help wanted

Most helpful comment

Finalizing the tests, should have a PR ready later today or tomorrow.

All 7 comments

I might be able to help with this. What should the logger be able to log, at minimum, for the first version?

@fdlm thanks ! Let's start with main wrapper and OutputHandler to log scalars.

@fdlm feel free to ask if you need help to implement it.

I also thought about contributing to this feature, but due to time constraints and still having open issues (sry 馃槄 ) I decided not to, but I would like to put in my 2ct:

  • Due to the high flexibility of wandb I would go for an implementation style like in ml-flow-logger
  • A possible issue would be the different usages of the current step in wandb. Some people just log every step independently and log the epochs extra (flexible) and others log them with the epochs to combine the different logs to a single upload per epoch and to get nice default diagrams

What are your opinions @fdlm ? :)

I agree, and I think the general logging framework of ignite allows for a very flexible solution. Basically, you can attach output handlers to engines at the desired Event, so you get to decide if you log after each step, or after each epoch. Additionally, you can decide which "step" the logs should be attached to by providing the corresponding global_step_transform function.

So I think it's easy to obtain the flexibility you suggest.

@fdlm any updates on the PR ?

Finalizing the tests, should have a PR ready later today or tomorrow.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vfdev-5 picture vfdev-5  路  3Comments

vfdev-5 picture vfdev-5  路  3Comments

Aiden-Jeon picture Aiden-Jeon  路  3Comments

jphdotam picture jphdotam  路  4Comments

alykhantejani picture alykhantejani  路  3Comments