Skip to content

Conversation

@Hartorn
Copy link
Member

@Hartorn Hartorn commented Jan 2, 2024

No description provided.

@Hartorn Hartorn requested a review from rabah-khalek January 2, 2024 11:06
@Hartorn Hartorn self-assigned this Jan 2, 2024
@Hartorn Hartorn force-pushed the feature/gsk-2424-improve-the-hierarchy-structure-see-ffhq branch from 976a170 to 3b8a18d Compare January 2, 2024 11:08
@Hartorn Hartorn changed the title Improve a bit FFHQ structure Jan 2, 2024
@Hartorn Hartorn force-pushed the feature/gsk-2424-improve-the-hierarchy-structure-see-ffhq branch from 3b8a18d to 23de9b5 Compare January 2, 2024 13:57
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:
Copy link
Contributor

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.

Copy link
Member Author

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

@Hartorn Hartorn marked this pull request as ready for review January 3, 2024 17:44
@rabah-khalek rabah-khalek merged commit 882fff1 into main Jan 4, 2024
@rabah-khalek rabah-khalek deleted the feature/gsk-2424-improve-the-hierarchy-structure-see-ffhq branch January 4, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants