71afa342221a18100c3b13373b8995d5b85e470c,imgaug/augmenters/geometric.py,AffineCv2,__init__,#AffineCv2#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,1270

Before Change


        else:
            // translate by pixels
            if isinstance(translate_px, dict):
                ia.do_assert("x" in translate_px or "y" in translate_px)
                x = translate_px.get("x", 0)
                y = translate_px.get("y", 0)
                self.translate = (
                    iap.handle_discrete_param(x, "translate_px["x"]", value_range=None, tuple_to_uniform=True,

After Change


                    str(available_orders_str), order))
            self.order = iap.Deterministic(order)
        elif isinstance(order, list):
            valid_types = all(
                [ia.is_single_integer(val) or ia.is_string(val)
                 for val in order])
            assert valid_types, (
                "Expected order list to only contain integers/strings, got "
                "types %s." % (str([type(val) for val in order]),))
            valid_orders = all(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 3

Instances


Project Name: aleju/imgaug
Commit Name: 71afa342221a18100c3b13373b8995d5b85e470c
Time: 2019-08-15
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: AffineCv2
Method Name: __init__


Project Name: aleju/imgaug
Commit Name: 71afa342221a18100c3b13373b8995d5b85e470c
Time: 2019-08-15
Author: kontakt@ajung.name
File Name: imgaug/augmenters/size.py
Class Name:
Method Name: _handle_position_parameter


Project Name: aleju/imgaug
Commit Name: 71afa342221a18100c3b13373b8995d5b85e470c
Time: 2019-08-15
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: PerspectiveTransform
Method Name: __init__


Project Name: OpenNMT/OpenNMT-py
Commit Name: a3eaeb686bb7ed8b1521243111dc2eb771889b2b
Time: 2019-02-11
Author: dylan.flaute@gmail.com
File Name: onmt/translate/random_sampling.py
Class Name: RandomSampling
Method Name: update_finished


Project Name: aleju/imgaug
Commit Name: 71afa342221a18100c3b13373b8995d5b85e470c
Time: 2019-08-15
Author: kontakt@ajung.name
File Name: imgaug/augmentables/batches.py
Class Name: UnnormalizedBatch
Method Name: to_normalized_batch


Project Name: aleju/imgaug
Commit Name: 71afa342221a18100c3b13373b8995d5b85e470c
Time: 2019-08-15
Author: kontakt@ajung.name
File Name: imgaug/augmentables/utils.py
Class Name:
Method Name: project_coords


Project Name: NifTK/NiftyNet
Commit Name: 84eb5a65abc77c0aca4fa8c59e536291c7ee3d81
Time: 2017-11-09
Author: wenqi.li@ucl.ac.uk
File Name: tests/image_reader_test.py
Class Name: ImageReaderTest
Method Name: test_trainable_preprocessing