Python is zero-based as InnovArul already pointed out, index 94 doesn’t exist. That should solve the index problem:
out_put[i] = model(data_pixel2[i]) which is the same as
out_put[i,:,:] = model(data_pixel2[i,:,:])
since you want to input an array of shape (1,94).
In general, I would recommend looking at a pytorch tutorial regarding the structure optimizer and co., e.g. https://pytorch.org/tutorials/beginner/transfer_learning_tutorial.html 1