Open pvbhanuteja opened 3 years ago
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()
for now I hardcoded for myself for id_type, color and instance.
Yup did that just wanted to report the bug.
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.