Skip to content

Add model loading#44

Merged
abelfodil merged 1 commit intomasterfrom
model-downloader
Oct 22, 2020
Merged

Add model loading#44
abelfodil merged 1 commit intomasterfrom
model-downloader

Conversation

@abelfodil
Copy link
Copy Markdown
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 WilliamHarvey97 and conorato and removed request for conorato October 22, 2020 19:12
Copy link
Copy Markdown
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
Copy Markdown
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