45e0e9f57cd6aa0253ef45ecd9044dbdb329c8f0,examples/images/dcgan.py,,,#,67

Before Change


    pred_dict = {"input_generator": [np.random.uniform(0., 1., size=[100])]}
    g = gen_net.predict(pred_dict)[0]
    temp = [[ii, ii, ii] for ii in list(g)]
    a[0][i].imshow(np.reshape(temp, (28, 28, 3)))
    temp = [[ii, ii, ii] for ii in list(g)]
    a[1][i].imshow(np.reshape(temp, (28, 28, 3)))
f.show()
plt.draw()

After Change


    loss_gan = gan_net.fit_batch({"input_stacked": noise},
                                 {"target_stacked": Y_batch})

    if i % 10 == 0:
        print("Loss Disc", loss_disc)
        print("Loss GAN", loss_gan)

f, a = plt.subplots(1, 10)
for i in range(10):
    pred_dict = {"input_generator": [np.random.uniform(-1., 1., size=[100])]}
    g = gen_net.predict(pred_dict)[0]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tflearn/tflearn
Commit Name: 45e0e9f57cd6aa0253ef45ecd9044dbdb329c8f0
Time: 2017-05-22
Author: aymeric.damien@gmail.com
File Name: examples/images/dcgan.py
Class Name:
Method Name:


Project Name: sepandhaghighi/pycm
Commit Name: 7f66c313ba21c0d1c805e336051fe8c2db36aa28
Time: 2020-10-01
Author: sabouri.sadra@gmail.com
File Name: pycm/pycm_obj.py
Class Name: ConfusionMatrix
Method Name: plot


Project Name: interactiveaudiolab/nussl
Commit Name: 67416766b03c0e93f864fcb58509b14aefd93e41
Time: 2019-06-20
Author: prem@u.northwestern.edu
File Name: nussl/separation/clustering/clustering_separation_base.py
Class Name: ClusteringSeparationBase
Method Name: plot