afed3aa787b44d6a7f53079f19e48a5021c8ee0f,examples/data_augmentation.py,,,#,56

Before Change


    images_out = transform(images)

    print(f"Iteration: {i_batch} Image shape: {images.shape}")
    for j in range(images.shape[0]):
        imshow(images[j])
        imshow(images_out[j])

After Change



    // perform the transforms
    images = transform(images)
    labels = transform(labels)

    print(f"Iteration: {i_batch} Image shape: {images.shape}")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: arraiy/torchgeometry
Commit Name: afed3aa787b44d6a7f53079f19e48a5021c8ee0f
Time: 2019-11-11
Author: priba@cvc.uab.cat
File Name: examples/data_augmentation.py
Class Name:
Method Name:


Project Name: instacart/lore
Commit Name: f863a6804ba1f46c3f216c6ba75b642b9b61ad17
Time: 2018-02-01
Author: montanalow@users.noreply.github.com
File Name: lore/pipelines/holdout.py
Class Name: Base
Method Name: encode_x


Project Name: jeongyoonlee/Kaggler
Commit Name: 660d487863cec6e26cdb0184f63a189297577546
Time: 2015-10-11
Author: jeong.@conversionlogic.com
File Name: kaggler/preprocessing/data.py
Class Name: OneHotEncoder
Method Name: fit_transform