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:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top 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 >
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 Free
Top 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
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.
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.