-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Support str(datamodule)
#9947
Comments
cc @kingyiusuen |
I could take care of this 👍 |
I am happy to let @Abelarm take it :) |
Hey @Abelarm! You can open a draft PR so we can check your current implementation and discuss it. |
in the spirit of https://docs.python.org/3.4/reference/datamodel.html#object.__repr__
I recommend:
Following these recommendations, @Abelarm 's test expression would become:
|
Hey @carmocca, I believe adding support for str() provides the same inconvenient as using len(). It might be worth to consider a Best, |
The main reason for the revertion of @ananthsub do you think the rest of the points you raised in #5965 (comment) are worth dropping this feature? We would still have the problem of initialization. |
in my pr I already go : instead of = but I am struggling to add "" around keys dict :( |
It seems like this feature is still not implemented. Would it be possible to work in this issue? |
🚀 Feature
Add support
Motivation
It currently prints:
Pitch
It could print the DataLoader structure:
Or the number of batches per dataloader, similar to what was done in #5965
Alternatives
Open to other ideas
If you enjoy Lightning, check out our other projects! ⚡
Metrics: Machine learning metrics for distributed, scalable PyTorch applications.
Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, finetuning and solving problems with deep learning
Bolts: Pretrained SOTA Deep Learning models, callbacks and more for research and production with PyTorch Lightning and PyTorch
Lightning Transformers: Flexible interface for high performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.
The text was updated successfully, but these errors were encountered: