Update modeling_internimage.py

#2

Added the output_attentions, output_hidden_states and return_dict variables without trying to break the code. The previous implementation also had dataleak during validation.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment