ModuleNotFoundError: No module named 'utils'
Closed this issue · 4 comments
Hello all current integrate with TensorFlow Object Counting API stuck in ModuleNotFoundError: No module named 'utils' though the utils folder and API folder under the same folder but still can't be found on Google Colab. Please Help with this #4 task.
backbone.py
from object_detection.utils import label_map_util
Hi, @ahkhalwai how you solve this issue because I run today's notebook it still can't import the utils. Please commit the all version notebook include your current file path. The original from api import object_counting_api
is work. And this from api.object_counting_api import targeted_object_counting, cumulative_object_counting_x_axis, cumulative_object_counting_y_axis, object_counting, object_counting_webcam, single_image_object_counting
isn't a clean style writing.
it's because of path issue so I just change it now u can run @polarbeargo :)
Hi @ahkhalwai, the module can import successfully, thank you! I Modified back to the original code
from utils import backbone from api import object_counting_api
it's still working and a cleaner way import module.