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

计算xxset regression的小问题 #4

Open
Sonata165 opened this issue Jan 15, 2021 · 1 comment
Open

计算xxset regression的小问题 #4

Sonata165 opened this issue Jan 15, 2021 · 1 comment

Comments

@Sonata165
Copy link

utils/utilities.py文件第550行
我觉得这里计算的逻辑是,对于两个相邻的xxset,它们连线中点所在帧以及该帧后面的帧,应该计算这些帧到后一个xxset的距离。所以
output[t] = step * (t - locts[i + 1]) - input[locts[i]]
或许应该改为
output[t] = step * (t - locts[i + 1]) - input[locts[i+1]]
是这样吗?

@qiuqiangkong
Copy link
Collaborator

Hi 你好!仔细阅读了代码后,发现你是对的!确实应该改为output[t] = step * (t - locts[i + 1]) - input[locts[i+1]]。

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