Traceback (most recent call last):
File "", line 1, in
File "/home/reshu/Downloads/labelme2coco-0.1.2/labelme2coco/init.py", line 14, in convert
labelme2coco(labelme_folder, save_json_path)
File "/home/reshu/Downloads/labelme2coco-0.1.2/labelme2coco/labelme2coco.py", line 34, in init
self.save_json()
File "/home/reshu/Downloads/labelme2coco-0.1.2/labelme2coco/labelme2coco.py", line 145, in save_json
self.data_transfer()
File "/home/reshu/Downloads/labelme2coco-0.1.2/labelme2coco/labelme2coco.py", line 50, in data_transfer
self.annotations.append(self.annotation(points, label, num))
File "/home/reshu/Downloads/labelme2coco-0.1.2/labelme2coco/labelme2coco.py", line 84, in annotation
annotation['bbox'] = list(map(float, self.getbbox(points)))
File "/home/reshu/Downloads/labelme2coco-0.1.2/labelme2coco/labelme2coco.py", line 112, in getbbox
mask = self.polygons_to_mask([self.height, self.width], polygons)
File "/home/reshu/Downloads/labelme2coco-0.1.2/labelme2coco/labelme2coco.py", line 134, in polygons_to_mask
mask = np.array(mask, dtype=bool)
TypeError: array() takes 1 positional argument but 2 were given