Objectron icon indicating copy to clipboard operation
Objectron copied to clipboard

Some sequence shards have missing fields

Open smauq opened this issue 3 years ago • 1 comments

When going over the sequence shards, some of them have missing fields. The loading being done as it's described in the example script, the code crashes with the following error message

InvalidArgumentError: Name: <unknown>, Feature list 'image/encoded' is required but could not be found.  Did you mean to include it in feature_list_dense_missing_assumed_empty or feature_list_dense_defaults?
	 [[{{node ParseSingleSequenceExample/ParseSequenceExample/ParseSequenceExampleV2}}]]

And the faulty shards I found by iterating over the entire dataset are (the missing fields differ between the affected shards):

objectron/sequences/book/book_train-00020-of-01324
objectron/sequences/book/book_train-00476-of-01324
objectron/sequences/book/book_train-01231-of-01324
objectron/sequences/book/book_train-01256-of-01324
objectron/sequences/bottle/bottle_train-00559-of-01320
objectron/sequences/chair/chair_train-00365-of-01274

smauq avatar May 06 '21 18:05 smauq

I'll look into this.

ahmadyan avatar May 07 '21 21:05 ahmadyan