• 2022-07-22
    如果标签以数值形式给出,模型推理结果以概率形式给出,则model.compile()函数中metrics参数应选择哪一项?
    A: ‘sparse_categorical_crossentropy’
    B: ‘accuracy’
    C: ‘categorical_accuracy’
    D: ‘sparse_ categorical_accuracy’