814893041ee269d7f9b36940c099f9ad9ecee54d,test/augmenters/test_edges.py,TestCanny,test___str___tuple_as_hysteresis,#TestCanny#,658

Before Change


            colorizer=colorizer
        )
        observed = aug.__str__()
        expected = ("Canny(alpha=%s, hysteresis_thresholds=(%s, %s), "
                    "sobel_kernel_size=%s, colorizer=%s, name=UnnamedCanny, "
                    "deterministic=False)") % (
                        alpha,
                        hysteresis_thresholds[0], hysteresis_thresholds[1],
                        sobel_kernel_size, colorizer)
        assert observed == expected

    def test_pickleable(self):
        aug = iaa.Canny(seed=1)

After Change


        expected = ("Canny(alpha=%s, hysteresis_thresholds=(%s, %s), "
                    "sobel_kernel_size=%s, colorizer=%s, name=UnnamedCanny, "
                    "deterministic=False)") % (
                        str(aug.alpha),
                        str(aug.hysteresis_thresholds[0]),
                        str(aug.hysteresis_thresholds[1]),
                        str(aug.sobel_kernel_size),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: aleju/imgaug
Commit Name: 814893041ee269d7f9b36940c099f9ad9ecee54d
Time: 2020-05-16
Author: kontakt@ajung.name
File Name: test/augmenters/test_edges.py
Class Name: TestCanny
Method Name: test___str___tuple_as_hysteresis


Project Name: NervanaSystems/nlp-architect
Commit Name: d55f51e86b575ba25010c1d44fc3d38f642e0f43
Time: 2018-04-16
Author: daniel.korat@intel.com
File Name: models/bist/inference.py
Class Name: BISTInference
Method Name: run_eval


Project Name: aleju/imgaug
Commit Name: 814893041ee269d7f9b36940c099f9ad9ecee54d
Time: 2020-05-16
Author: kontakt@ajung.name
File Name: test/augmenters/test_edges.py
Class Name: TestCanny
Method Name: test___str___single_value_hysteresis


Project Name: deepmipt/DeepPavlov
Commit Name: 286a864220a00732d382a75051e11877acf13c3f
Time: 2018-01-24
Author: ol.gure@gmail.com
File Name: deeppavlov/core/models/keras_model.py
Class Name: KerasModel
Method Name: load


Project Name: tensorlayer/tensorlayer
Commit Name: 48ca51e099b5b492aba7b260f3895a97aca36e3a
Time: 2019-03-15
Author: 37874862+warshallrho@users.noreply.github.com
File Name: tensorlayer/layers/convolution/expert_deconv.py
Class Name: DeConv3dLayer
Method Name: __init__


Project Name: hanxiao/bert-as-service
Commit Name: 208146e25347b8fe3fe57cd813b5e3880bbe4f9a
Time: 2019-01-16
Author: hanhxiao@tencent.com
File Name: server/bert_serving/server/helper.py
Class Name: BertRequestHandler
Method Name: do_POST