ptrblck thank you for your reply you always help when i am stuck
yes i have error “its not a tensor” some thing like this but first thing i need to understand how to get values from getitem. i cant understand how to get the values from the dataset class and pass to the model i tried my best but after a long time i am at the same where i am start