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

ValueError: Expected a symbolic Tensors or a callable for the loss value. Please wrap your loss computation in a zero argument lambda #58

Open
KeithBlackmore opened this issue Sep 15, 2022 · 7 comments

Comments

@KeithBlackmore
Copy link

No description provided.

@bubbliiiing
Copy link
Owner

@willmeiwei
Copy link

image

B导 这是用您的yolov5 keras 然后出现了这个问题 怎么解决啊

@bubbliiiing
Copy link
Owner

什么版本

@willmeiwei
Copy link

3070TI 显卡 tensorflow2.4.0 keras2.4.3 python3.7.5 CUDA11.0 版本都是对的上 但就是一直出问题 B导

@YingZhang6
Copy link

3070TI 显卡 tensorflow2.4.0 keras2.4.3 python3.7.5 CUDA11.0 版本都是对的上 但就是一直出问题 B导
解決了嘛

@bubbliiiing
Copy link
Owner

呃呃。要用tf2的库

@chahahc
Copy link

chahahc commented Jun 24, 2024

在layer.add_loss那里加入lambda

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

5 participants