Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to concatenate str and PosixPath #10

Open
Adrian-Samoticha opened this issue Nov 5, 2023 · 0 comments · May be fixed by #11
Open

Trying to concatenate str and PosixPath #10

Adrian-Samoticha opened this issue Nov 5, 2023 · 0 comments · May be fixed by #11

Comments

@Adrian-Samoticha
Copy link

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 added a commit to Adrian-Samoticha/EML-NET-Saliency that referenced this issue Nov 5, 2023
@Adrian-Samoticha Adrian-Samoticha linked a pull request Nov 5, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant