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

Args global variable not accessible in preperation/createLabels.py in process_folder function #14

Open
pvbhanuteja opened this issue Feb 28, 2021 · 2 comments

Comments

@pvbhanuteja
Copy link

args variable that is inaccessible in preperation/createLabels.py in process_folder function I'm working on semantic segmentation so for now I hardcoded for myself for id_type, color and instance.

@Arpitrf
Copy link

Arpitrf commented Apr 23, 2021

I am facing the same issue. To hardcode, add the following to the process_folder function:

 # parser = ArgumentParser()

 # parser.add_argument('--datadir', default="")
 # parser.add_argument('--id-type', default='level3Id')
 # parser.add_argument('--color', type=bool, default=False)
 # parser.add_argument('--instance', type=bool, default=False)
 # parser.add_argument('--panoptic', type=bool, default=False)
 # parser.add_argument('--semisup_da', type=bool, default=False)
 # parser.add_argument('--unsup_da', type=bool, default=False)
 # parser.add_argument('--weaksup_da', type=bool, default=False)
 # parser.add_argument('--num-workers', type=int, default=10)

 # args = parser.parse_args()

@pvbhanuteja
Copy link
Author

for now I hardcoded for myself for id_type, color and instance. Yup did that just wanted to report the bug.

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

2 participants