Skip to content

NotFoundError: data/mscoco_label_map.pbtxt; No such file or directory #5

@Rohithv07

Description

@Rohithv07

While I do Load lable map
PATH_TO_LABELS = 'data/mscoco_label_map.pbtxt' category_index = label_map_util.create_category_index_from_labelmap(PATH_TO_LABELS, use_display_name=True)

I get a NotFoundError

Iam doing this work in Google Colab

Error

`NotFoundError Traceback (most recent call last)
in ()
1 # List of the strings that is used to add correct label for each box.
2 PATH_TO_LABELS = 'data/mscoco_label_map.pbtxt'
----> 3 category_index = label_map_util.create_category_index_from_labelmap(PATH_TO_LABELS, use_display_name=True)

4 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/lib/io/file_io.py in _preread_check(self)
77 "File isn't open for reading")
78 self._read_buf = _pywrap_file_io.BufferedInputStream(
---> 79 self.__name, 1024 * 512)
80
81 def _prewrite_check(self):

NotFoundError: data/mscoco_label_map.pbtxt; No such file or directory`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions