Skip to content

Instantly share code, notes, and snippets.

View furanzone's full-sized avatar

Furanzu furanzone

View GitHub Profile
@furanzone
furanzone / connection.html
Last active November 17, 2021 07:12
DB Connection API
<!--Heading-->
<div class="container-fluid">
<div class="row">
<div class="col-lg-4">
<div class="card shadow mb-4">
<div class="card-header py-3">
<h6 class="m-0 font-weight-bold text-primary">Database Connection</h6>
<!--Heading-->
<div class="container-fluid">
<div class="row">
<div class="col-lg-4">
<div class="card shadow mb-4">
<div class="card-header py-3">
<h6 class="m-0 font-weight-bold text-primary">Database Connection</h6>
@furanzone
furanzone / CWGAN-GP.py
Last active December 4, 2020 17:46
Conditional WGAN GP
'''
original source: https://github.com/kongyanye/cwgan-gp/blob/master/cwgan_gp.py
'''
from __future__ import print_function, division
from keras.datasets import mnist
from keras.layers import Input, Dense, Reshape, Flatten, Dropout, multiply, Add, Concatenate
from keras.layers import BatchNormalization, Activation, ZeroPadding2D, Embedding, LSTM, MaxPool1D
from keras.layers.advanced_activations import LeakyReLU