Error using `add_hparams`
See original GitHub issueAttributeError: ‘EnumTypeWrapper’ object has no attribute ‘STATUS_SUCCESS’
Attempted to use add_hparams when compiled from source. TensorboardX version 1.8+9b9933a
Minimal runnable code to reproduce the behavior
from tensorboardX import SummaryWriter
writer = SummaryWriter()
writer.add_hparams({'lr': 1e-5, 'bsize': 20, 'n_hidden': 100}, {'accuracy': 0, 'loss': 0})
...
Expected behavior I followed the example file here
Screenshots If applicable, add screenshots to help explain your problem.
Environment
What is the result of
pip list|grep -E "torch|proto|tensor"
Python environment Which version of python are you using? Did you use Andconda or Virtualenv? No
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Hyperparameter tuning with Hparam dashboard throwing error
I had the same error and I fixed it by turning my train and test values from pandas dataframe to numpy array. So...
Read more >valueerror: dataframe.dtypes for data must be int, float, bool or ...
Now, I want to construct a feature importance using Shap Values. However, when running the code it errors out at: ValueError: DataFrame.dtypes for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I solved this issue (occuring in PyCharm as well as terminal) by updating to protobuf 3.9.1 (which will not help @RSKothari but might help @tmac1997 )
Thank you for sorting the problem out! @RSKothari @clefourrier