Closed DLPerf closed 3 years ago
Hello, I found a performance issue in the definition of get_rois, libs/fast_rcnn/build_fast_rcnn.py, tf.cast will be created repeatedly in the graph, resulting in reduced efficiency. I think they should be created before the loop.
get_rois
tf.cast
And the same issues exist in tf.ones, tf.cast in line 122, tf.ones in line 298 and tf.ones in line 306.
tf.ones
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.
This repo has been deprecated, I currently maintain yangxue0827/RotationDetection.
This repo has been deprecated, I currently maintain yangxue0827/RotationDetection. All right.
Hello, I found a performance issue in the definition of
get_rois
, libs/fast_rcnn/build_fast_rcnn.py,tf.cast
will be created repeatedly in the graph, resulting in reduced efficiency. I think they should be created before the loop.And the same issues exist in
tf.ones
,tf.cast
in line 122,tf.ones
in line 298 andtf.ones
in line 306.Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.