Skip to content

Update 15_DDPM.ipynb#21

Open
faisito wants to merge 1 commit intofastai:masterfrom
faisito:patch-5
Open

Update 15_DDPM.ipynb#21
faisito wants to merge 1 commit intofastai:masterfrom
faisito:patch-5

Conversation

@faisito
Copy link
Copy Markdown
Contributor

@faisito faisito commented Mar 15, 2023

(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

(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
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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