Requirement Tweaks

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!

Re: Requirement Tweaks  

  By: aaron.valero on July 10, 2023, 10:26 a.m.

Thank you for participating!

Your error says that your image is 5210645355, however, that number is not divisible by 1024 (input image height/width) and is not the size of our validation set. I am not sure how did you obtain such a log. Anyhow, If you wish to know more about your error logs please contact oncology-ai-research@lunit.io, and we will try to assist you further.