KFrank:

Well, this is confusing. In the code you posted, you had the variables
inputs , labels , and imgindex . But now you seem to be calling
them “input_img tensor, output_vector, image_id”. I will guess that
these are the same things.


Yes it is the same thing