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

数据维度 #1

Open
Zomun opened this issue Aug 1, 2022 · 2 comments
Open

数据维度 #1

Zomun opened this issue Aug 1, 2022 · 2 comments

Comments

@Zomun
Copy link

Zomun commented Aug 1, 2022

ValueError: Input 0 of layer sequential_2 is incompatible with the layer: expected ndim=3, found ndim=2. Full shape received: (None, 240)

@A-biao96
Copy link

代码有问题,需要修改数据维度

@hetianxiao
Copy link

add the following code before the In[26]
x_train = np.expand_dims(x_train, 2)

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

3 participants