Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

fix hardcoded output path #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emizzz
Copy link

@emizzz emizzz commented Oct 8, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant