It doesn't work

it doesn’t work at line 266

i really don’t know why…

  1. Try without 0 from enumerate(dataloader,0) at 266
  2. Check if you correctly can load pth files at line 263,264
  3. Check if you correctly use transform, dataset, dataloader.
    In my case, I pass dataset instance instead of DL(options.dataroot.transform,‘test’)
    into dataloader instance first paramerter

Welcome to Pytorch forum!

It would be great if you could give a bit more detailed information with your question and the exact error message that you get. Without that, there is less chance that you will receive any valuable direction to solve your issue. Also, a meaningful title doesn’t hurt as well. Happy coding!