Accumulating data in a Callback #9910
Unanswered
lvoegtlin
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 1 reply
-
Hey @lvoegtlin , I'm not sure whats going on with the leaked semaphore issues, do you think its a wandb issue? If you're not, try make sure you're on the latest version of 0.12.6 in case its related to any bugs previously squashed in wandb. Also, you can log confusion matrices with W&B's native confusion matrix plots too if you like: https://docs.wandb.ai/guides/track/log/plots#model-evaluation-charts |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hei everyone
I am currently working on a little framework for my experiments and I have a problem I can not solve. I would like to use Callbacks to create confusion matrixes and upload these as pictures as well as .tsv files onto wandb. The problem I have is that when I am training with DDP I get a warning which kills my main process:
UserWarning: resource_tracker: There appear to be 6 leaked semaphore objects to clean up at shutdown
. Here is my code:I think the problem is the two lists
self.preds
andself.targets
but I don't know how I can make them synchronized to avoid concurrency problems.Does somebody have any idea how to solve that?
Thanks in advance :)
Beta Was this translation helpful? Give feedback.
All reactions