Skip to content

Conversation

timesler
Copy link
Owner

@timesler timesler commented Sep 8, 2020

No description provided.

@timesler
Copy link
Owner Author

timesler commented Sep 8, 2020

Fixes #60

Copy link

@DavidKatz-il DavidKatz-il left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this project.
I suggest dropping support for python3.5.

def load_labels(self, pretrained):
if pretrained is not 'vggface2':
return None
with open(os.path.join(os.path.dirname(__file__), f'../data/labels-vggface2.csv')) as f:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

f-string is supported only from python>=3.6, Travis CI also runs on python 3.5
So if you want to use f-string you need to drop python 3.5 from CI, and also updateing setup.py.

@j-adamczyk
Copy link

@timesler @DavidKatz-il are there any plans to add this? It would be really useful, since as-is, the Keras VGGFace implementation has this functionality, but facenet does not.

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

Successfully merging this pull request may close these issues.

3 participants