-
Notifications
You must be signed in to change notification settings - Fork 182
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
Extreme memory usage and bug with FP16 and darkflow_utils #15
Comments
Thank you for the report @abagshaw!
|
@taehoonlee Thanks for getting that fixed. One very important point I forgot to mention is that I'm using Python 3.6.5 (not Python 2) so that may actually be the source of the memory problems. I might poke around and see if I can find the issue. |
OK, @abagshaw. I am going to investigate Python 3.6. |
@abagshaw, In order to investigate the memory issue, I tested 12 combinations and summarize the memory consumptions (MB) as follows. In my tests,
|
@taehoonlee Thanks so much for all that work. Yes, I suppose this must be a Windows problem - oh well 😄 |
When using YOLOv2 COCO or VOC on tensornets (TF 1.7, CPU, Win 10) the memory usage with the input as
tf.float32
is massive (3GB +) which is more than twice what darkflow uses for the same model. Not quite sure why.When trying to use
tf.float16
with YOLOv2, memory usage is significantly reduced (could be due to a bug that so little memory is used actually...), but there seems to be a problem with the Cython utils ported from darkflow handling the FP16 output data.I get the following error:
The text was updated successfully, but these errors were encountered: