-
Notifications
You must be signed in to change notification settings - Fork 303
faster_rcnn predictions not consistent #680
Comments
Hmm. I tried to reproduce your problem, but the model outputs the same consistently with images I have. |
Some operations of cuDNN do not have deterministic behaviour. |
Hmm. I'm using the projects reference image: https://cloud.githubusercontent.com/assets/2062128/26187667/9cb236da-3bd5-11e7-8bcf-7dbd4302e2dc.jpg @Hakuyume I dockerized my setup and also uploaded the modified demo.py. Had to change extensions to upload, should be demo-mod.py, Are you running on a GPU @yuyu2172 ? Thanks for your help! |
I tested on GPU/CPU on my machine. I ran your script, and I get consistent results.
|
My results are looking more consistent today:
The scores are still slightly different. Thanks for looking into it! |
Can i close this issue? @yuyu2172 |
Repeated predictions give different results, I modified the example demo.py by replacing:
with
Running on an image prints two different results.
[ 6 9 11 12 14 14 14]
[0.9994035 0.7133383 0.9320137 0.9976526 0.9986652 0.98459226
0.7558696 ]
[ 6 11 12 14 14]
[0.99914455 0.81991583 0.96614665 0.9929738 0.9864108 ]
Any idea as to why that would be?
The text was updated successfully, but these errors were encountered: