RAISR icon indicating copy to clipboard operation
RAISR copied to clipboard

crash when run the demo

Open idoit opened this issue 8 years ago • 0 comments

Hi,I use the python test.py,and get the message like this : RAISR/hashTable.py:26: RuntimeWarning: divide by zero encountered in double_scalars strength = np.floor(strength/(1/Qstrenth)-1)

Traceback (most recent call last): File "test.py", line 27, in [angle,strenth,coherence] = hashTable(patch,Qangle,Qstrenth,Qcoherence) File "/RAISR/hashTable.py", line 29, in hashTable return int(angle),int(strength),int(coherence) OverflowError: cannot convert float infinity to integer

I find the reason, because I use python2.7

idoit avatar Jun 08 '17 02:06 idoit