ValueError: too many values to unpack (expected 2)

ValueError: too many values to unpack (expected 2)  

  By: DZXW on July 30, 2022, 2:38 a.m.

We have carefully checked the formats of submission according to the given example. However, it raises errors. What is "ValueError: too many values to unpack (expected 2)" mean?

Re: ValueError: too many values to unpack (expected 2)  

  By: junma on July 30, 2022, 9:06 p.m.

We never had this issue.

pleach check the format, image shape and datatype. For each image, the label values should be unique, e.g., 1,2,3,.. If all of them are right, please send your segmentation to the official email.

Re: ValueError: too many values to unpack (expected 2)  

  By: junma on July 30, 2022, 9:09 p.m.

please also make sure that there is not subfolders in your zip file. The submission folder structure should be

teamname/

    ├── cell_00001_label.tiff

    ├── cell_00002_label.tiff

     ...

rather than teamname/ teamname/

    ├── cell_00001_label.tiff

    ├── cell_00002_label.tiff

     ...
 Last edited by: junma on Aug. 15, 2023, 12:57 p.m., edited 6 times in total.