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

Get Problems when use Code! #10

Open
Tian14267 opened this issue Jun 18, 2020 · 1 comment
Open

Get Problems when use Code! #10

Tian14267 opened this issue Jun 18, 2020 · 1 comment

Comments

@Tian14267
Copy link

Hello,guys! I get problems when I run main.py:

Traceback (most recent call last):
  File "main.py", line 16, in <module>
    import calib as calibrator
  File "/home/fffan/fffan_files/Experiment/Pytorch-Model-to-TensorRT-master/calib.py", line 13, in <module>
    class PythonEntropyCalibrator(trt.infer.EntropyCalibrator):
AttributeError: 'module' object has no attribute 'infer'

My tensorrt is 5.1 Does someone know new API in 5.1?

@Tian14267 Tian14267 changed the title Get Two Problems when use Code! Get Problems when use Code! Jun 18, 2020
@Tian14267
Copy link
Author

@modricwang

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

No branches or pull requests

1 participant