question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected keyword argument 'experiment_name' in Neptune logger

See original GitHub issue

🐛 Bug description

I instantiate the logger as

npt_logger = npt_module.NeptuneLogger(
        api_token=api_token, 
        project_name="vfdev-5/my_project", 
        experiment_name="test",
        params=config
)

and I get the error

TypeError: create_experiment() got an unexpected keyword argument 'experiment_name'

@jakubczakon any ideas why it happens ?

Environment

  • PyTorch Version (e.g., 1.4): 1.4
  • Ignite Version (e.g., 0.3.0): 0.4.0.dev20200418

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
piterclcommented, Apr 21, 2020

Hi @vfdev-5, yes, this is a part of the reasoning. Other reason is that the mechanism of scrolling text logs in our UI is actually farily complex and relies on each log being a single line.

We might change that in the future, however, if we get enough push from our users 😃

0reactions
vfdev-5commented, Apr 21, 2020

@pitercl well, maybe it is not appropriate place to ask, but can we log somehow stdout with Neptune and avoid using log_text ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

NeptuneLogger — PyTorch Lightning 1.8.5.post0 documentation
experiment ["your/metadata/structure"].log(metadata) is specific to Neptune and it extends logger capabilities. Specifically, it allows you to log various types ...
Read more >
Neptune logger: "TypeError: log_text() got an unexpected keyword ...
Bug. If you want to manually log a text on neptune.ai through its logger invoking neptune_logger.log_text("name", "value"). you'll end up with this error...
Read more >
Lightning - neptune.ai documentation
If Neptune can't find your project name or API token ... The Neptune logger accepts keyword arguments, which you can use to supply...
Read more >
PyTorch Lightning 1.5 Released - Exxact Corporation
Once a Lightning experiment unexpectedly exits, a temporary checkpoint is saved that contains the exact state of all loops and the model.
Read more >
CHANGELOG.md · zhiqwang/pytorch-lightning - Gitee.com
Add support for named parameter groups in LearningRateMonitor (#7987) ... Fixed Neptune logger creating multiple experiments when GPUs > 1 (#3256) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found