autoprognosis icon indicating copy to clipboard operation
autoprognosis copied to clipboard

add wandb hook and use it in tutorial 00

Open tztsai opened this issue 1 year ago • 0 comments

Description

I added some changes to the "hooks" folder, including adding a Hook class, renaming DefaultHooks to DefaultHook, and adding WandbHook. The Hooks object now becomes a container of Hooks, initialized by Hooks([<Hook>, ...]), and adding a hook can be easily done by <Hooks>.append(<Hook>).

How has this been tested?

  • I tested it by adding a WandbHook in the hooks of a classification study in Tutorial 0. The metrics were successfully logged in my wandb project.

Checklist

tztsai avatar Apr 09 '23 18:04 tztsai