You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
Tian14267
changed the title
Get Two Problems when use Code!
Get Problems when use Code!
Jun 18, 2020
Hello,guys! I get problems when I run main.py:
My tensorrt is 5.1 Does someone know new API in 5.1?
The text was updated successfully, but these errors were encountered: