lukas / ml-class

Machine learning lessons and teaching projects designed for engineers
https://www.youtube.com/channel/UCBp3w4DCEC64FZr4k9ROxig
GNU General Public License v2.0
2.36k stars 1.17k forks source link

fixes deprecated APIs in wandb and keras #59

Closed charlesfrye closed 4 years ago

charlesfrye commented 4 years ago

the accessing validation_data from Callback.validation_data has been deprecated.

also, i believe we've changed how we log Media to runs, so run.history.update is no longer the move.

this PR will fix both of these issues, which strike the Images Callback in the autoencoder video.

charlesfrye commented 4 years ago

in the process, also detected and fixed a bug: the images weren't showing up in the media panel, but only for the convolutional autoencoder,.

turns out, that one had a relu activation in the output layer, instead of a softmax, meaning it could output values above 1, and image data is treated differently depending on its range.