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.

What's the usage of `event_to_attr`

See original GitHub issue

❓ Questions/Help/Support

Hi @vfdev-5 ,

I see there is a dict property event_to_attr in State: https://github.com/pytorch/ignite/blob/master/ignite/engine/events.py#L374 And users can register new event-to-attr “mapping” in engines. But I didn’t find the usage of this property, may I know why you defined this dict and what the usage case it is for?

In my simple mind, maybe “register events” and “register attributes” can be 2 independent features of State? I didn’t see the relationship between “event names” and “attributes” of State. I am enabling it in MONAI and Clara workflows, users use custom events and attributes to share data between handlers.

Thanks in advance.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Nic-Macommented, Apr 13, 2021

Hi @vfdev-5 ,

Thanks for your sharing, a very cool online tool. NVIDIA Clara is based on MMAR standard archive and JSON configs, many users are not programmers. https://docs.nvidia.com/clara/tlt-mi/nvmidl/model.html# The new version that is based on MONAI & ignite is not released yet. Maybe we can leverage your application in the future.

Thanks.

1reaction
Nic-Macommented, Apr 13, 2021

Hi @vfdev-5 ,

Thanks for your example, makes sense. As Clara users usually use JSON config to develop DL pipeline, we highlight “event-handlers” as the main approach to bring their own python code. So “register events”, “register attrs”, “end-to-end context dict data” would 3 most important features to construct a flexible program based on ignite handlers.

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Your Official Guide to Party Attire and Dress Codes - Byrdie
Your Official Guide to Party Attire and Dress Codes · Black Tie · White Tie · Formal Or Black-Tie Optional · Cocktail or...
Read more >
Party Attire Glossary - American Stationery
White Tie White tie is ultra formal and used primarily for diplomatic occasions or debutante balls. · Black Tie This is also formal...
Read more >
Attire Guide: Dress Codes from Casual to White Tie Formal
Festive Attire (usually for the holidays) · Women. Cocktail dress; Long dressy skirt and top; Dressy pants outfit or separates; A “little black...
Read more >
Different dress codes for meetings and events | &MEETINGS
Casual The easiest dress code, casual is actually a 'no dress code' dress code. · Smart casual · Business attire · Black tie...
Read more >
Deciphering The Event Dress Code | The His & Her Guide To ...
You should wear a tuxedo or formal dinner jacket with formal pant and formal shirt with formal shoes. If you are unsure of...
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