Leo Dirac
Leo Dirac
I measured it on a GTX1070, and the CNN forward pass takes ~230ms for a small (416x416 I think?) image. So about 4 FPS. The GPU is being used, but...
This is somewhat addressed in 38752f378d6d6973215068af6b422d2422ebd4b1 in that you can call `timebudget.report(reset=True)` and reset the statistics that way. Maybe this is sufficient and we don't need a dedicated method?
I'm gonna close this out, since the basic functionality is achieved.
I found myself trying to call this method, forgetting that the functionality is folded into another method. So I think it should go in.
I'll put this in v0.8 which I'm currently working on.
The default `.report()` call returns averages per call while the per-cycle report returns total for the number of calls. This is inconsistent and confusing.
I like the suggestion of including `reset` as an option to `report`. This is very simple to understand.
I took the suggestion from @floringogianu in 38752f378d6d6973215068af6b422d2422ebd4b1 and added a `reset` option to `report`.
Do you plan to change the flag in code or at runtime? That is, do you want to go into the code and change the flag for profiling on/off vs...
This is really a pretty bad experience. `get_execution_role()` sounds like it's going to just figure out all the IAM/role/confusion/whatever to make SageMaker work. And on a notebook instance it does....