Closed GeorgeTouros closed 3 years ago
Running from the terminal I do not face that issue. Is it possible that this problem is connected with some Pycharm interpreter? Could you try running the repo code from the terminal and tell us if the issue remains?
Indeed running $ python ./analyze_visual/analyze_visual.py
doesn't raise import issues. If that's the intended use of the packages, there's no need for further action. If it is intended to be imported as a module in other projects, then perhaps this issue should be addressed. Thanks.
When opening in Pycharm (PyCharm 2020.2.3 (Professional Edition), in Ubuntu 20.04.1 LTS) using the root folder as the root of the project, I get the following import error when running
from analyze_visual.analyze_visual import process_video
:I fixed that (and all the errors that followed after that concerning ModuleNotFoundError) by adding the absolute path to the targeted module like so:
In the analyze_visual.py:
In the detection_utils.py:
I am guessing the same should happen in the analyze_textual files as well.