Outputting the predicted soft labels (likelihood/probability) in run_image_classification.py
Dear authors,Thanks for your amazing work.I am running the AutoModelForImageClassification using PyTorch fromhere. As of now, the outputted eval metrics are:epoch                   =       15.0eval_accuracy      =        0.6eval_loss              =     1.1796eval_runtime        =      0:00:02.68eval_samples_per_second   =      7.447eval_steps_per_second        =      0.745My question ishow can I output the soft labels for each of the predictions in the validation set?For instance in a csv file.I guess I need to change the source code (run_image_classification.py?) but since I am a beginner I would appreciate some help.Thanks a lot!