EML-NET-Saliency
EML-NET-Saliency copied to clipboard
Trying to concatenate `str` and `PosixPath`
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.