Requirement Tweaks ¶
By: paulspaul84524287 on July 7, 2023, 3:14 p.m.
Dear Organizer,
I am using Tensorflow-cpu on the same nvcr.io/nvidia/pytorch:22.11-py3 docker image, to be specific I am not using any torch packages out there. Also I am not using any gpu utilities as of now. Given this two do I need to make any necessary changes in the configurations because with the same configurations I am getting errors during evaluation. Error as in, when I am trying the algorithm during evaluation, if I choose a .tif file as input it throws this error -
2023-07-07T15:03:31.281000+00:00 Traceback (most recent call last):
2023-07-07T15:03:31.281000+00:00 File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
2023-07-07T15:03:31.281000+00:00 return _run_code(code, main_globals, None,
2023-07-07T15:03:31.281000+00:00 File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
2023-07-07T15:03:31.281000+00:00 exec(code, run_globals)
2023-07-07T15:03:31.281000+00:00 File "/opt/app/process.py", line 41, in
2023-07-07T15:03:31.281000+00:00 process()
2023-07-07T15:03:31.281000+00:00 File "/opt/app/process.py", line 16, in process
2023-07-07T15:03:31.281000+00:00 loader = gcio.DataLoader(GC_CELL_FPATH, GC_TISSUE_FPATH)
2023-07-07T15:03:31.281000+00:00 File "/opt/app/util/gcio.py", line 47, in init
2023-07-07T15:03:31.281000+00:00 self.cell_patches = np.array(Image.open(cell_fpath[0]))
2023-07-07T15:03:31.281000+00:00 File "/home/user/.local/lib/python3.8/site-packages/PIL/Image.py", line 3268, in open
2023-07-07T15:03:31.281000+00:00 im = _open_core(fp, filename, prefix, formats)
2023-07-07T15:03:31.281000+00:00 File "/home/user/.local/lib/python3.8/site-packages/PIL/Image.py", line 3255, in _open_core
2023-07-07T15:03:31.281000+00:00 _decompression_bomb_check(im.size)
2023-07-07T15:03:31.281000+00:00 File "/home/user/.local/lib/python3.8/site-packages/PIL/Image.py", line 3164, in _decompression_bomb_check
2023-07-07T15:03:31.281000+00:00 raise DecompressionBombError(msg)
2023-07-07T15:03:31.281000+00:00 PIL.Image.DecompressionBombError: Image size (5210645355 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.
Do I need to fix it manually in gcio.py ?
Please help!