In the Labeling <-> ImgLabeling conversion code in convert.py, temporary paths of the form "./tmp" and os.getcwd() + "/tmp" are used. There are a couple of issues with this:
Inconsistency between those two expressions.
Use of forward slashes might not work as expected on Windows (testing probably needed).
Creation and use of temp folders from the CWD is generally considered bad practice. Better is to use dedicated temp file management functions of the language standard library. In Python this would be the tempfile module.
In the
Labeling <-> ImgLabeling
conversion code inconvert.py
, temporary paths of the form"./tmp"
andos.getcwd() + "/tmp"
are used. There are a couple of issues with this:tempfile
module.