trsvchn / coco-viewer

Minimalistic COCO Dataset Viewer in Tkinter
MIT License
185 stars 59 forks source link

Bug to fix in default 'info' #55

Closed chenxinfeng4 closed 3 years ago

chenxinfeng4 commented 3 years ago

cocoviewer.py Original, line 542

self.description_status.set(f"{self.data.instances.get('info', '').get('description', '')}")

Should be

self.description_status.set(f"{self.data.instances.get('info', dict()).get('description', '')}")
trsvchn commented 3 years ago

Thanks @chenxinfeng4 !