altf4 / altf4/ProtoType

Crash on infinity distance

未關閉
#2 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
7
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

It's hard to reproduce, but sometimes the program will crash at:

dists[i] = sqrt(dists[i]);

inside Classify().

Looks like the dist[0] after the call to the ANN library search function returns infinity for a distance. That or the distance turns to infinity after doing the square root, not sure. Have to look into how this is happening.

I've found that you can reproduce this somewhat regularly by starting a video feed (youtube) and then firing up ProtoType. It ought to crash pretty much right away.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。