You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: