Hello, I found a performance issue in the definition of create_test_input, examples/slim/nets/resnet_v1_test.py, create_test_input is called by testDepthMultiplier and tf.to_float will created repeatedly during program execution, resulting in reduced efficiency. I think it should be created before the loop in create_test_input.
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.
Hello, I found a performance issue in the definition of
create_test_input
, examples/slim/nets/resnet_v1_test.py,create_test_input
is called by testDepthMultiplier and tf.to_float will created repeatedly during program execution, resulting in reduced efficiency. I think it should be created before the loop increate_test_input
.Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.