-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Python custom layer is extremely slow #3139
Comments
My guess is that the init process and forward process does not happen sequentially. The operator might be created only once. Let us consult @piiswrong |
Actually the almost 2s gap happens for every image passed in during test. here is one of my log notes: |
My guess is the layers before customop is running |
You mean the initialisation of the customop class is actually precede the whole forward process(conv, relu, customop etc) right? @piiswrong |
Someone else reported that engine would save time compared to python layer in caffe. c.f. ijkguo/mx-rcnn#20 |
This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks! |
It's from mx.operator.CustomOp as implemented in rcnn example. @precedenceguo
There is about one and a half sec gap between finish init of the python operator class and its beginning to do forward operation.
What it's doing during this time?
Are there some suggestions to squeeze the time?
The text was updated successfully, but these errors were encountered: