models icon indicating copy to clipboard operation
models copied to clipboard

[object detection] input_reader_builder_test failed

Open yimintsai opened this issue 9 years ago • 4 comments

System information

  • OS Platform and Distribution: Linux Ubuntu 16.04
  • TensorFlow version (use command below): 1.3.0
  • CUDA/cuDNN version: 8.0
  • Exact command to reproduce: python object_detection/builders/input_reader_builder_test.py
  • protobuf: protobuf(2.6.1)/protobuf (3.4.0)

Describe the problem

input reader builder test failed. It seems TfExampleDecoder in input_reader_builder.py does not take load_instance_masks as argument?

Source code / logs

ERROR: test_build_tf_record_input_reader (main.InputReaderBuilderTest)

TypeError: init() got an unexpected keyword argument 'load_instance_masks'TypeError: init() got an unexpected keyword argument 'load_instance_masks'

yimintsai avatar Oct 29 '17 03:10 yimintsai

I am also having this problem with the same versions.

fallrisk avatar Oct 29 '17 20:10 fallrisk

I think it has to do with the commit from 2 days ago 8b31db60e284a411856e9c05eb14d23b16be1966. Looks like those files were changed drastically.

fallrisk avatar Oct 29 '17 20:10 fallrisk

@yimintsai @fallrisk Same here.

It really have something to do with this commit. I run a test with an old commit and it runs perfectly. https://github.com/tensorflow/models/tree/0375c800c767db2ef070cee1529d8a50f42d1042

romponciano avatar Oct 29 '17 23:10 romponciano

https://github.com/tensorflow/models/pull/2639 should fix this.

tombstone avatar Oct 30 '17 02:10 tombstone