opendilab / InterFuser

[CoRL 2022] InterFuser: Safety-Enhanced Autonomous Driving Using Interpretable Sensor Fusion Transformer
Apache License 2.0
531 stars 46 forks source link

auto_pilot issue #59

Open Aintky2000 opened 1 year ago

Aintky2000 commented 1 year ago

Hi! When I import auto_pilot, by either "from team_code.auto_pilot import AutoPilot" or "importlib.import_module('auto_pilot')", it outputs: ImportError: Bindings generation error. Submodule name should always start with a parent module name. Parent name: cv2.cv2. Submodule name: cv2 How could I deal with this problem? Thanks

deepcs233 commented 1 year ago

Hi! The issue looks like it was caused by the version/installation of opencv. You may try to uninstall and install opencv. I also find some links which may help you: https://stackoverflow.com/questions/72583781/im-getting-an-import-error-does-anyone-know-the-solution https://forum.opencv.org/t/custom-built-opencv-4-7-0-python-import-problem/11469/4

Aintky2000 commented 1 year ago

Thanks