Pytorch : model training issue

IndexError: index out of range in self … i am getting this error repeatedly

Could you post an executable code snippet to reproduce this error as well as the full error message?