object_detection: python3 compatibility: range creates iterator #3465
Labels
models:research
models that come under research directory
stat:awaiting response
Waiting on input from the contributor
In Python 3,
range(...)
creates an iterator. This leads to a failure here:models/research/object_detection/utils/learning_schedules.py
Line 153 in 4d1f67c
The op
tf.constant
correctly complains, that it received an iterator, not a list of integers.Possible fix: use
list(range(...))
or adapttf.constant
to accept iterators.The text was updated successfully, but these errors were encountered: