def sort_predictions(classes, predictions, bboxes):
    results = []
    for idx, pred in enumerate(predictions):
        results.append({
            "class_idx": np.argmax(pred),
            "class": classes[np.argmax(pred)],
            "prob": pred[np.argmax(pred)],
            "fname": get_region_filename(idx),
            "coords": bboxes[idx],
        })
    results.sort(key=itemgetter("prob"), reverse=True)

    return results
If passed an empty list, :py:obj:`Context.set_client_ca_list` configures the
dataset/ETHPy150Open BradNeuberg/cloudless/src/cloudless/inference/localization.py/sort_predictions--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/test/test_ssl.py/MemoryBIOTests.test_set_empty_ca_list