Closed Z1Wu closed 2 years ago
Thanks for your PR.
Before merging your PR, there are still some issues to consider:
plt.show
instead of savefig
: (https://github.com/lartpang/Py-SOD-VOS-EvalToolkit/pull/1/files#diff-516f388f4e623cb3ed4d19e382bd99a16a89c984ff899e4deeb2539b0621ac2cR109-R114) Saving directly is convenient, but it loses the more flexible customization ability to save through the displayed window. In the window, we can adjust the spacing between sub figures more intuitively, and support exporting files as more formats (such as pdf format, which can be easily inserted into TeX documents). So I hope you can consider this part commit carefully.pre-commit
tool to format code before committing it, so that we can maintain the consistency of the format. (This made me realize that I should add a Github Action tool to automate the formatting code, but this does not solve the current problem. :disappointed: )./utils/
as a common function? In this way, all the files (rgb cod, rgb sod, rgbd sod, rgb cosod: https://github.com/lartpang/Py-SOD-VOS-EvalToolkit/blob/master/configs/__init__.py#L2-L5) can be used.The saving function that comes with the drawing window of matplotlib is very convenient.
demo: