You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was dealing with frequent 'randomly' occurring Nan results for the basis function evaluations when using the CPU, C++ curve_eval.cpp -- curve_pre_compute_basis(...) function which is used in curve_eval.pyhere (just for those new to this repo and facing the same issue). This would would then cause Nan in the curve evaluation and destroy any torch optimization loop.
I was able to solve this issue by removing the eps values in the .find_span() function here:
I was dealing with frequent 'randomly' occurring
Nan
results for the basis function evaluations when using the CPU, C++ curve_eval.cpp -- curve_pre_compute_basis(...) function which is used incurve_eval.py
here (just for those new to this repo and facing the same issue). This would would then causeNan
in the curve evaluation and destroy any torch optimization loop.I was able to solve this issue by removing the
eps
values in the .find_span() function here:NURBSDiff/NURBSDiff/csrc/utils.cpp
Line 20 in 1493c16
The text was updated successfully, but these errors were encountered: