Skip to content

Neptune logs folder is flooded when using track_grad_norm #7711

@alessiobonfiglio

Description

@alessiobonfiglio

🐛 Bug

If you try to log the norms of your gradients during training, they will be saved in the same folder as all the other logs, flooding that folder with a lot of attributes if you are training a model with a lot of weights

To Reproduce

neptune_logger = NeptuneLogger(...)
trainer = pl.Trainer(logger=neptune_logger, track_grad_norm=2, ...)

Expected behavior

I'm not sure what is the best solution to this problem, but I would suggest to put these logs in another folder inside "logs", like "logs/grad_norms" (it can be done as shown here under "namespaces")

Environment

  • PyTorch Version: 1.2.10
  • OS: Linux

Metadata

Metadata

Labels

3rd partyRelated to a 3rd-partybugSomething isn't workinghelp wantedOpen to be worked onloggerRelated to the Loggerspriority: 1Medium priority task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions