How to display image from pytorch dataloader

so i just did my training model, then i want to use the model that i trained back then to classify a single image in inside pytorch dataloader. is that possible?

Yes, you can either iterate through the dataloader or simply access a sample in the dataset via an index e.g., mydataset[0] as it should implement __getitem__.