-
Notifications
You must be signed in to change notification settings - Fork 3
[GSK-2424] Improve a bit FFHQ structure #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GSK-2424] Improve a bit FFHQ structure #15
Conversation
976a170 to
3b8a18d
Compare
3b8a18d to
23de9b5
Compare
| self.marks_paths = None | ||
| # If landmarks folder is not none, we should load them | ||
| # Else, the get marks method should be overridden | ||
| if landmarks_dir_path is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
landmarks_dir_path is a mandatory parameter since we're treating only the "supervised" case, this should never be None, actually we should raise an error if it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm doing this to allow for extension as for ffhq (ie to provide another way to load the marks).
Not the cleanest, but this make is easier to extend the class
No description provided.