Open aPonza opened 4 years ago
As you say, I think this is a symptom of a larger problem. This is only possible if there's not a single value stored anywhere in the histogram, as it implies that the maximum value is 0. This shouldn't be possible if the histogram has been updated with a grasp estimate.
@aPonza Hi, I was wondering if you have figured it out? I am facing the same error
q_am_neigh_avg = np.average(q_am_neigh, weights=neighbour_weights, axis=0)
ZeroDivisionError: Weights sum to zero, can't be normalized
HI, @HanwenCao,I encountered the same problem as you. Did you solve it?
@fkendlessly Sorry man I do not have a perfect solution. One thing you could probably try is to bypass it. I think you can do grasping without that. But forgive me, that is all I can remember since it has been a long time.
Thank you, i will try to solve it.
Numpy returns this error:
What would be the ideal solution? I temporarily went with surrounding the call with a try/except:
but: