Skip to content

TensorBoard images logging by datamodules plot() #1598

Answered by adamjstewart
roybenhayun asked this question in Q&A
Discussion options

You must be logged in to vote

should the datamodule extend torchgeo.datamodules base classes or pl.LightningDataModule? (it look both options possible but not clear).

I would recommend extending GeoDataModule or NonGeoDataModule. That's what they're there for.

when is the datamodule plot() called during training, and with which arguments?

It actually isn't called during training, it's only called during validation. But when you run trainer.fit, it runs both the train and validation steps.

is it possible to control the frequency and on which events the datamodule plot() is called?

This would be a cool feature to add, want to open a PR?

how is it possible to get the coordinates or location of a sample when it is …

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by roybenhayun
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@adamjstewart
Comment options

Comment options

You must be logged in to vote
4 replies
@adamjstewart
Comment options

@kaybe20
Comment options

@adamjstewart
Comment options

@kaybe20
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
trainers PyTorch Lightning trainers
3 participants