Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object_detection: python3 compatibility: range creates iterator #3465

Closed
DominikAuras opened this issue Feb 26, 2018 · 3 comments
Closed

object_detection: python3 compatibility: range creates iterator #3465

DominikAuras opened this issue Feb 26, 2018 · 3 comments
Labels
models:research models that come under research directory stat:awaiting response Waiting on input from the contributor

Comments

@DominikAuras
Copy link

In Python 3, range(...) creates an iterator. This leads to a failure here:

tf.constant(range(num_boundaries), dtype=tf.int32),

The op tf.constant correctly complains, that it received an iterator, not a list of integers.

Possible fix: use list(range(...)) or adapt tf.constant to accept iterators.

@tensorflowbutler tensorflowbutler added the stat:awaiting response Waiting on input from the contributor label Apr 25, 2018
@tensorflowbutler
Copy link
Member

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

@Harshini-Gadige
Copy link

Closing as this is in "awaiting response" status for a long time. Feel free to add comments if any, we will reopen.

@tensorflowbutler
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
models:research models that come under research directory stat:awaiting response Waiting on input from the contributor
Projects
None yet
Development

No branches or pull requests

3 participants