Skip to content
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

Filesystem #1305

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Filesystem #1305

merged 2 commits into from
Aug 12, 2024

Conversation

kremnik
Copy link
Contributor

@kremnik kremnik commented Aug 12, 2024

Tickets

#1301

What has been done

With this PR, path handling has been updated. In the issue mentioned above, there was a discussion about pathlib versus os.path. Although pathlib offers more advantages, os.path is widely used in this project, so the path handling code was updated using os.path.

How to test

Remove the ~/.deepface folder and run the tests to ensure that all the required models and weights are downloaded and saved correctly.

make lint && make test

Run the tests again to ensure that models and weights are not downloaded again and are loaded correctly.

make test

@serengil serengil merged commit a34358f into serengil:master Aug 12, 2024
2 checks passed
@serengil
Copy link
Owner

Thank you for your contribution

@kremnik kremnik deleted the filesystem branch August 13, 2024 01:30
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.

2 participants