You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run "python data_pascal_voc.py pascal_voc_setup" to get the "combined_imageset_train.txt" file, error occurs as follows:
Traceback (most recent calls WITHOUT Sacred internals):
File "data_pascal_voc.py", line 205, in pascal_voc_setup
combined_annotations_path)
File "data_pascal_voc.py", line 135, in pascal_voc_berkeley_combined
mode=voc_data_subset_mode)
File "/root/src/tf-image-segmentation/tf_image_segmentation/utils/pascal_voc.py", line 570, in get_augmented_pascal_image_annotation_filename_pairs
train_from_berkeley_image_annotation_pairs + train_from_pascal_image_annotation_pairs
TypeError: unsupported operand type(s) for +: 'zip' and 'zip'
How to resolve this issue?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Totally same problem, I think this is probably due to the laziness of Py3k. Just try to change all zip(...) to list(zip(...)) in "src/tf-image-segmentation/tf_image_segmentation/utils/pascal_voc.py".
I fixed it by doing that, hopefully it will work for you as well.
when I run "python data_pascal_voc.py pascal_voc_setup" to get the "combined_imageset_train.txt" file, error occurs as follows:
Traceback (most recent calls WITHOUT Sacred internals):
File "data_pascal_voc.py", line 205, in pascal_voc_setup
combined_annotations_path)
File "data_pascal_voc.py", line 135, in pascal_voc_berkeley_combined
mode=voc_data_subset_mode)
File "/root/src/tf-image-segmentation/tf_image_segmentation/utils/pascal_voc.py", line 570, in get_augmented_pascal_image_annotation_filename_pairs
train_from_berkeley_image_annotation_pairs + train_from_pascal_image_annotation_pairs
TypeError: unsupported operand type(s) for +: 'zip' and 'zip'
How to resolve this issue?
Thanks a lot!
The text was updated successfully, but these errors were encountered: