41ef0bf4ece3daf13a02b14c79eb7ddebb42bc0c,facegen/generate.py,,generate_from_yaml,#,418

Before Change



    print("Generating images...")

    gen = model.predict(inputs, batch_size=batch_size)

    print("Writing to "{}"...".format(output_dir))

    for i in range(0, gen.shape[0]):

After Change


    for idx in tqdm(range(0, num_images, batch_size)):

        batch = {
            "identity":    inputs["identity"]   [idx:idx+batch_size,:],
            "emotion":     inputs["emotion"]    [idx:idx+batch_size,:],
            "orientation": inputs["orientation"][idx:idx+batch_size,:],
        }
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: zo7/deconvfaces
Commit Name: 41ef0bf4ece3daf13a02b14c79eb7ddebb42bc0c
Time: 2016-09-04
Author: zo7.flynn@gmail.com
File Name: facegen/generate.py
Class Name:
Method Name: generate_from_yaml


Project Name: scikit-learn-contrib/DESlib
Commit Name: e25ce99878d2b5c151ed8fde92276fbb2cb338b2
Time: 2018-03-28
Author: rafaelmenelau@gmail.com
File Name: deslib/des/knora_u.py
Class Name: KNORAU
Method Name: select


Project Name: scikit-learn-contrib/DESlib
Commit Name: e25ce99878d2b5c151ed8fde92276fbb2cb338b2
Time: 2018-03-28
Author: rafaelmenelau@gmail.com
File Name: deslib/des/knop.py
Class Name: KNOP
Method Name: select


Project Name: donlnz/nonconformist
Commit Name: 4de3a41cd1286ee4ea31c9f804a8403a141b11fe
Time: 2015-04-24
Author: henrik.linusson@gmail.com
File Name: nonconformist/evaluation.py
Class Name:
Method Name: reg_n_correct