Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directory issue #4

Open
marunava21 opened this issue Sep 5, 2022 · 0 comments
Open

Directory issue #4

marunava21 opened this issue Sep 5, 2022 · 0 comments

Comments

@marunava21
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant