Issues with Running 'e2e_tensorrt_resnet_example.py' Example
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- machine-learning
Research direction
Start with e2e_tensorrt_resnet_example.py and inspect the calibrator.compute_range() call and the calibration table generation before rerunning the ResNet50 TRT EP example. Done means the example completes calibration and produces an INT8 calibration table that TRT EP can read without the reported errors.
Written by the indexing model from the issue text.
Description
Hello, I am trying to run the end-to-end quantization example for ResNet50 using TRT EP and facing couple of issues. The first problem I am facing is 'compute_range' attribute is not available in 'MinMaxCalibrater'.
When I comment the 'write_calibration_table(calibrator.compute_range())', I get another which is again probably due to the first one as It shows an exception: "Failed to read INT8 calibration table calibration.flatbuffers"
was wondering if somebody have an insight, thanks!
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 414
- Avg merge
- 15h 1m
- Merged PRs (30d)
- 7
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/onnxruntime-inference-examples
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
microsoft/onnxruntime-inference-examples#359 ·
Maintainers usually reply within 1 day
-
Minor: typoOpen
Difficulty 1/5 Under an hour Newbie friendliness 72/100
microsoft/onnxruntime-inference-examples#124 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
microsoft/onnxruntime-inference-examples#559 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
microsoft/onnxruntime-inference-examples#548 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
microsoft/onnxruntime-inference-examples#547 ·
Maintainers usually reply within 1 day
All issues in microsoft/onnxruntime-inference-examples
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
ai_p2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ClickHouse/ClickHouse#123351 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
stillwater-sc/universal#1617 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
keepassxreboot/keepassxc#13737 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Vector35/binaryninja-api#8621 · 1 comment ·
Maintainers usually reply within 2 days