Skip to content

Fix: rectify bugs of not toggling the flag when an inner change occurs in a container#19

Merged
Ahzyuan merged 1 commit intov0.1.xfrom
bugfix/spy-container-change
Mar 14, 2025
Merged

Fix: rectify bugs of not toggling the flag when an inner change occurs in a container#19
Ahzyuan merged 1 commit intov0.1.xfrom
bugfix/spy-container-change

Conversation

@Ahzyuan
Copy link
Copy Markdown
Member

@Ahzyuan Ahzyuan commented Mar 14, 2025

📋 Summary

Important

  • This PR fixes a bug.
  • This PR adds something new.
  • This PR is not a code change (e.g. README, typos, ...)
  • This PR has been tested.

📝 Changes

Details
  • torchmeter/config.py:
    • add CallbackList and CallbackSet classes to spy the inner change of a list or a set.
    • fix the bug that config_file can not be reset to None.
    • change the config representation style: used a hierarchical structure and specific data types to make it clearer.

@Ahzyuan Ahzyuan self-assigned this Mar 14, 2025
@Ahzyuan Ahzyuan merged commit e38a80e into v0.1.x Mar 14, 2025
@Ahzyuan Ahzyuan deleted the bugfix/spy-container-change branch March 14, 2025 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant