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

Bug in Perceptron.ipynb #323

Open
comi-zhang opened this issue May 20, 2024 · 1 comment
Open

Bug in Perceptron.ipynb #323

comi-zhang opened this issue May 20, 2024 · 1 comment

Comments

@comi-zhang
Copy link

when I run the code in perceptron.ipynb,I meet the problem below,I didn't fix it yet:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (7, 2) + inhomogeneous part.
Please help
image

@wlz196
Copy link

wlz196 commented May 21, 2024

return snapshots instead of np.array(snapshots)

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