Traceback (most recent call last): File "/home/tonitch/.local/lib/python3.10/site-packages/pudb/__init__.py", line 148, in runscript dbg._runscript(mainpyfile) File "/home/tonitch/.local/lib/python3.10/site-packages/pudb/debugger.py", line 519, in _runscript self.run(statement) File "/usr/lib/python3.10/bdb.py", line 597, in run exec(cmd, globals, locals) File "", line 1, in File "main.py", line 65, in final_img = convolution(new_image, unit) File "main.py", line 41, in convolution _sum += mat[mat_row][mat_column] * img_mat[row + diff_row][column + diff_col][0] IndexError: list index out of range