diff options
author | Benjamin Fiske <bffiske@gmail.com> | 2022-05-07 16:30:57 -0400 |
---|---|---|
committer | Benjamin Fiske <bffiske@gmail.com> | 2022-05-07 16:30:57 -0400 |
commit | cf704e000e901ee911fd4b9527bb745d13d345b6 (patch) | |
tree | 0998c218a785079c0906edd1dd8b3b8fb0b45073 | |
parent | 5948a231b89e4dfd6acfd35de821fbe085ec4114 (diff) |
tf.squeeze
-rw-r--r-- | __pycache__/hyperparameters.cpython-38.pyc | bin | 324 -> 369 bytes | |||
-rw-r--r-- | __pycache__/losses.cpython-38.pyc | bin | 4601 -> 4646 bytes | |||
-rw-r--r-- | main.py | 2 |
3 files changed, 1 insertions, 1 deletions
diff --git a/__pycache__/hyperparameters.cpython-38.pyc b/__pycache__/hyperparameters.cpython-38.pyc Binary files differindex e42d48d1..5fc87730 100644 --- a/__pycache__/hyperparameters.cpython-38.pyc +++ b/__pycache__/hyperparameters.cpython-38.pyc diff --git a/__pycache__/losses.cpython-38.pyc b/__pycache__/losses.cpython-38.pyc Binary files differindex 07bf7a33..703088c9 100644 --- a/__pycache__/losses.cpython-38.pyc +++ b/__pycache__/losses.cpython-38.pyc @@ -41,7 +41,7 @@ def train(model): for i in range(hp.num_epochs): if i % 100 == 0: fn = f"checkpoint-images/img-epoch{i}" - save_image(fn, model.x) + save_image(fn, tf.squeeze(model.x)) print('batch', i) model.train_step() |