Could you show the code for get_data_loader? From the error TypeError: ‘DataLoader’ object is not subscriptable, it looks like there’s an issue with how you’re using your DataLoader. But it’s difficult to tell from just looking at your code. Could you also state at which line you are getting your errors?