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

在生成姿态分类模型时报错 #34

Open
Zaokuai opened this issue Apr 5, 2024 · 0 comments
Open

在生成姿态分类模型时报错 #34

Zaokuai opened this issue Apr 5, 2024 · 0 comments

Comments

@Zaokuai
Copy link

Zaokuai commented Apr 5, 2024

Define a Keras model for pose classification
print(landmarks.shape)结果(None, 17, 2)

ValueError: Exception encountered when calling layer 'flatten' (type Flatten).

Attempt to convert a value (None) with an unsupported type (<class 'NoneType'>) to a Tensor.

Call arguments received by layer 'flatten' (type Flatten):
• inputs=<KerasTensor: shape=(None, 17, 2) dtype=float32 (created by layer 'tf.math.truediv')>
为什么呀?

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

1 participant