EML-NET-Saliency icon indicating copy to clipboard operation
EML-NET-Saliency copied to clipboard

Trying to concatenate `str` and `PosixPath`

Open Adrian-Samoticha opened this issue 1 year ago • 0 comments

The following code in the SaliconLoader.py file

imgs = make_trainset(root)
        if not imgs:
            raise(RuntimeError("Found 0 images in folder: " + root + "\n"))

is attempting to concatenate a string to the root variable, which is of type PosixPath. root should be converted to a string first.

Adrian-Samoticha avatar Nov 05 '23 14:11 Adrian-Samoticha