Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JeremyCCHsu/tf-vaegan
/ functions
Functions
29 in github.com/JeremyCCHsu/tf-vaegan
⨍
Functions
29
◇
Types & classes
1
↓ 3 callers
Function
find_files
Recursively finds all files matching the pattern.
iohandler/datareader.py:6
↓ 3 callers
Function
fit_the_shape
(x_, shape)
validate.py:59
↓ 2 callers
Method
decode
(self, z, y=None, tanh=False)
model/vaegan.py:264
↓ 2 callers
Function
img_reader
output: [batch_size, h, w, c] images, scaled to [0., 1.] ***[BUG] shuffle=False doesn't seem to work correctly!!! *****
iohandler/datareader.py:16
↓ 2 callers
Function
save
Save a model to logdir/model.ckpt-[step]
util/wrapper.py:6
↓ 1 callers
Function
GaussianKLD
Kullback-Leibler divergence of two Gaussians *Assuming that each dimension is independent mu: mean lv: log variance
util/layer.py:16
↓ 1 callers
Function
GaussianLogDensity
(x, mu, log_var, name='GaussianLogDensity')
util/layer.py:6
↓ 1 callers
Function
GaussianSampleLayer
(z_mu, z_lv, name='GaussianSampleLayer')
util/layer.py:32
↓ 1 callers
Function
SingleFileReader
(filename, shape, rtype='tanh', ext='jpg')
validate.py:33
↓ 1 callers
Method
_sanity_check
(self)
model/vaegan.py:30
↓ 1 callers
Method
encode
(self, x)
model/vaegan.py:260
↓ 1 callers
Function
get_default_logdir
(logdir_root)
train.py:129
↓ 1 callers
Function
get_optimization_ops
[TODO] Although most of the trainer structures are the same, I think we have to use different training scripts for VAE- and DC-GAN
train.py:94
↓ 1 callers
Method
interpolate
Interpolation from the latent space
model/vaegan.py:267
↓ 1 callers
Function
load
Try to load model form a dir (search for the newest checkpoint)
util/wrapper.py:20
↓ 1 callers
Method
loss
(self, x)
model/vaegan.py:159
↓ 1 callers
Function
main
()
validate.py:69
↓ 1 callers
Function
main
Note: 1. The input is rescaled to [-1, 1] (img_reader: rtype)
train.py:163
↓ 1 callers
Method
sample
Generate fake samples given `z` if z is not given or is an `int`, this fcn generates (z=128) samples
model/vaegan.py:247
↓ 1 callers
Function
validate_log_dirs
(args)
train.py:133
↓ 1 callers
Function
visualize_interpolation
(sess, x_interp, N=8, filename=None)
train.py:74
↓ 1 callers
Function
visualize_random_samples
(sess, xh, n=8, filename=None)
train.py:56
Method
L2norm
(x)
model/vaegan.py:274
Method
__init__
(self, arch, is_training=False)
model/vaegan.py:14
Method
_discriminator
(self, x, is_training)
model/vaegan.py:115
Method
_encoder
(self, x, is_training)
model/vaegan.py:37
Method
_generator
(self, z, is_training)
model/vaegan.py:73
Function
lrelu
Leaky ReLU
util/layer.py:39
Method
mean_sigmoid_cross_entropy_with_logits
truth: 0. or 1.
model/vaegan.py:160