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

Error running code #2

Open
tnl-sfw opened this issue Oct 27, 2021 · 1 comment
Open

Error running code #2

tnl-sfw opened this issue Oct 27, 2021 · 1 comment

Comments

@tnl-sfw
Copy link

tnl-sfw commented Oct 27, 2021

return [layersNames[i[0] - 1] for i in net.getUnconnectedOutLayers()]
IndexError: invalid index to scalar variable.

Above is the error I am getting, kindly assist..

@Balu2311
Copy link

you can try this one
return [layersNames[i - 1] for i in net.getUnconnectedOutLayers()]

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

No branches or pull requests

2 participants