// 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"]))