559342a0aca96ac8bdf3fc0461b37877550539d6,train_uim2im.py,,main_train_imageEncoder,#,287
Before Change
b_images = sess.run(net_gII.outputs, feed_dict={ // debug
t_caption : b_caption,
t_z : b_z})
gen_images = sess.run(net_g2.outputs, feed_dict={
t_caption : b_caption,
t_z : b_z})
print("b_images", np.min(b_images), np.max(b_images))
print("gen_images", np.min(gen_images), np.max(gen_images))
print("[*] Sampling images")
combine_and_save_image_sets([b_images, gen_images], "samples/step2")
After Change
stackD = stackD_256
if is_E_256:
cnn_encoder = cnn_encoder_256
assert is_stackGAN == True
t_caption = tf.placeholder(dtype=tf.int64, shape=[batch_size, None], name="caption_input")
t_z = tf.placeholder(tf.float32, [batch_size, z_dim], name="z_noise")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: zsdonghao/text-to-image
Commit Name: 559342a0aca96ac8bdf3fc0461b37877550539d6
Time: 2017-01-28
Author: dhsig552@163.com
File Name: train_uim2im.py
Class Name:
Method Name: main_train_imageEncoder
Project Name: bethgelab/foolbox
Commit Name: de0c5072b718bbc49edb6cdcf13581fcd9e7b5ad
Time: 2020-02-14
Author: git@jonasrauber.de
File Name: tests/test_attacks.py
Class Name:
Method Name: test_untargeted_attacks
Project Name: tryolabs/luminoth
Commit Name: d9027c454d4765e83b52291bc1621bf4cc0508ee
Time: 2018-04-16
Author: joaquin.alori@gmail.com
File Name: luminoth/train_test.py
Class Name: TrainTest
Method Name: testTrainSave