export error: export detection model from pytorch to tensorrt
Hello! I'm attempting to export detection model from pytorch to tensorrt, but there is an error below: ImportError: cannot import name 'register_all_modules' from 'mmdet.utils.setup_env' (/xxx/.conda/envs/internimage/lib/python3.7/site-packages/mmdet/utils/setup_env.py)
Is this mmdet version problem?
@angiewlz I meet the same problem, can you save the problem?
It is a problem of the mmdeploy version. I solved it by using the version 0.14.0.
It is a problem of the mmdeploy version. I solved it by using the version 0.14.0.
@goldentimecoolk When I convert the model to tensorrt, I want to infer it with C++ API something was wrong,is the version problem?