8000 Add model loading by abelfodil · Pull Request #44 · PolyCortex/polydodo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add model loading #44

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

Merged
merged 1 commit into from
Oct 22, 2020
Merged

Add model loading #44

merged 1 commit into from
Oct 22, 2020

Conversation

abelfodil
Copy link
Contributor

Load model from https://github.com/PolyCortex/polydodo-model

Each time there's a new version of model.onnx, it will be automatically downloaded.

Call load_model once ONNX is ready to be used in codebase.

@abelfodil abelfodil requested review from conorato and WilliamHarvey97 and removed request for conorato October 22, 2020 19:12
Copy link
Contributor
@conorato conorato left a comment

Choose a reason for hiding this comment

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

Nice work!

return sha1.hexdigest()


def load_model():
Copy link
Contributor

Choose a reason for hiding this comment

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

Il se peut qu'on doit importer le modèle et le feature extraction en deux objets différents, comme au niveau de l'entraînement, je ne peux pas les joindre ensemble. On pourrait ajuster ça plus tard, la logique pour le loader sera exactement la même.

@abelfodil abelfodil merged commit 94cf6a6 into master Oct 22, 2020
@abelfodil abelfodil deleted the model-downloader branch October 22, 2020 19:37
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
0