-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeWarning: overflow encountered in exp #9
Comments
That's because of some invalid boxes (large output number, e.g., np.exp(200, dtype=np.float32) ). |
@jackytu256 Hi, did you run this code on the lastest commit? Have you ever encountered these errors?
|
@CharlesShang |
I guess it's only because my platform .... |
sure. platform : Ubuntu 14.04.5 LTS plz let me know if you have any question regrading to this info. Thanks |
@jackytu256 |
@jackytu256 did you fixed this issue? |
Check my comment here |
@jackytu256 did you fixed this issue? |
running test.resnet50_test and encounter this issue.
test/../libs/boxes/bbox_transform.py:61: RuntimeWarning: overflow encountered in exp pred_w = np.exp(dw) * widths[:, np.newaxis]
test/../libs/boxes/bbox_transform.py:61: RuntimeWarning: overflow encountered in multiply pred_w = np.exp(dw) * widths[:, np.newaxis]
The text was updated successfully, but these errors were encountered: