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

confusion in the loss function #1

Open
Flora279 opened this issue Feb 15, 2022 · 1 comment
Open

confusion in the loss function #1

Flora279 opened this issue Feb 15, 2022 · 1 comment

Comments

@Flora279
Copy link

Hi,
I am going through your code, however, I cannot understand this line of code:
loss1 = args.weight_diff * K.mean(model1.get_layer('prediction').output)
why we are taking derivative wrt this loss? Shouldn't it be the M0 (diff in the predictions) in the paper?

Thanks.

@lizhenghui918
Copy link

嗨, 我正在查看您的代码,但是,我无法理解这行代码: loss1 = args.weight_diff * K.mean(model1.get_layer('prediction').output) 为什么我们要对这种损失进行导数?不应该是论文中的 M0(预测中的差异)吗?

谢谢。

你好,我目前也是在看这段代码,请问你的代码能够运行吗?我的代码一直在driving-modle文件报错,请问您能够帮助我吗,非常感谢
Hello, I'm also looking at this code at present. Can your code run? My code has been reporting errors in the driving mode file. Can you help me

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