44874bed267e008be9bee5d85a4f4040b854d246,examples/images/dcgan.py,,,#,60

Before Change


        // Noise input.
        z = np.random.uniform(-1., 1., size=[1, z_dim])
        // Generate image from noise. Extend to 3 channels for matplot figure.
        temp = [[ii, ii, ii] for ii in list(gen.predict({"input_gen_noise": z})[0])]
        a[j][i].imshow(np.reshape(temp, (28, 28, 3)))
f.show()
plt.draw()

After Change


    g = np.array(gen.predict({"input_gen_noise": z}))
    for j in range(4):
        // Generate image from noise. Extend to 3 channels for matplot figure.
        img = np.reshape(np.repeat(g[j][:, :, np.newaxis], 3, axis=2),
                         newshape=(28, 28, 3))
        a[j][i].imshow(img)

f.show()
plt.draw()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


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


Project Name: lmcinnes/pynndescent
Commit Name: c1c31db36facdf8d557f4dcc69866ac86814b83f
Time: 2020-09-01
Author: leland.mcinnes@gmail.com
File Name: pynndescent/pynndescent_.py
Class Name: NNDescent
Method Name: _init_search_graph


Project Name: lmcinnes/pynndescent
Commit Name: 3452cdbe9f0a964f22c5c4ea6aeb8c026af040d3
Time: 2020-09-07
Author: leland.mcinnes@gmail.com
File Name: pynndescent/pynndescent_.py
Class Name: PyNNDescentTransformer
Method Name: transform


Project Name: eriklindernoren/PyTorch-YOLOv3
Commit Name: 7fffa98b9166a03b4a53fb40202d97b09e8e9036
Time: 2018-05-29
Author: eriklindernoren@gmail.com
File Name: utils/datasets.py
Class Name: ListDataset
Method Name: __getitem__