5cde6c452a2dd04bf9359d5f9b5418fc74131b39,test.py,,parse_args,#,19

Before Change


                      default=None,
                      help="Output folder.")

  return parser.parse_args()


def make_output_fn(fn,upscale_factor,output_dir=None):
  path,ext = osp.splitext(fn)

After Change


        default=[],
        help="List of images to upsample")

    parser.add_argument(
        "-e", "--eval", action="store_true", help="List of images to upsample")

    parser.add_argument(
        "-u",
        "--upscale-factor",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: fperazzi/proSR
Commit Name: 5cde6c452a2dd04bf9359d5f9b5418fc74131b39
Time: 2018-07-26
Author: fperazzi@adobe.com
File Name: test.py
Class Name:
Method Name: parse_args


Project Name: danforthcenter/plantcv
Commit Name: 86ac6632c5c84d1b5a0018d395542d649d27ca6a
Time: 2017-05-03
Author: noahfahlgren@gmail.com
File Name: plantcv-train.py
Class Name:
Method Name: options


Project Name: sony/nnabla-examples
Commit Name: 337a691ce42b3d9b43ccbf57b20a2830944cb45c
Time: 2020-03-20
Author: Takuya.Narihira@sony.com
File Name: imagenet-classification/infer.py
Class Name:
Method Name: get_args


Project Name: home-assistant/home-assistant
Commit Name: ff470c8ffeedad5741f18e67f0c254135b102c02
Time: 2015-08-31
Author: rmkraus@gmail.com
File Name: homeassistant/__main__.py
Class Name:
Method Name: get_arguments