Skip to content

Directory issue #4

Description

@marunava21

I was trying this on my jupyter notebook and got some directory issue.

def __init__(self, root, set, train = True):

    self.root = root
    self.path_devkit = os.path.join(root, 'CARPK')
    self.path_images = os.path.join(root, 'CARPK', 'Images')
    self.classes = object_categories
    self.train = train
    id_list_file = os.path.join(self.path_devkit, 'ImageSets//{0}.txt'.format(set))
    self.ids = [id_.strip() for id_ in open(id_list_file)]
    print('CARPK dataset set=%s number of classes=%03d  number of images=%d' % (
    set, len(self.classes), len(self.ids)))

have corrected with "//" in my code.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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