/SpectralNormalizationTensorflowKeras

Spectral Normalization for tf.keras

Primary LanguagePython

SpectralNormalizationTensorflowKeras

Spectral Normalization for tf.keras. This repo contains minor adjustments to the Keras implementation SpectralNormalizationKeras (https://github.com/IShengFang/SpectralNormalizationKeras) to work with tensorflow.keras.

This is useful, because some TF functionalities (like efficient data loading) only work with tf.keras, and tf.keras and keras layers cannot be combined.

Changes

Usage

  • Clone the SpectralNormalizationKeras repository (https://github.com/IShengFang/SpectralNormalizationKeras)
  • Replace SpectralNormalizationKeras/SpectralNormalizationKeras.py with the corresponding file in this repository (SpectralNormalizationTensorflowKeras/SpectralNormalizationKeras.py)