ros-semantic-segmentation icon indicating copy to clipboard operation
ros-semantic-segmentation copied to clipboard

ModuleNotFoundError: No module named 'models'

Open pkbeen opened this issue 2 years ago • 2 comments

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 ?

pkbeen avatar Jul 10 '23 05:07 pkbeen

+1

kursatkomurcu avatar Aug 15 '23 07:08 kursatkomurcu

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.

bhargavab17 avatar Dec 13 '23 06:12 bhargavab17