fastai / course22p2

course.fast.ai 2022 part 2
https://course.fast.ai/Lessons/part2.html
Apache License 2.0
467 stars 252 forks source link

Missing train attribute in WandBCB #23

Open mnslarcher opened 1 year ago

mnslarcher commented 1 year ago

In notebook 21, the WandBCB assumes the presence of a train attribute in _log, but this is not present. A possible fix would be to replace it with d["train"] == "train".

If what I said is correct and you agree with the solution, I can do a PR to fix the bug.