Open emizzz opened 4 years ago
I think outf path is hardcoded in test method.
from path = "./output/{}/{}/train/weights/netG.pth".format(self.name.lower(), self.opt.dataset)
path = "./output/{}/{}/train/weights/netG.pth".format(self.name.lower(), self.opt.dataset)
to path = "{}/{}/{}/train/weights/netG.pth".format(self.opt.outf, self.name.lower(), self.opt.dataset)
path = "{}/{}/{}/train/weights/netG.pth".format(self.opt.outf, self.name.lower(), self.opt.dataset)
This should fix the bug.
I think outf path is hardcoded in test method.
from
path = "./output/{}/{}/train/weights/netG.pth".format(self.name.lower(), self.opt.dataset)
to
path = "{}/{}/{}/train/weights/netG.pth".format(self.opt.outf, self.name.lower(), self.opt.dataset)
This should fix the bug.