xianyujie commented on issue #15108: The test time of the model on GPU is 
normal, but the test time on CPU is very long.
URL: 
https://github.com/apache/incubator-mxnet/issues/15108#issuecomment-498564527
 
 
   @pengzhao-intel  Can you find out what the problem is?             
   **(The stage_unit1_relu1 is the front layer of the stage_unit1_conv1 layer)**
   
   **===================The shape of the input image is 
(1,3,112,112)====================
   warm up 20 times
   same image as input,test the time from input layer to stage_unit1_relu1 
layer**
   (0.030597, 0.029112)
   (0.029765, 0.027273)
   (0.029243, 0.026952)
   **same image as input,test the time from input layer to stage_unit1_conv1 
layer**
   (0.105118, 0.031303)
   (0.098103, 0.031876)
   (0.098488, 0.031119)
   **same image as input, get the output(pre_output1,pre_output2) from 
stage1_unit1_relu1 layer 
   of the two models.Then test the time of Conv layer, pre_output1 as the input 
of my model,
   pre_output2 as the input of original model.**
   (0.075896, 0.006333)
   (0.07515, 0.005862)
   (0.075065, 0.005814)
   **The pre_output1 as the input of the two models, test the time of Conv 
layer**
   (0.072311, 0.072548)
   (0.073366, 0.075132)
   (0.074931, 0.074962)
   **The pre_output2 as the input of the two models, test the time of Conv 
layer**
   (0.0055, 0.005653)
   (0.005488, 0.005642)
   (0.005499, 0.005644)
   ('loading bin', 0)
   (2, 3, 12, 12)
   **================The shape of the input image is 
(1,3,12,12)========================
   warm up 20 times
   same image as input,test the time from input layer to stage_unit1_relu1 
layer**
   (0.000733, 0.000735)
   (0.000723, 0.000767)
   (0.000761, 0.00073)
   **same image as input,test the time from input layer to stage_unit1_conv1 
layer**
   (0.003494, 0.000923)
   (0.003302, 0.000857)
   (0.003363, 0.000906)
   **same image as input, get the output(pre_output1,pre_output2) from 
stage1_unit1_relu1 layer 
   of the two models.Then test the time of Conv layer, pre_output1 as the input 
of my model,
   pre_output2 as the input of original model.**
   (0.002808, 0.000264)
   (0.002637, 0.000262)
   (0.002527, 0.000257)
   **The pre_output1 as the input of the two models, test the time of Conv 
layer**
   (0.002551, 0.00255)
   (0.002455, 0.002451)
   (0.002425, 0.002443)
   **The pre_output2 as the input of the two models, test the time of Conv 
layer**
   (0.000261, 0.000258)
   (0.000259, 0.000255)
   (0.00026, 0.000255)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to