83be1c8d2459483967f70dd0958b4d4fc2684978,imgaug/augmenters/size.py,Resize,_augment_images_by_samples,#Resize#Any#Any#,1360
Before Change
result.append(image_rs)
if input_was_array:
all_same_size = (len(set([image.shape for image in result]) ) == 1)
if all_same_size:
result = np.array(result, dtype=input_dtype)
After Change
result.append(image_rs)
if input_was_array:
all_same_size = (len({image.shape for image in result} ) == 1)
if all_same_size:
result = np.array(result, dtype=input_dtype)
In pattern: SUPERPATTERN
Frequency: 12
Non-data size: 9
Instances Project Name: aleju/imgaug
Commit Name: 83be1c8d2459483967f70dd0958b4d4fc2684978
Time: 2019-11-26
Author: kontakt@ajung.name
File Name: imgaug/augmenters/size.py
Class Name: Resize
Method Name: _augment_images_by_samples
Project Name: tensorflow/cleverhans
Commit Name: 1a7ba226aa8dd15f06cd769b163688eca4f7432d
Time: 2018-10-19
Author: goodfellow@google.com
File Name: examples/multigpu_advtrain/resnet_tf.py
Class Name: ResNetTF
Method Name: build_train_op_from_cost
Project Name: tensorpack/tensorpack
Commit Name: 552c2b3b51c83fc27bdf6df691f1d707e40865f9
Time: 2020-01-09
Author: ppwwyyxx@users.noreply.github.com
File Name: tensorpack/graph_builder/distributed.py
Class Name: DistributedReplicatedBuilder
Method Name: _shadow_model_variables
Project Name: aleju/imgaug
Commit Name: 83be1c8d2459483967f70dd0958b4d4fc2684978
Time: 2019-11-26
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: Affine
Method Name: _augment_images_by_samples
Project Name: HazyResearch/fonduer
Commit Name: 8cc71ca5ffb2912d37fa8c7528bc8388c3429935
Time: 2018-07-06
Author: lwhsiao@stanford.edu
File Name: fonduer/parser/rule_parser.py
Class Name: SpacyTokenizer
Method Name: model_installed
Project Name: brian-team/brian2
Commit Name: 69d286af1811baf67c2eccbd6d6f8329f40aa97f
Time: 2019-04-25
Author: 120003362@sastra.ac.in
File Name: brian2/core/network.py
Class Name: Network
Method Name: run
Project Name: HazyResearch/fonduer
Commit Name: 8cc71ca5ffb2912d37fa8c7528bc8388c3429935
Time: 2018-07-06
Author: lwhsiao@stanford.edu
File Name: fonduer/parser/spacy_parser.py
Class Name: Spacy
Method Name: model_installed
Project Name: comic/grand-challenge.org
Commit Name: 34fb7ae750095c01926f7af255da89ebf741cb61
Time: 2020-11-30
Author: HarmvZ@users.noreply.github.com
File Name: app/grandchallenge/algorithms/tasks.py
Class Name:
Method Name: send_failed_jobs_email
Project Name: aleju/imgaug
Commit Name: 83be1c8d2459483967f70dd0958b4d4fc2684978
Time: 2019-11-26
Author: kontakt@ajung.name
File Name: imgaug/augmenters/size.py
Class Name: KeepSizeByResize
Method Name: _keep_size_images
Project Name: home-assistant/home-assistant
Commit Name: 1fde234c7862de1739668f67d479fdb6f9df1dbe
Time: 2017-06-16
Author: andrey-git@users.noreply.github.com
File Name: homeassistant/components/tellduslive.py
Class Name: TelldusLiveClient
Method Name: _sync
Project Name: tyarkoni/pliers
Commit Name: 7d41ffe33490e1bf5f044f820b64e4c7a43a505a
Time: 2020-04-27
Author: hugovk@users.noreply.github.com
File Name: pliers/stimuli/compound.py
Class Name: CompoundStim
Method Name: get_types
Project Name: aleju/imgaug
Commit Name: 83be1c8d2459483967f70dd0958b4d4fc2684978
Time: 2019-11-26
Author: kontakt@ajung.name
File Name: imgaug/augmenters/size.py
Class Name: CropAndPad
Method Name: _augment_images_by_samples