You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i meet the error
Traceback (most recent call last):
File "preprocess.py", line 165, in
convert_cityscapes_instance_only(args.datadir, args.outdir)
File "preprocess.py", line 120, in convert_cityscapes_instance_only
objects = cs.instances2dict_with_polygons([seg_fullname],[inst_fullname], verbose=True)
File "/mnt/AIService/FoundationModel/zzn/yjz/data/iSAID_Devkit-master/preprocess/cityscapesScripts/cityscapesscripts/evaluation/instances2dict_with_polygons.py", line 76, in instances2dict_with_polygons
instanceObj = Instance(imgNp,imgNp_seg, instanceId)
TypeError: init() takes 3 positional arguments but 4 were given
Which version of cityscapesScripts is used? It is not written in the yml file.
The text was updated successfully, but these errors were encountered: