9bc517732374321e907a16a1f9ea2674a8251589,tools/make_transforms_docs.py,,,#,159

Before Change


        raise ValueError(
            "You should provide a valid command: {{make|check}}. Got {command} instead.".format(command=command)
        )
    transforms_info = get_transforms_info()
    image_only_transforms = {transform: info for transform, info in transforms_info.items() if info["image_only"]}
    dual_transforms = {transform: info for transform, info in transforms_info.items() if not info["image_only"]}
    image_only_transforms_links = make_transforms_targets_links(image_only_transforms)
    dual_transforms_table = make_transforms_targets_table(

After Change




if __name__ == "__main__":
    main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: albu/albumentations
Commit Name: 9bc517732374321e907a16a1f9ea2674a8251589
Time: 2020-05-01
Author: dipetm@gmail.com
File Name: tools/make_transforms_docs.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: 6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2
Time: 2018-04-17
Author: DEKHTIARJonathan@users.noreply.github.com
File Name: tests/test_pydocstyle.py
Class Name:
Method Name:


Project Name: facebookresearch/ParlAI
Commit Name: 0b41742b42fe9c5da6c5ea8a8c07633b579dd461
Time: 2020-06-16
Author: vedantpuri13@gmail.com
File Name: parlai/utils/testing.py
Class Name:
Method Name: train_model