dd113cd2b817d65790781dff7e99f17cf0b865d0,python/src/vmaf/core/quality_runner.py,VmafossExecQualityRunner,_get_quality_scores,#VmafossExecQualityRunner#Any#,697

Before Change



        // check if vmafossexec returned additional info about the bootstrapped models
        // bootstrap_model_list_str is a comma-separated string of model names
        if "bootstrap_model_list_str" in root.findall("params")[0].attrib:
            bootstrap_model_list = []
            vmaf_params = root.findall("params")[0].attrib
            bootstrap_model_list_str = vmaf_params["bootstrap_model_list_str"]

After Change


            bootstrap_model_list = bootstrap_model_list_str.split(",") if len(bootstrap_model_list_str) > 0 else []
            features += bootstrap_model_list

        feature_scores = [[] for _ in features]

        for frame in root.findall("frames/frame"):
            scores.append(float(frame.attrib["vmaf"]))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: Netflix/vmaf
Commit Name: dd113cd2b817d65790781dff7e99f17cf0b865d0
Time: 2019-10-05
Author: zli@netflix.com
File Name: python/src/vmaf/core/quality_runner.py
Class Name: VmafossExecQualityRunner
Method Name: _get_quality_scores


Project Name: comic/grand-challenge.org
Commit Name: e357e1dbcdf36eb12be0bc5043e0a098f94a833a
Time: 2017-05-09
Author: jamesmeakin@gmail.com
File Name: django/comicsite/templatetags/comic_templatetags.py
Class Name: comic_URLNode
Method Name: render


Project Name: has2k1/plotnine
Commit Name: 465d854b02acf2266b77eb62a6069cba4dc71d4a
Time: 2013-12-10
Author: jasc@gmx.net
File Name: ggplot/ggplot.py
Class Name: ggplot
Method Name: __init__