forked from keras-team/keras-io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revise: redactional edits on VQ-VAE example (keras-team#938)
* explain PixelCNN shape Signed-off-by: reinvantveer <rein@vantveer.me> * update metadata, attach extra author Signed-off-by: reinvantveer <rein@vantveer.me> * fix explanation error The code book _is_ optimized during training of the VQVAE first stage and remains unchanged during the PixelCNN training. Signed-off-by: reinvantveer <rein@vantveer.me> * small textual changes Signed-off-by: reinvantveer <rein@vantveer.me> * reword: the encoder outputs sizes equal to the number of filters. Signed-off-by: reinvantveer <rein@vantveer.me> * more concise Signed-off-by: reinvantveer <rein@vantveer.me> * drop redundant parentheses, move comment Signed-off-by: reinvantveer <rein@vantveer.me> * reword comments The purpose of `input_size` is to be able to reshape the quantized output back to its original shape Signed-off-by: reinvantveer <rein@vantveer.me> * add explicative comment Signed-off-by: reinvantveer <rein@vantveer.me> * indent/format codebook loss like commitment loss statement to deflummox the reader Signed-off-by: reinvantveer <rein@vantveer.me> * more concise Signed-off-by: reinvantveer <rein@vantveer.me> * add caveat on relu-activated encoder and decoder layers Signed-off-by: reinvantveer <rein@vantveer.me> * more concise, re-word explanation Signed-off-by: reinvantveer <rein@vantveer.me> * whitespace Signed-off-by: reinvantveer <rein@vantveer.me> * formatting Signed-off-by: reinvantveer <rein@vantveer.me> * re-word, better shape clarification Signed-off-by: reinvantveer <rein@vantveer.me> * revert co-authorship Signed-off-by: reinvantveer <reinvantveer@gmail.com> * Revert "reword comments" This reverts commit a2e2b45. * unfold multi-line comment Co-authored-by: Sayak Paul <spsayakpaul@gmail.com> * fix accidental tabs instead of spaces Signed-off-by: reinvantveer <reinvantveer@gmail.com> * be more helpful: show what should've been formatted differently Signed-off-by: reinvantveer <reinvantveer@gmail.com> * better readable loss calculations whilst keeping style checker happy Signed-off-by: reinvantveer <reinvantveer@gmail.com> * whitespace Signed-off-by: reinvantveer <reinvantveer@gmail.com> * update trade-off description for quantizer output size and code book size Signed-off-by: reinvantveer <reinvantveer@gmail.com> * fold lines for readability Signed-off-by: reinvantveer <reinvantveer@gmail.com> * add contributor notes Signed-off-by: reinvantveer <rein@vantveer.me> * mirror edits from ../vq_vay.py Signed-off-by: reinvantveer <rein@vantveer.me> * update to keras-cv latest version Signed-off-by: reinvantveer <rein@vantveer.me> * update to keras-nlp latest version Signed-off-by: reinvantveer <rein@vantveer.me> * mirror edits from ../vq_vae.py Signed-off-by: reinvantveer <rein@vantveer.me> * fix unescaped double quotes Signed-off-by: reinvantveer <rein@vantveer.me> * fix unescaped double quotes Signed-off-by: reinvantveer <rein@vantveer.me> Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
- Loading branch information
1 parent
a9b0bc5
commit b223b4a
Showing
4 changed files
with
213 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.