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 tried to run the image analysis on 64-bit Windows. When the process goes to decode(), the overflow error arises. I changed
map_negative_range = np.vectorize(lambda element: float(element) if element <= Q/2 else element - Q)
to
map_negative_range = np.vectorize(lambda element: float(element) if element <= Q/2 else element - Q, otypes=[np.float64])
The error goes away, but two warnings arise:
tensor.py:102: RuntimeWarning: overflow encountered in exp
tensor.py:81: RuntimeWarning: invalid value encountered in true_divide
I tried to ignore the warnings, but the prediction results are not good (50% - 60% I guess).
Any idea how to deal with?
Thanks!
The text was updated successfully, but these errors were encountered:
I tried to run the image analysis on 64-bit Windows. When the process goes to decode(), the overflow error arises. I changed
map_negative_range = np.vectorize(lambda element: float(element) if element <= Q/2 else element - Q)
to
map_negative_range = np.vectorize(lambda element: float(element) if element <= Q/2 else element - Q, otypes=[np.float64])
The error goes away, but two warnings arise:
tensor.py:102: RuntimeWarning: overflow encountered in exp
tensor.py:81: RuntimeWarning: invalid value encountered in true_divide
I tried to ignore the warnings, but the prediction results are not good (50% - 60% I guess).
Any idea how to deal with?
Hi,
I tried to run the image analysis on 64-bit Windows. When the process goes to decode(), the overflow error arises. I changed
map_negative_range = np.vectorize(lambda element: float(element) if element <= Q/2 else element - Q)
to
map_negative_range = np.vectorize(lambda element: float(element) if element <= Q/2 else element - Q, otypes=[np.float64])
The error goes away, but two warnings arise:
tensor.py:102: RuntimeWarning: overflow encountered in exp
tensor.py:81: RuntimeWarning: invalid value encountered in true_divide
I tried to ignore the warnings, but the prediction results are not good (50% - 60% I guess).
Any idea how to deal with?
Thanks!
Hi,
I tried to run the image analysis on 64-bit Windows. When the process goes to decode(), the overflow error arises. I changed
map_negative_range = np.vectorize(lambda element: float(element) if element <= Q/2 else element - Q)
to
map_negative_range = np.vectorize(lambda element: float(element) if element <= Q/2 else element - Q, otypes=[np.float64])
The error goes away, but two warnings arise:
tensor.py:102: RuntimeWarning: overflow encountered in exp
tensor.py:81: RuntimeWarning: invalid value encountered in true_divide
I tried to ignore the warnings, but the prediction results are not good (50% - 60% I guess).
Any idea how to deal with?
Thanks!
The text was updated successfully, but these errors were encountered: