Skip to content

Instantly share code, notes, and snippets.

View mkraman2's full-sized avatar

Mark mkraman2

  • Urbana, Illinois, USA
View GitHub Profile
@AFAgarap
AFAgarap / autoencoder-full.py
Last active August 17, 2024 08:17
TensorFlow 2.0 implementation for a vanilla autoencoder. Link to tutorial: https://medium.com/@abien.agarap/implementing-an-autoencoder-in-tensorflow-2-0-5e86126e9f7
"""TensorFlow 2.0 implementation of vanilla Autoencoder."""
import numpy as np
import tensorflow as tf
__author__ = "Abien Fred Agarap"
np.random.seed(1)
tf.random.set_seed(1)
batch_size = 128
epochs = 10