26e1dae51af40afda6ae321a530ce45053520e19,keras_retinanet/bin/debug.py,,run,#Any#Any#Any#,190

Before Change



        // write to file and advance if no-gui selected
        if args.no_gui:
            cv2.imwrite(os.path.splitext(os.path.basename(generator.image_path(i)))[0] + "_debug.png", image)
            i += 1
            if i == generator.size():  // have written all images
                break

After Change



        // write to file and advance if no-gui selected
        if args.no_gui:
            outpath = os.path.join(
                args.output_dir, // prepend output directory
                os.path.relpath(generator.image_path(i), start=commonpath), //strip common path
            )
            outpath = os.path.join(
                os.path.dirname(outpath),
                os.path.splitext(os.path.basename(outpath))[0] + "_debug.png"
            )
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: fizyr/keras-retinanet
Commit Name: 26e1dae51af40afda6ae321a530ce45053520e19
Time: 2019-09-23
Author: jnmaloof@ucdavis.edu
File Name: keras_retinanet/bin/debug.py
Class Name:
Method Name: run


Project Name: haotianteng/Chiron
Commit Name: cc90cfc15715f842b98016eab40f66feff8c0e14
Time: 2018-11-24
Author: havens.teng@gmail.com
File Name: chiron/utils/extract_sig_ref.py
Class Name:
Method Name: extract


Project Name: haotianteng/Chiron
Commit Name: 583deefa3a0d9d320293ea3194433956269a4a63
Time: 2018-05-07
Author: havens.teng@gmail.com
File Name: chiron/utils/extract_sig_ref.py
Class Name:
Method Name: extract