All Projects → thisisiron → spectral_normalization-tf2

thisisiron / spectral_normalization-tf2

Licence: MIT license
🌈 Spectral Normalization implemented as Tensorflow 2

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to spectral normalization-tf2

pcdarts-tf2
PC-DARTS (PC-DARTS: Partial Channel Connections for Memory-Efficient Differentiable Architecture Search, published in ICLR 2020) implemented in Tensorflow 2.0+. This is an unofficial implementation.
Stars: ✭ 25 (-30.56%)
Mutual labels:  tf2, tensorflow2
transformer-tensorflow2.0
transformer in tensorflow 2.0
Stars: ✭ 53 (+47.22%)
Mutual labels:  tf2, tensorflow2
muzero
A clean implementation of MuZero and AlphaZero following the AlphaZero General framework. Train and Pit both algorithms against each other, and investigate reliability of learned MuZero MDP models.
Stars: ✭ 126 (+250%)
Mutual labels:  tf2, tensorflow2
tf-faster-rcnn
Tensorflow 2 Faster-RCNN implementation from scratch supporting to the batch processing with MobileNetV2 and VGG16 backbones
Stars: ✭ 88 (+144.44%)
Mutual labels:  tf2, tensorflow2
manning tf2 in action
The official code repository for "TensorFlow in Action" by Manning.
Stars: ✭ 61 (+69.44%)
Mutual labels:  tf2, tensorflow2
keras efficientnet v2
self defined efficientnetV2 according to official version. Including converted ImageNet/21K/21k-ft1k weights.
Stars: ✭ 56 (+55.56%)
Mutual labels:  tf2, tensorflow2
CRNN.tf2
Convolutional Recurrent Neural Network(CRNN) for End-to-End Text Recognition - TensorFlow 2
Stars: ✭ 131 (+263.89%)
Mutual labels:  tf2, tensorflow2
TF2-GAN
🐳 GAN implemented as Tensorflow 2.X
Stars: ✭ 61 (+69.44%)
Mutual labels:  tf2, tensorflow2
Awesome-Tensorflow2
基于Tensorflow2开发的优秀扩展包及项目
Stars: ✭ 45 (+25%)
Mutual labels:  tf2, tensorflow2
steam community market
Get item prices and volumes from the Steam Community Market using Python 3
Stars: ✭ 24 (-33.33%)
Mutual labels:  tf2
UnitBox
UnitBox: An Advanced Object Detection Network
Stars: ✭ 23 (-36.11%)
Mutual labels:  tensorflow2
face-mask-detection-tf2
A face mask detection using ssd with simplified Mobilenet and RFB or Pelee in Tensorflow 2.1. Training on your own dataset. Can be converted to kmodel and run on the edge device of k210
Stars: ✭ 72 (+100%)
Mutual labels:  tensorflow2
minGPT-TF
A minimal TF2 re-implementation of the OpenAI GPT training
Stars: ✭ 36 (+0%)
Mutual labels:  tf2
QuantumSpeech-QCNN
IEEE ICASSP 21 - Quantum Convolution Neural Networks for Speech Processing and Automatic Speech Recognition
Stars: ✭ 71 (+97.22%)
Mutual labels:  tensorflow2
Tensorflow2-ObjectDetectionAPI-Colab-Hands-On
Tensorflow2 Object Detection APIのハンズオン用資料です(Hands-on documentation for the Tensorflow2 Object Detection API)
Stars: ✭ 33 (-8.33%)
Mutual labels:  tensorflow2
tensorflow-tabnet
Improved TabNet for TensorFlow
Stars: ✭ 49 (+36.11%)
Mutual labels:  tensorflow2
VSH-Rewrite
Popular Versus Saxton Hale gamemode remade from scratch
Stars: ✭ 30 (-16.67%)
Mutual labels:  tf2
labml
🔎 Monitor deep learning model training and hardware usage from your mobile phone 📱
Stars: ✭ 1,213 (+3269.44%)
Mutual labels:  tensorflow2
mae-scalable-vision-learners
A TensorFlow 2.x implementation of Masked Autoencoders Are Scalable Vision Learners
Stars: ✭ 54 (+50%)
Mutual labels:  tensorflow2
node-ssq
A Node.JS library for sending Source Server Queries (SSQ) to source engine powered game servers (TF2, L4D, etc.).
Stars: ✭ 20 (-44.44%)
Mutual labels:  tf2

Spectral Normalization TF2

Spectral Normalization implemented as Tensorflow 2.0

TODO

  • Convert simple conv2d model to DCGAN model

Run Test Code

This is currently a test code using a simple image classification model.

python main.py

Algorithm

How to use

  1. Sequential API
from sn import SpectralNormalization

model = models.Sequential()
model.add(SpectralNormalization(layers.Conv2D(32, (3, 3), activation='relu')))
...
  1. Functional API
from sn import SpectralNormalization

inputs = layers.Input(shape=(28,28,1))
x = SpectralNormalization(layers.Conv2D(32, (3, 3), activation='relu'))(inputs)
...
  1. Custom Layer Method
from sn import SpectralNormalization

class CustomLayer(tf.keras.layers.Layer):
    def __init__(self):
        self.conv2DSN = SpectralNormalization(layers.Conv2D(32, (3, 3), activation='relu'))
        ...
    
    def call(self, inputs):
        x = self.conv2DSN(inputs)
        ...

Rerference

Spectral Normalization for Generative Adversarial Networks

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].