8000 Performance issue in the definition of testResizeToRangePreservesStaticSpatialShape, object_detection/core/preprocessor_test.py(P1) · Issue #11 · thatbrguy/Pedestrian-Detection · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Performance issue in the definition of testResizeToRangePreservesStaticSpatialShape, object_detection/core/preprocessor_test.py(P1) #11
Open
@DLPerf

Description

@DLPerf

Hello, I found a performance issue in the definition of testResizeToRangePreservesStaticSpatialShape, object_detection/core/preprocessor_test.py, tf.shape(out_image) will created repeatedly during program execution, resulting in reduced efficiency. I think in_image, out_image and out_image_shape should be created before the loop in testResizeToRangeWithDynamicSpatialShape.

Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0