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

Update 15_DDPM.ipynb #21

Open faisito opened 1 year ago

faisito commented 1 year ago

(1) Breaking change added super().init() to DDPMCB so that self.n_inp in TrainCB gets initialized (TrainCB changed after the lesson and this change makes DDPMCB consistent with the new version of TrainCB)

(2) Non-breaking change deleted reference to global variable 'learn' because 'model' is already being passed to the method as a parameter, so, no need to refer to the global model

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB