Questions of the submission template ¶
By: eternalaudrey on March 21, 2024, 10:53 p.m.
Hi, I have some questions of the submission template:
- In the inference script the
tl
name is retrieved by usingtl = description["OME"]["Image"]["Pixels"]["Channel"]["@Name"]
. But seems like this rule is not applicable to all the images. For example, for the image_43_DIC_z5.ome.tiff, the tl name is stored inmetadata["OME"]["Image"]["Pixels"]["Channel"]["@Fluor"]
. If all the tl names in the testset can be obtained using the same rule? - In terms of the
save_image()
function, if the provided version is directly applied, there will be an errorValueError: TIFF strings must be 7-bit ASCII
. I googled a little bit and found that it can be resolved by replacingdescription=metadata
withdescription=metadata.encode()
. I am not sure if this error is universal?
Thank you!