Open xujoyce opened 6 years ago
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.
@wangxiaodiu 非常感谢!已解决
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!