You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: code quality improve and fix key section error (#1476)
* refactor: optimize wandb sync code quality
- Replace fragile class name string matching with isinstance checks
- Simplify redundant if-else branches
- Move numpy import to function top to avoid repeated imports
- Replace print() with swanlab logging system
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* refactor: optimize tensorboard sync code quality
- Add proper None checks for global_step parameter
- Fix numpy import to avoid repeated imports
- Fix NCHW format handling to correctly extract first image
- Add error logging for image conversion failures
- Improve error handling with try-except blocks
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* del wandb summary
* fix section split
* section split unit test
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments