dheera / ros-semantic-segmentation

ROS package for semantic segmentation
105 stars 22 forks source link

ModuleNotFoundError: No module named 'models' #7

Open pkbeen opened 1 year ago

pkbeen commented 1 year ago

Hello. I'm a student who study semantic segmentation using ros. I have a question while using your github. I meet this error. Can you help me? Screenshot from 2023-07-10 14-38-29 ?

kursatkomurcu commented 1 year ago

+1

bhargavab17 commented 10 months ago

The issue is related to the Python path.

One easy solution to handle this in your case would be

Adding the directory to the Python path using

import sys sys.path.append("PATH_TO_YOUR_PACKAGE")

even though it is not recommended as your would not be able to be run in different environments.