We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The _flatten_dict function in LightningLoggerBase assumes that dicts will only have string keys. Passing a hparam like {2:3} will break it.
_flatten_dict
LightningLoggerBase
{2:3}
https://colab.research.google.com/drive/1qN5oIzPcH18QSZhAMy9N-YDkeDkc4-fy
Use following BoringModel and post here
It should cast to str before logging
Note: Bugs with code are solved faster ! Colab Notebook should be made public !
Bugs with code
Colab Notebook
public
IDE: Please, use our python bug_report_model.py template.
IDE
Colab Notebook: Please copy and paste the output from our environment collection script (or fill out the checklist below manually).
You can get the script and run it with:
wget https://github.com/raw/PyTorchLightning/pytorch-lightning/master/tests/collect_env_details.py # For security purposes, please check the contents of collect_env_details.py before running it. * CUDA: - GPU: - Tesla T4 - available: True - version: 10.1 * Packages: - numpy: 1.18.5 - pyTorch_debug: False - pyTorch_version: 1.6.0+cu101 - pytorch-lightning: 0.10.0 - tqdm: 4.41.1 * System: - OS: Linux - architecture: - 64bit - - processor: x86_64 - python: 3.6.9 - version: #1 SMP Thu Jul 23 08:00:38 PDT 2020 ### Additional context <!-- Add any other context about the problem here. -->
The text was updated successfully, but these errors were encountered:
@indigoviolet good catch, mind sending a PR with the fix? 🐰
Sorry, something went wrong.
Can i take this issue?
marload
Successfully merging a pull request may close this issue.
🐛 Bug
The
_flatten_dict
function inLightningLoggerBase
assumes that dicts will only have string keys. Passing a hparam like{2:3}
will break it.Please reproduce using the BoringModel
https://colab.research.google.com/drive/1qN5oIzPcH18QSZhAMy9N-YDkeDkc4-fy
To Reproduce
Use following BoringModel and post here
Expected behavior
It should cast to str before logging
Environment
Note:
Bugs with code
are solved faster !Colab Notebook
should be madepublic
!IDE
: Please, use our python bug_report_model.py template.Colab Notebook
: Please copy and paste the output from our environment collection script (or fill out the checklist below manually).You can get the script and run it with:
The text was updated successfully, but these errors were encountered: