Jingkang50 / OpenPSG

Benchmarking Panoptic Scene Graph Generation (PSG), ECCV'22
https://psgdataset.org
MIT License
407 stars 68 forks source link

The error code in openpsg/utils/utils.py #117

Open jiuxuanth opened 3 months ago

jiuxuanth commented 3 months ago

I think the code line 402-403 in openpsg/utils/utils.py is error

      if out_file is not None:
            mmcv.imwrite(output_viz_graph, osp.join(out_dir, '{}.jpg'.format(i)))

It myabe

      if out_dir is not None:
            mmcv.imwrite(output_viz_graph, osp.join(out_dir, '{}.jpg'.format(i)))