d327fcec8b1cf7c96f3b2e33936252ff8f85f3fc,classification_models/resnext/preprocessing.py,,preprocess_input,#,4

Before Change


        x: numpy.ndarray
    
    if size:
        x = resize(x, size)

    return x

After Change


        x: numpy.ndarray
    
    if size:
        x = resize(x, size) * 255

    return x
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 2

Instances


Project Name: qubvel/classification_models
Commit Name: d327fcec8b1cf7c96f3b2e33936252ff8f85f3fc
Time: 2018-06-14
Author: qubvel@gmail.com
File Name: classification_models/resnext/preprocessing.py
Class Name:
Method Name: preprocess_input


Project Name: qubvel/classification_models
Commit Name: d327fcec8b1cf7c96f3b2e33936252ff8f85f3fc
Time: 2018-06-14
Author: qubvel@gmail.com
File Name: classification_models/resnet/preprocessing.py
Class Name:
Method Name: preprocess_input


Project Name: utkuozbulak/pytorch-cnn-visualizations
Commit Name: 33dd4e5b0cc54ff4b4c14730ff9336fbb4dedccd
Time: 2017-11-22
Author: utku.ozbulak@gmail.com
File Name: src/misc_functions.py
Class Name:
Method Name: preprocess_image


Project Name: jantic/DeOldify
Commit Name: 52b802a1664ee848b70e37ecbf6f119d0e24b733
Time: 2019-01-20
Author: jsa169@gmail.com
File Name: fasterai/filters.py
Class Name: BaseFilter
Method Name: _unsquare


Project Name: eriklindernoren/PyTorch-YOLOv3
Commit Name: cc907bc6ab36d62a00cd73a899e336f4875463f1
Time: 2019-04-30
Author: eriklindernoren@live.se
File Name: utils/datasets.py
Class Name: ImageFolder
Method Name: __getitem__