models icon indicating copy to clipboard operation
models copied to clipboard

[Bug Report]: returned shape of resize_to_range() function in preprocessor of object detection API

Open zongfan2 opened this issue 8 years ago • 4 comments

I use this function for image resizing and padding during image preprocessing. Based on the document, the output shape should be like [max_dim, max_dim, 3] if I turn on pad_to_max_dimension parameter. But unfortunately it fails. I check the source code and it seems that code like new_size = tf.stack([max_dimension, max_dimension, 3]) should be added in this block, right?

zongfan2 avatar May 18 '18 09:05 zongfan2

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks. What is the top-level directory of the model you are using Have I written custom code OS Platform and Distribution TensorFlow installed from TensorFlow version Bazel version CUDA/cuDNN version GPU model and memory Exact command to reproduce

tensorflowbutler avatar May 26 '18 16:05 tensorflowbutler

OK, Here is my platform info: OS Platform and Distribution: Ubuntu 16.04 TensorFlow installed from: Source TensorFlow version: 1.8.0rc1 Bazel version: 0.13.0 CUDA/cuDNN version: 9.0 GPU model and memory: 7.0

zongfan2 avatar May 28 '18 02:05 zongfan2

@CasiaFan, @k-w-w, @jch1, has any of you found the problem? Thanks in advance.

netanel-s avatar Oct 08 '18 12:10 netanel-s

Hi There, We are checking to see if you still need help on this, as this seems to be considerably old issue. Please update this issue with the latest information, code snippet to reproduce your issue and error you are seeing. If we don't hear from you in the next 7 days, this issue will be closed automatically. If you don't need help on this issue any more, please consider closing this.

tensorflowbutler avatar Jan 29 '20 23:01 tensorflowbutler