# Image Reading Error Classic Segmenter

**URL:** <https://forum.allencell.org/t/image-reading-error-classic-segmenter/454>\
**Category:** Software & Code\
**Tags:** segmentation, segmenter\
**Created:** [June 21, 2022, 7:44pm UTC](https://forum.allencell.org/t/image-reading-error-classic-segmenter/454 "2022-06-21T19:44:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AidanF](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@AidanF](https://forum.allencell.org/u/AidanF)\
**Post date:** [June 21, 2022, 7:44pm UTC](https://forum.allencell.org/t/image-reading-error-classic-segmenter/454/1 "2022-06-21T19:44:35Z")

</div>

Hi all,

Getting the following error when trying to segment data in jupyter notebooks:

FILE\_NAME = ‘Test2.tif’  
reader = AICSImage(FILE\_NAME)  
IMG = reader.data.astype(np.float32)

print(IMG.shape)

Failed to parse XML for the provided file. Error: not well-formed (invalid token): line 1, column 6  
(1, 1, 20, 1024, 1024)

Haven’t seen this before when running the segmenter. Any fixes?

Thanks,
