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

Fetch model feature #15

Merged
merged 15 commits into from
Aug 14, 2020
Merged

Fetch model feature #15

merged 15 commits into from
Aug 14, 2020

Conversation

nbigaouette
Copy link
Owner

Add a cargo feature to automatically download pre-trained model from ONNX Zoo.

HTTP Get is done using ureq, which is small but sync. This will block the thread until the whole model file is streamed to disk. Those models can be quite large.

@codecov-commenter
Copy link

codecov-commenter commented Aug 14, 2020

Codecov Report

Merging #15 into master will decrease coverage by 2.78%.
The diff coverage is 4.44%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #15      +/-   ##
==========================================
- Coverage   25.44%   22.66%   -2.79%     
==========================================
  Files           6        8       +2     
  Lines         334      375      +41     
==========================================
  Hits           85       85              
- Misses        249      290      +41     
Impacted Files Coverage Δ
onnxruntime/src/download.rs 0.00% <0.00%> (ø)
onnxruntime/src/download/vision.rs 0.00% <0.00%> (ø)
onnxruntime/src/error.rs 57.14% <ø> (ø)
onnxruntime/src/lib.rs 50.00% <ø> (ø)
onnxruntime/src/session.rs 0.00% <0.00%> (ø)
onnxruntime/src/env.rs 82.92% <100.00%> (+3.85%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8e40f52...c0eaccb. Read the comment docs.

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