7f6d2c690cee24dc0d2458a09b6c36a8b3370c2a,waifu2x.py,,,#,129
Before Change
if lossless:
args.quality = 100
if icc_profile is not None:
dst.convert(src.mode).save(
outpath, quality=args.quality, lossless=lossless,
icc_profile=icc_profile)
else:
dst.convert(src.mode).save(
outpath, quality=args.quality, lossless=lossless)
six.print_("Saved as \"{}\"".format(outpath))
After Change
lossless = args.quality is None
quality = 100 if lossless else args.quality
icc_profile = src.info.get("icc_profile")
icc_profile = "" if icc_profile is None else icc_profile
dst.convert(src.mode).save(
outpath, quality=quality, lossless=lossless,
icc_profile=icc_profile)
six.print_("Saved as \"{}\"".format(outpath))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: tsurumeso/waifu2x-chainer
Commit Name: 7f6d2c690cee24dc0d2458a09b6c36a8b3370c2a
Time: 2018-11-07
Author: tsurumeso@gmail.com
File Name: waifu2x.py
Class Name:
Method Name:
Project Name: OpenNMT/OpenNMT-py
Commit Name: 1b50e0ce69cff758a6ed4cef847c01e9aa5b3f2d
Time: 2020-01-28
Author: guillaumekln@users.noreply.github.com
File Name: tools/release_model.py
Class Name:
Method Name:
Project Name: keras-team/autokeras
Commit Name: cdbb8791ec13d03fd1fcf2580111db677a3ebc29
Time: 2019-12-15
Author: jhfjhfj1@gmail.com
File Name: autokeras/tuner.py
Class Name: AutoTuner
Method Name: search