Add defensive check for config num_labels and id2label (#16709)
* Add defensive check for config num_labels and id2label * Actually check value... * Only warning inside init plus better error message
Showing
Please register or sign in to comment