def METHOD_NAME(self, inputs, result):
    # postprocess output of predictor
    im_results = result['output']
    batch_res = []
    for res in im_results:
        res = res.tolist()
        attr_res = []
        color_res_str = "Color: "
        type_res_str = "Type: "
        color_idx = np.argmax(res[:10])
        type_idx = np.argmax(res[10:])
        if res[color_idx] >= self.color_threshold:
            color_res_str += self.color_list[color_idx]
        else:
            color_res_str += "Unknown"
        attr_res.append(color_res_str)
        if res[type_idx + 10] >= self.type_threshold:
            type_res_str += self.type_list[type_idx]
        else:
            type_res_str += "Unknown"
        attr_res.append(type_res_str)
        batch_res.append(attr_res)
    result = {'output': batch_res}
    return result