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: 4

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: khaotik/DaNet-Tensorflow
Commit Name: f391751e1c6cf648a9cf6b75149bc7686541404b
Time: 2017-08-10
Author: junkkhaotik@gmail.com
File Name: main.py
Class Name:
Method Name: main


Project Name: raghakot/keras-vis
Commit Name: 4e8a831d2a4f4ce8d80c25d43c614255237da71a
Time: 2016-12-24
Author: ragha@outlook.com
File Name: examples/visualize_layer.py
Class Name:
Method Name: visualize_random


Project Name: danforthcenter/plantcv
Commit Name: 4da4eb2efc5aebbdd83fae53fb56c720fffa6127
Time: 2015-08-19
Author: maliadong@gmail.com
File Name: lib/plantcv/analyze_color.py
Class Name:
Method Name: _pseudocolored_image