/* Generated code for Python module 'models.unet3d.predictor' * created by Nuitka version 0.6.16 * * This code is in part copyright 2021 Kay Hayen. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "nuitka/prelude.h" #include "nuitka/unfreezing.h" #include "__helpers.h" /* The "module_models$unet3d$predictor" is a Python object pointer of module type. * * Note: For full compatibility with CPython, every module variable access * needs to go through it except for cases where the module cannot possibly * have changed in the mean time. */ PyObject *module_models$unet3d$predictor; PyDictObject *moduledict_models$unet3d$predictor; /* The declarations of module constants used, if any. */ static PyObject *mod_consts[216]; static PyObject *module_filename_obj = NULL; /* Indicator if this modules private constants were created yet. */ static bool constants_created = false; /* Function to create module private constants. */ static void createModuleConstants(void) { if (constants_created == false) { loadConstantsBlob(&mod_consts[0], UNTRANSLATE("models.unet3d.predictor")); constants_created = true; } } /* For multiprocessing, we want to be able to initialize the __main__ constants. */ #if (_NUITKA_PLUGIN_MULTIPROCESSING_ENABLED || _NUITKA_PLUGIN_TRACEBACK_ENCRYPTION_ENABLED) && 0 void createMainModuleConstants(void) { createModuleConstants(); } #endif /* Function to verify module private constants for non-corruption. */ #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_models$unet3d$predictor(void) { // The module may not have been used at all, then ignore this. if (constants_created == false) return; checkConstantsBlob(&mod_consts[0], "models.unet3d.predictor"); } #endif // The module code objects. static PyCodeObject *codeobj_63b960195e39bc165f63de7fa2cab847; static PyCodeObject *codeobj_5e0c7d03dd4bae0660fe38f64d474d39; static PyCodeObject *codeobj_fe4d8960e59865f68d63911a210b309b; static PyCodeObject *codeobj_654ac4e36b1ceb797e7f7b084a3adade; static PyCodeObject *codeobj_c4266b88ebda23201522fdf805d2c1a0; static PyCodeObject *codeobj_d22562c3c8d13a87206feda6eb48d1fb; static PyCodeObject *codeobj_f6cc4d43175142ef596c007b051512dc; static PyCodeObject *codeobj_12e22a3ebd81123517bf550395e990d0; static PyCodeObject *codeobj_e6cb236fb3fdabaf9c6ffb55bc474219; static PyCodeObject *codeobj_80a71c310d45263d95d2a410d98e469a; static PyCodeObject *codeobj_705bda7d6673d7b7394952127174c725; static PyCodeObject *codeobj_dcd17f5afd82ae6840c9b24712bd4189; static PyCodeObject *codeobj_1f99e51ff5df2510c2b0ace52698561d; static PyCodeObject *codeobj_9acb737f0b5b77657e415d5b3f608a87; static PyCodeObject *codeobj_f2b89732675bda34182075fd0575336f; static PyCodeObject *codeobj_68e1784c45ce56b7a898263ca3d286b3; static PyCodeObject *codeobj_7298cf55343e2cf941e7ce2ab35cccff; static PyCodeObject *codeobj_989443e4e43d7438067f39a09157b360; static PyCodeObject *codeobj_99c2b4b393370469d449fa5be8ea39af; static PyCodeObject *codeobj_e718675254b06885e1aa7656b16dec34; static PyCodeObject *codeobj_22cdd3268e91283d209035484befb961; static PyCodeObject *codeobj_930c7addf8d4e8ab57ac0d86a59b45e9; static PyCodeObject *codeobj_07cbe57c14d20fc9570d667e537912d9; static PyCodeObject *codeobj_1205504d193825f9e92bff64879ca97f; static PyCodeObject *codeobj_46d152c9497b774acdf337c98dc16053; static void createModuleCodeObjects(void) { module_filename_obj = MAKE_RELATIVE_PATH(mod_consts[194]); CHECK_OBJECT(module_filename_obj); codeobj_63b960195e39bc165f63de7fa2cab847 = MAKE_CODEOBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[195], NULL, NULL, 0, 0, 0); codeobj_5e0c7d03dd4bae0660fe38f64d474d39 = MAKE_CODEOBJECT(module_filename_obj, 233, CO_NOFREE, mod_consts[188], mod_consts[196], NULL, 0, 0, 0); codeobj_fe4d8960e59865f68d63911a210b309b = MAKE_CODEOBJECT(module_filename_obj, 191, CO_NOFREE, mod_consts[183], mod_consts[196], NULL, 0, 0, 0); codeobj_654ac4e36b1ceb797e7f7b084a3adade = MAKE_CODEOBJECT(module_filename_obj, 57, CO_NOFREE, mod_consts[176], mod_consts[196], NULL, 0, 0, 0); codeobj_c4266b88ebda23201522fdf805d2c1a0 = MAKE_CODEOBJECT(module_filename_obj, 38, CO_NOFREE, mod_consts[169], mod_consts[196], NULL, 0, 0, 0); codeobj_d22562c3c8d13a87206feda6eb48d1fb = MAKE_CODEOBJECT(module_filename_obj, 53, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[174], mod_consts[197], NULL, 2, 0, 0); codeobj_f6cc4d43175142ef596c007b051512dc = MAKE_CODEOBJECT(module_filename_obj, 245, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[174], mod_consts[198], NULL, 2, 0, 0); codeobj_12e22a3ebd81123517bf550395e990d0 = MAKE_CODEOBJECT(module_filename_obj, 75, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[174], mod_consts[199], NULL, 2, 0, 0); codeobj_e6cb236fb3fdabaf9c6ffb55bc474219 = MAKE_CODEOBJECT(module_filename_obj, 39, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[25], mod_consts[200], NULL, 4, 0, 0); codeobj_80a71c310d45263d95d2a410d98e469a = MAKE_CODEOBJECT(module_filename_obj, 72, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS, mod_consts[25], mod_consts[201], mod_consts[196], 4, 0, 0); codeobj_705bda7d6673d7b7394952127174c725 = MAKE_CODEOBJECT(module_filename_obj, 207, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS, mod_consts[25], mod_consts[201], mod_consts[196], 4, 0, 0); codeobj_dcd17f5afd82ae6840c9b24712bd4189 = MAKE_CODEOBJECT(module_filename_obj, 234, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS, mod_consts[25], mod_consts[202], mod_consts[196], 6, 0, 0); codeobj_1f99e51ff5df2510c2b0ace52698561d = MAKE_CODEOBJECT(module_filename_obj, 210, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[52], mod_consts[203], NULL, 3, 0, 0); codeobj_9acb737f0b5b77657e415d5b3f608a87 = MAKE_CODEOBJECT(module_filename_obj, 161, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[52], mod_consts[204], NULL, 3, 0, 0); codeobj_f2b89732675bda34182075fd0575336f = MAKE_CODEOBJECT(module_filename_obj, 28, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[92], mod_consts[205], NULL, 2, 0, 0); codeobj_68e1784c45ce56b7a898263ca3d286b3 = MAKE_CODEOBJECT(module_filename_obj, 20, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[47], mod_consts[206], NULL, 3, 0, 0); codeobj_7298cf55343e2cf941e7ce2ab35cccff = MAKE_CODEOBJECT(module_filename_obj, 32, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[46], mod_consts[207], NULL, 1, 0, 0); codeobj_989443e4e43d7438067f39a09157b360 = MAKE_CODEOBJECT(module_filename_obj, 174, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[62], mod_consts[208], NULL, 2, 0, 0); codeobj_99c2b4b393370469d449fa5be8ea39af = MAKE_CODEOBJECT(module_filename_obj, 270, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[125], mod_consts[209], mod_consts[210], 1, 0, 0); codeobj_e718675254b06885e1aa7656b16dec34 = MAKE_CODEOBJECT(module_filename_obj, 168, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[85], mod_consts[211], NULL, 5, 0, 0); codeobj_22cdd3268e91283d209035484befb961 = MAKE_CODEOBJECT(module_filename_obj, 220, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[85], mod_consts[212], NULL, 5, 0, 0); codeobj_930c7addf8d4e8ab57ac0d86a59b45e9 = MAKE_CODEOBJECT(module_filename_obj, 239, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[191], mod_consts[213], NULL, 2, 0, 0); codeobj_07cbe57c14d20fc9570d667e537912d9 = MAKE_CODEOBJECT(module_filename_obj, 181, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[67], mod_consts[208], NULL, 2, 0, 0); codeobj_1205504d193825f9e92bff64879ca97f = MAKE_CODEOBJECT(module_filename_obj, 269, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[120], mod_consts[214], NULL, 5, 0, 0); codeobj_46d152c9497b774acdf337c98dc16053 = MAKE_CODEOBJECT(module_filename_obj, 46, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[41], mod_consts[215], NULL, 1, 0, 0); } // The module function declarations. NUITKA_CROSS_MODULE PyObject *impl_models$$$function__1__mro_entries_conversion(PyObject **python_pars); NUITKA_CROSS_MODULE PyObject *impl_models$$$function__9_complex_call_helper_pos_star_dict(PyObject **python_pars); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__10__save_results(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__11__pad(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__12__unpad(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__13___init__(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__14__allocate_prediction_maps(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__15__save_results(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__16___init__(PyObject *defaults, struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__17__slice_from_pad(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__18___call__(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__19_dsb_save_batch(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__19_dsb_save_batch$$$function__1__pmaps_to_seg(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__1__get_output_file(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__2__get_dataset_name(PyObject *defaults); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__3__is_2d_model(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__4___init__(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__5_volume_shape(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__6___call__(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__7___init__(struct Nuitka_CellObject **closure); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__8___call__(); static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__9__allocate_prediction_maps(); // The module function definitions. static PyObject *impl_models$unet3d$predictor$$$function__1__get_output_file(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_dataset = python_pars[0]; PyObject *par_suffix = python_pars[1]; PyObject *par_output_dir = python_pars[2]; PyObject *var_input_dir = NULL; PyObject *var_file_name = NULL; PyObject *var_output_file = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_68e1784c45ce56b7a898263ca3d286b3; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_68e1784c45ce56b7a898263ca3d286b3 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_68e1784c45ce56b7a898263ca3d286b3)) { Py_XDECREF(cache_frame_68e1784c45ce56b7a898263ca3d286b3); #if _DEBUG_REFCOUNTS if (cache_frame_68e1784c45ce56b7a898263ca3d286b3 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_68e1784c45ce56b7a898263ca3d286b3 = MAKE_FUNCTION_FRAME(codeobj_68e1784c45ce56b7a898263ca3d286b3, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_68e1784c45ce56b7a898263ca3d286b3->m_type_description == NULL); frame_68e1784c45ce56b7a898263ca3d286b3 = cache_frame_68e1784c45ce56b7a898263ca3d286b3; // Push the new frame as the currently active one. pushFrameStack(frame_68e1784c45ce56b7a898263ca3d286b3); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_68e1784c45ce56b7a898263ca3d286b3) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_expression_name_3; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 21; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_expression_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[1]); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 21; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[2]); Py_DECREF(tmp_expression_name_1); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 21; type_description_1 = "oooooo"; goto try_except_handler_2; } CHECK_OBJECT(par_dataset); tmp_expression_name_3 = par_dataset; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[3]); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 21; type_description_1 = "oooooo"; goto try_except_handler_2; } frame_68e1784c45ce56b7a898263ca3d286b3->m_frame.f_lineno = 21; tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 21; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 21; type_description_1 = "oooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_2 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooo"; exception_lineno = 21; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooo"; exception_lineno = 21; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooo"; exception_lineno = 21; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[4]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooo"; exception_lineno = 21; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_4; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert(var_input_dir == NULL); Py_INCREF(tmp_assign_source_4); var_input_dir = tmp_assign_source_4; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_5; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert(var_file_name == NULL); Py_INCREF(tmp_assign_source_5); var_file_name = tmp_assign_source_5; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(par_output_dir); tmp_compexpr_left_1 = par_output_dir; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 == tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_6; CHECK_OBJECT(var_input_dir); tmp_assign_source_6 = var_input_dir; { PyObject *old = par_output_dir; assert(old != NULL); par_output_dir = tmp_assign_source_6; Py_INCREF(par_output_dir); Py_DECREF(old); } } branch_no_1:; { PyObject *tmp_assign_source_7; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_expression_name_6; PyObject *tmp_called_instance_1; PyObject *tmp_expression_name_7; PyObject *tmp_args_element_name_4; PyObject *tmp_subscript_name_1; PyObject *tmp_right_name_1; PyObject *tmp_right_name_2; tmp_expression_name_5 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_expression_name_5 == NULL)) { tmp_expression_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 24; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[1]); if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 24; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[5]); Py_DECREF(tmp_expression_name_4); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 24; type_description_1 = "oooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_output_dir); tmp_args_element_name_2 = par_output_dir; tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_expression_name_7 == NULL)) { tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 24; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[1]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 24; type_description_1 = "oooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_file_name); tmp_args_element_name_4 = var_file_name; frame_68e1784c45ce56b7a898263ca3d286b3->m_frame.f_lineno = 24; tmp_expression_name_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[6], tmp_args_element_name_4); Py_DECREF(tmp_called_instance_1); if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 24; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = mod_consts[7]; tmp_left_name_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_6, tmp_subscript_name_1, 0); Py_DECREF(tmp_expression_name_6); if (tmp_left_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 24; type_description_1 = "oooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_suffix); tmp_right_name_1 = par_suffix; tmp_left_name_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_left_name_2, tmp_right_name_1); Py_DECREF(tmp_left_name_2); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 24; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_right_name_2 = mod_consts[8]; tmp_args_element_name_3 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_left_name_1, tmp_right_name_2); Py_DECREF(tmp_left_name_1); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 24; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_68e1784c45ce56b7a898263ca3d286b3->m_frame.f_lineno = 24; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3}; tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_2, call_args); } Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_3); if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 24; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(var_output_file == NULL); var_output_file = tmp_assign_source_7; } #if 0 RESTORE_FRAME_EXCEPTION(frame_68e1784c45ce56b7a898263ca3d286b3); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_68e1784c45ce56b7a898263ca3d286b3); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_68e1784c45ce56b7a898263ca3d286b3, exception_lineno); } else if (exception_tb->tb_frame != &frame_68e1784c45ce56b7a898263ca3d286b3->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_68e1784c45ce56b7a898263ca3d286b3, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_68e1784c45ce56b7a898263ca3d286b3, type_description_1, par_dataset, par_suffix, par_output_dir, var_input_dir, var_file_name, var_output_file ); // Release cached frame if used for exception. if (frame_68e1784c45ce56b7a898263ca3d286b3 == cache_frame_68e1784c45ce56b7a898263ca3d286b3) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_68e1784c45ce56b7a898263ca3d286b3); cache_frame_68e1784c45ce56b7a898263ca3d286b3 = NULL; } assertFrameObject(frame_68e1784c45ce56b7a898263ca3d286b3); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(var_output_file); tmp_return_value = var_output_file; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_dataset); par_dataset = NULL; Py_XDECREF(par_suffix); par_suffix = NULL; Py_XDECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(var_input_dir); Py_DECREF(var_input_dir); var_input_dir = NULL; Py_XDECREF(var_file_name); var_file_name = NULL; CHECK_OBJECT(var_output_file); Py_DECREF(var_output_file); var_output_file = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_dataset); par_dataset = NULL; Py_XDECREF(par_suffix); par_suffix = NULL; Py_XDECREF(par_output_dir); par_output_dir = NULL; Py_XDECREF(var_input_dir); var_input_dir = NULL; Py_XDECREF(var_file_name); var_file_name = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__2__get_dataset_name(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_config = python_pars[0]; PyObject *par_prefix = python_pars[1]; struct Nuitka_FrameObject *frame_f2b89732675bda34182075fd0575336f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_f2b89732675bda34182075fd0575336f = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_f2b89732675bda34182075fd0575336f)) { Py_XDECREF(cache_frame_f2b89732675bda34182075fd0575336f); #if _DEBUG_REFCOUNTS if (cache_frame_f2b89732675bda34182075fd0575336f == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_f2b89732675bda34182075fd0575336f = MAKE_FUNCTION_FRAME(codeobj_f2b89732675bda34182075fd0575336f, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_f2b89732675bda34182075fd0575336f->m_type_description == NULL); frame_f2b89732675bda34182075fd0575336f = cache_frame_f2b89732675bda34182075fd0575336f; // Push the new frame as the currently active one. pushFrameStack(frame_f2b89732675bda34182075fd0575336f); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_f2b89732675bda34182075fd0575336f) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; CHECK_OBJECT(par_config); tmp_called_instance_1 = par_config; frame_f2b89732675bda34182075fd0575336f->m_frame.f_lineno = 29; tmp_return_value = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, mod_consts[9], &PyTuple_GET_ITEM(mod_consts[10], 0) ); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 29; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_f2b89732675bda34182075fd0575336f); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f2b89732675bda34182075fd0575336f); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f2b89732675bda34182075fd0575336f); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_f2b89732675bda34182075fd0575336f, exception_lineno); } else if (exception_tb->tb_frame != &frame_f2b89732675bda34182075fd0575336f->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_f2b89732675bda34182075fd0575336f, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_f2b89732675bda34182075fd0575336f, type_description_1, par_config, par_prefix ); // Release cached frame if used for exception. if (frame_f2b89732675bda34182075fd0575336f == cache_frame_f2b89732675bda34182075fd0575336f) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_f2b89732675bda34182075fd0575336f); cache_frame_f2b89732675bda34182075fd0575336f = NULL; } assertFrameObject(frame_f2b89732675bda34182075fd0575336f); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_config); par_config = NULL; CHECK_OBJECT(par_prefix); Py_DECREF(par_prefix); par_prefix = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_config); par_config = NULL; CHECK_OBJECT(par_prefix); Py_DECREF(par_prefix); par_prefix = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__3__is_2d_model(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_model = python_pars[0]; struct Nuitka_FrameObject *frame_7298cf55343e2cf941e7ce2ab35cccff; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_7298cf55343e2cf941e7ce2ab35cccff = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_7298cf55343e2cf941e7ce2ab35cccff)) { Py_XDECREF(cache_frame_7298cf55343e2cf941e7ce2ab35cccff); #if _DEBUG_REFCOUNTS if (cache_frame_7298cf55343e2cf941e7ce2ab35cccff == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_7298cf55343e2cf941e7ce2ab35cccff = MAKE_FUNCTION_FRAME(codeobj_7298cf55343e2cf941e7ce2ab35cccff, module_models$unet3d$predictor, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_7298cf55343e2cf941e7ce2ab35cccff->m_type_description == NULL); frame_7298cf55343e2cf941e7ce2ab35cccff = cache_frame_7298cf55343e2cf941e7ce2ab35cccff; // Push the new frame as the currently active one. pushFrameStack(frame_7298cf55343e2cf941e7ce2ab35cccff); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_7298cf55343e2cf941e7ce2ab35cccff) == 2); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_model); tmp_isinstance_inst_1 = par_model; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[11]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[11]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 33; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[12]); if (tmp_isinstance_cls_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 33; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1); Py_DECREF(tmp_isinstance_cls_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 33; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_expression_name_2; CHECK_OBJECT(par_model); tmp_expression_name_2 = par_model; tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[13]); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 34; type_description_1 = "o"; goto frame_exception_exit_1; } { PyObject *old = par_model; par_model = tmp_assign_source_1; Py_XDECREF(old); } } branch_no_1:; { PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; CHECK_OBJECT(par_model); tmp_isinstance_inst_2 = par_model; tmp_isinstance_cls_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[14]); if (unlikely(tmp_isinstance_cls_2 == NULL)) { tmp_isinstance_cls_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[14]); } if (tmp_isinstance_cls_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 35; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 35; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = (tmp_res != 0) ? Py_True : Py_False; Py_INCREF(tmp_return_value); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_7298cf55343e2cf941e7ce2ab35cccff); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_7298cf55343e2cf941e7ce2ab35cccff); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_7298cf55343e2cf941e7ce2ab35cccff); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_7298cf55343e2cf941e7ce2ab35cccff, exception_lineno); } else if (exception_tb->tb_frame != &frame_7298cf55343e2cf941e7ce2ab35cccff->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_7298cf55343e2cf941e7ce2ab35cccff, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_7298cf55343e2cf941e7ce2ab35cccff, type_description_1, par_model ); // Release cached frame if used for exception. if (frame_7298cf55343e2cf941e7ce2ab35cccff == cache_frame_7298cf55343e2cf941e7ce2ab35cccff) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_7298cf55343e2cf941e7ce2ab35cccff); cache_frame_7298cf55343e2cf941e7ce2ab35cccff = NULL; } assertFrameObject(frame_7298cf55343e2cf941e7ce2ab35cccff); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_model); Py_DECREF(par_model); par_model = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_model); par_model = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__4___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_model = python_pars[1]; PyObject *par_output_dir = python_pars[2]; PyObject *par_config = python_pars[3]; PyObject *par_kwargs = python_pars[4]; struct Nuitka_FrameObject *frame_e6cb236fb3fdabaf9c6ffb55bc474219; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_e6cb236fb3fdabaf9c6ffb55bc474219 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_e6cb236fb3fdabaf9c6ffb55bc474219)) { Py_XDECREF(cache_frame_e6cb236fb3fdabaf9c6ffb55bc474219); #if _DEBUG_REFCOUNTS if (cache_frame_e6cb236fb3fdabaf9c6ffb55bc474219 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_e6cb236fb3fdabaf9c6ffb55bc474219 = MAKE_FUNCTION_FRAME(codeobj_e6cb236fb3fdabaf9c6ffb55bc474219, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_e6cb236fb3fdabaf9c6ffb55bc474219->m_type_description == NULL); frame_e6cb236fb3fdabaf9c6ffb55bc474219 = cache_frame_e6cb236fb3fdabaf9c6ffb55bc474219; // Push the new frame as the currently active one. pushFrameStack(frame_e6cb236fb3fdabaf9c6ffb55bc474219); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_e6cb236fb3fdabaf9c6ffb55bc474219) == 2); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_model); tmp_assattr_name_1 = par_model; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[15], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 40; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT(par_output_dir); tmp_assattr_name_2 = par_output_dir; CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[16], tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 41; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; CHECK_OBJECT(par_config); tmp_assattr_name_3 = par_config; CHECK_OBJECT(par_self); tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[17], tmp_assattr_name_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 42; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; CHECK_OBJECT(par_kwargs); tmp_assattr_name_4 = par_kwargs; CHECK_OBJECT(par_self); tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[18], tmp_assattr_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 43; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_e6cb236fb3fdabaf9c6ffb55bc474219); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_e6cb236fb3fdabaf9c6ffb55bc474219); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_e6cb236fb3fdabaf9c6ffb55bc474219, exception_lineno); } else if (exception_tb->tb_frame != &frame_e6cb236fb3fdabaf9c6ffb55bc474219->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_e6cb236fb3fdabaf9c6ffb55bc474219, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_e6cb236fb3fdabaf9c6ffb55bc474219, type_description_1, par_self, par_model, par_output_dir, par_config, par_kwargs ); // Release cached frame if used for exception. if (frame_e6cb236fb3fdabaf9c6ffb55bc474219 == cache_frame_e6cb236fb3fdabaf9c6ffb55bc474219) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_e6cb236fb3fdabaf9c6ffb55bc474219); cache_frame_e6cb236fb3fdabaf9c6ffb55bc474219 = NULL; } assertFrameObject(frame_e6cb236fb3fdabaf9c6ffb55bc474219); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_model); Py_DECREF(par_model); par_model = NULL; CHECK_OBJECT(par_output_dir); Py_DECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(par_config); Py_DECREF(par_config); par_config = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_model); Py_DECREF(par_model); par_model = NULL; CHECK_OBJECT(par_output_dir); Py_DECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(par_config); Py_DECREF(par_config); par_config = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__5_volume_shape(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_dataset = python_pars[0]; PyObject *var_raw = NULL; struct Nuitka_FrameObject *frame_46d152c9497b774acdf337c98dc16053; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_46d152c9497b774acdf337c98dc16053 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_46d152c9497b774acdf337c98dc16053)) { Py_XDECREF(cache_frame_46d152c9497b774acdf337c98dc16053); #if _DEBUG_REFCOUNTS if (cache_frame_46d152c9497b774acdf337c98dc16053 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_46d152c9497b774acdf337c98dc16053 = MAKE_FUNCTION_FRAME(codeobj_46d152c9497b774acdf337c98dc16053, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_46d152c9497b774acdf337c98dc16053->m_type_description == NULL); frame_46d152c9497b774acdf337c98dc16053 = cache_frame_46d152c9497b774acdf337c98dc16053; // Push the new frame as the currently active one. pushFrameStack(frame_46d152c9497b774acdf337c98dc16053); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_46d152c9497b774acdf337c98dc16053) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_dataset); tmp_expression_name_1 = par_dataset; tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[19]); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 47; type_description_1 = "oo"; goto frame_exception_exit_1; } assert(var_raw == NULL); var_raw = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_expression_name_2; PyObject *tmp_tmp_condition_result_1_object_1; int tmp_truth_name_1; CHECK_OBJECT(var_raw); tmp_expression_name_2 = var_raw; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[20]); if (tmp_compexpr_left_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 48; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = mod_consts[21]; tmp_tmp_condition_result_1_object_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); Py_DECREF(tmp_compexpr_left_1); if (tmp_tmp_condition_result_1_object_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 48; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_tmp_condition_result_1_object_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_tmp_condition_result_1_object_1); exception_lineno = 48; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_tmp_condition_result_1_object_1); if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_expression_name_3; if (var_raw == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[19]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 49; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_3 = var_raw; tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[22]); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 49; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_expression_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_subscript_name_1; if (var_raw == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[19]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 51; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_expression_name_5 = var_raw; tmp_expression_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[22]); if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 51; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = mod_consts[23]; tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_name_4, tmp_subscript_name_1); Py_DECREF(tmp_expression_name_4); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 51; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_46d152c9497b774acdf337c98dc16053); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_46d152c9497b774acdf337c98dc16053); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_46d152c9497b774acdf337c98dc16053); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_46d152c9497b774acdf337c98dc16053, exception_lineno); } else if (exception_tb->tb_frame != &frame_46d152c9497b774acdf337c98dc16053->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_46d152c9497b774acdf337c98dc16053, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_46d152c9497b774acdf337c98dc16053, type_description_1, par_dataset, var_raw ); // Release cached frame if used for exception. if (frame_46d152c9497b774acdf337c98dc16053 == cache_frame_46d152c9497b774acdf337c98dc16053) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_46d152c9497b774acdf337c98dc16053); cache_frame_46d152c9497b774acdf337c98dc16053 = NULL; } assertFrameObject(frame_46d152c9497b774acdf337c98dc16053); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_dataset); par_dataset = NULL; Py_XDECREF(var_raw); var_raw = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_dataset); par_dataset = NULL; Py_XDECREF(var_raw); var_raw = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__6___call__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_test_loader = python_pars[1]; struct Nuitka_FrameObject *frame_d22562c3c8d13a87206feda6eb48d1fb; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_d22562c3c8d13a87206feda6eb48d1fb = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_d22562c3c8d13a87206feda6eb48d1fb)) { Py_XDECREF(cache_frame_d22562c3c8d13a87206feda6eb48d1fb); #if _DEBUG_REFCOUNTS if (cache_frame_d22562c3c8d13a87206feda6eb48d1fb == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_d22562c3c8d13a87206feda6eb48d1fb = MAKE_FUNCTION_FRAME(codeobj_d22562c3c8d13a87206feda6eb48d1fb, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_d22562c3c8d13a87206feda6eb48d1fb->m_type_description == NULL); frame_d22562c3c8d13a87206feda6eb48d1fb = cache_frame_d22562c3c8d13a87206feda6eb48d1fb; // Push the new frame as the currently active one. pushFrameStack(frame_d22562c3c8d13a87206feda6eb48d1fb); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_d22562c3c8d13a87206feda6eb48d1fb) == 2); // Frame stack // Framed code: { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_NotImplementedError; exception_type = tmp_raise_type_1; Py_INCREF(tmp_raise_type_1); exception_lineno = 54; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "oo"; goto frame_exception_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_d22562c3c8d13a87206feda6eb48d1fb); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_d22562c3c8d13a87206feda6eb48d1fb); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_d22562c3c8d13a87206feda6eb48d1fb, exception_lineno); } else if (exception_tb->tb_frame != &frame_d22562c3c8d13a87206feda6eb48d1fb->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_d22562c3c8d13a87206feda6eb48d1fb, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_d22562c3c8d13a87206feda6eb48d1fb, type_description_1, par_self, par_test_loader ); // Release cached frame if used for exception. if (frame_d22562c3c8d13a87206feda6eb48d1fb == cache_frame_d22562c3c8d13a87206feda6eb48d1fb) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_d22562c3c8d13a87206feda6eb48d1fb); cache_frame_d22562c3c8d13a87206feda6eb48d1fb = NULL; } assertFrameObject(frame_d22562c3c8d13a87206feda6eb48d1fb); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_test_loader); Py_DECREF(par_test_loader); par_test_loader = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; } static PyObject *impl_models$unet3d$predictor$$$function__7___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_model = python_pars[1]; PyObject *par_output_dir = python_pars[2]; PyObject *par_config = python_pars[3]; PyObject *par_kwargs = python_pars[4]; struct Nuitka_FrameObject *frame_80a71c310d45263d95d2a410d98e469a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_80a71c310d45263d95d2a410d98e469a = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_80a71c310d45263d95d2a410d98e469a)) { Py_XDECREF(cache_frame_80a71c310d45263d95d2a410d98e469a); #if _DEBUG_REFCOUNTS if (cache_frame_80a71c310d45263d95d2a410d98e469a == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_80a71c310d45263d95d2a410d98e469a = MAKE_FUNCTION_FRAME(codeobj_80a71c310d45263d95d2a410d98e469a, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_80a71c310d45263d95d2a410d98e469a->m_type_description == NULL); frame_80a71c310d45263d95d2a410d98e469a = cache_frame_80a71c310d45263d95d2a410d98e469a; // Push the new frame as the currently active one. pushFrameStack(frame_80a71c310d45263d95d2a410d98e469a); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_80a71c310d45263d95d2a410d98e469a) == 2); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_expression_name_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[24]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 73; type_description_1 = "oooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_expression_name_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 73; type_description_1 = "oooooc"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[25]); Py_DECREF(tmp_expression_name_1); if (tmp_dircall_arg1_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 73; type_description_1 = "oooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_model); tmp_tuple_element_1 = par_model; tmp_dircall_arg2_1 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_1); CHECK_OBJECT(par_output_dir); tmp_tuple_element_1 = par_output_dir; PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 1, tmp_tuple_element_1); CHECK_OBJECT(par_config); tmp_tuple_element_1 = par_config; PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 2, tmp_tuple_element_1); CHECK_OBJECT(par_kwargs); tmp_dircall_arg3_1 = par_kwargs; Py_INCREF(tmp_dircall_arg3_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_call_result_1 = impl_models$$$function__9_complex_call_helper_pos_star_dict(dir_call_args); } if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 73; type_description_1 = "oooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_80a71c310d45263d95d2a410d98e469a); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_80a71c310d45263d95d2a410d98e469a); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_80a71c310d45263d95d2a410d98e469a, exception_lineno); } else if (exception_tb->tb_frame != &frame_80a71c310d45263d95d2a410d98e469a->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_80a71c310d45263d95d2a410d98e469a, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_80a71c310d45263d95d2a410d98e469a, type_description_1, par_self, par_model, par_output_dir, par_config, par_kwargs, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_80a71c310d45263d95d2a410d98e469a == cache_frame_80a71c310d45263d95d2a410d98e469a) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_80a71c310d45263d95d2a410d98e469a); cache_frame_80a71c310d45263d95d2a410d98e469a = NULL; } assertFrameObject(frame_80a71c310d45263d95d2a410d98e469a); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_model); Py_DECREF(par_model); par_model = NULL; CHECK_OBJECT(par_output_dir); Py_DECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(par_config); Py_DECREF(par_config); par_config = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_model); Py_DECREF(par_model); par_model = NULL; CHECK_OBJECT(par_output_dir); Py_DECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(par_config); Py_DECREF(par_config); par_config = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__8___call__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_test_loader = python_pars[1]; PyObject *var_start = NULL; PyObject *var_prediction_channel = NULL; PyObject *var_volume_shape = NULL; PyObject *var_out_channels = NULL; PyObject *var_prediction_maps_shape = NULL; PyObject *var_patch_halo = NULL; PyObject *var_output_file = NULL; PyObject *var_h5_output_file = NULL; PyObject *var_prediction_map = NULL; PyObject *var_normalization_mask = NULL; PyObject *var_input = NULL; PyObject *var_indices = NULL; PyObject *var_prediction = NULL; PyObject *var_pred = NULL; PyObject *var_index = NULL; PyObject *var_channel_slice = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_for_loop_2__for_iterator = NULL; PyObject *tmp_for_loop_2__iter_value = NULL; PyObject *tmp_inplace_assign_subscr_1__subscript = NULL; PyObject *tmp_inplace_assign_subscr_1__target = NULL; PyObject *tmp_inplace_assign_subscr_1__value = NULL; PyObject *tmp_inplace_assign_subscr_2__subscript = NULL; PyObject *tmp_inplace_assign_subscr_2__target = NULL; PyObject *tmp_inplace_assign_subscr_2__value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; PyObject *tmp_tuple_unpack_3__element_1 = NULL; PyObject *tmp_tuple_unpack_3__element_2 = NULL; PyObject *tmp_tuple_unpack_3__source_iter = NULL; PyObject *tmp_with_1__enter = NULL; PyObject *tmp_with_1__exit = NULL; nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; PyObject *tmp_with_1__source = NULL; struct Nuitka_FrameObject *frame_12e22a3ebd81123517bf550395e990d0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; bool tmp_result; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; static struct Nuitka_FrameObject *cache_frame_12e22a3ebd81123517bf550395e990d0 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_12e22a3ebd81123517bf550395e990d0)) { Py_XDECREF(cache_frame_12e22a3ebd81123517bf550395e990d0); #if _DEBUG_REFCOUNTS if (cache_frame_12e22a3ebd81123517bf550395e990d0 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_12e22a3ebd81123517bf550395e990d0 = MAKE_FUNCTION_FRAME(codeobj_12e22a3ebd81123517bf550395e990d0, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_12e22a3ebd81123517bf550395e990d0->m_type_description == NULL); frame_12e22a3ebd81123517bf550395e990d0 = cache_frame_12e22a3ebd81123517bf550395e990d0; // Push the new frame as the currently active one. pushFrameStack(frame_12e22a3ebd81123517bf550395e990d0); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_12e22a3ebd81123517bf550395e990d0) == 2); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_expression_name_1; CHECK_OBJECT(par_test_loader); tmp_expression_name_1 = par_test_loader; tmp_isinstance_inst_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[26]); if (tmp_isinstance_inst_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 76; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[27]); if (unlikely(tmp_isinstance_cls_1 == NULL)) { tmp_isinstance_cls_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[27]); } if (tmp_isinstance_cls_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_isinstance_inst_1); exception_lineno = 76; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1); Py_DECREF(tmp_isinstance_inst_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 76; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = (tmp_res != 0) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 76; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF(tmp_raise_type_1); exception_lineno = 76; RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } branch_no_1:; { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; PyObject *tmp_string_concat_values_1; PyObject *tmp_tuple_element_1; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[28]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 77; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[29]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 77; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = mod_consts[30]; tmp_string_concat_values_1 = PyTuple_New(3); { PyObject *tmp_format_value_1; PyObject *tmp_expression_name_3; PyObject *tmp_expression_name_4; PyObject *tmp_format_spec_1; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 0, tmp_tuple_element_1); if (par_test_loader == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 77; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_1; } tmp_expression_name_4 = par_test_loader; tmp_expression_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[26]); if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 77; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_1; } tmp_format_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[3]); Py_DECREF(tmp_expression_name_3); if (tmp_format_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 77; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_1; } tmp_format_spec_1 = mod_consts[32]; tmp_tuple_element_1 = BUILTIN_FORMAT(tmp_format_value_1, tmp_format_spec_1); Py_DECREF(tmp_format_value_1); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 77; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 1, tmp_tuple_element_1); tmp_tuple_element_1 = mod_consts[33]; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 2, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_string_concat_values_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_args_element_name_1 = PyUnicode_Join(mod_consts[32], tmp_string_concat_values_1); Py_DECREF(tmp_string_concat_values_1); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_1); exception_lineno = 77; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 77; tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 77; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_called_instance_1 == NULL)) { tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 78; tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[34]); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 78; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_start == NULL); var_start = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_2; PyObject *tmp_expression_name_5; CHECK_OBJECT(par_self); tmp_expression_name_5 = par_self; tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[17]); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 80; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 80; tmp_assign_source_2 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, mod_consts[9], &PyTuple_GET_ITEM(mod_consts[35], 0) ); Py_DECREF(tmp_called_instance_2); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 80; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_prediction_channel == NULL); var_prediction_channel = tmp_assign_source_2; } { bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(var_prediction_channel); tmp_compexpr_left_1 = var_prediction_channel; tmp_compexpr_right_1 = Py_None; tmp_condition_result_2 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_called_name_2; PyObject *tmp_expression_name_6; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_2; PyObject *tmp_string_concat_values_2; PyObject *tmp_tuple_element_2; tmp_expression_name_6 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[28]); if (unlikely(tmp_expression_name_6 == NULL)) { tmp_expression_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]); } if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 82; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[29]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 82; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = mod_consts[36]; tmp_string_concat_values_2 = PyTuple_New(3); { PyObject *tmp_format_value_2; PyObject *tmp_format_spec_2; PyTuple_SET_ITEM0(tmp_string_concat_values_2, 0, tmp_tuple_element_2); CHECK_OBJECT(var_prediction_channel); tmp_format_value_2 = var_prediction_channel; tmp_format_spec_2 = mod_consts[32]; tmp_tuple_element_2 = BUILTIN_FORMAT(tmp_format_value_2, tmp_format_spec_2); if (tmp_tuple_element_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 82; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_string_concat_values_2, 1, tmp_tuple_element_2); tmp_tuple_element_2 = mod_consts[37]; PyTuple_SET_ITEM0(tmp_string_concat_values_2, 2, tmp_tuple_element_2); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_string_concat_values_2); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_args_element_name_2 = PyUnicode_Join(mod_consts[32], tmp_string_concat_values_2); Py_DECREF(tmp_string_concat_values_2); if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 82; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 82; tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_2); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_2); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 82; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_2); } branch_no_2:; { PyObject *tmp_called_name_3; PyObject *tmp_expression_name_7; PyObject *tmp_call_result_3; PyObject *tmp_args_element_name_3; PyObject *tmp_string_concat_values_3; PyObject *tmp_tuple_element_3; tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[28]); if (unlikely(tmp_expression_name_7 == NULL)) { tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]); } if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 84; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[29]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 84; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_3 = mod_consts[38]; tmp_string_concat_values_3 = PyTuple_New(3); { PyObject *tmp_format_value_3; PyObject *tmp_len_arg_1; PyObject *tmp_format_spec_3; PyTuple_SET_ITEM0(tmp_string_concat_values_3, 0, tmp_tuple_element_3); if (par_test_loader == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 84; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } tmp_len_arg_1 = par_test_loader; tmp_format_value_3 = BUILTIN_LEN(tmp_len_arg_1); if (tmp_format_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 84; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } tmp_format_spec_3 = mod_consts[32]; tmp_tuple_element_3 = BUILTIN_FORMAT(tmp_format_value_3, tmp_format_spec_3); Py_DECREF(tmp_format_value_3); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 84; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_3; } PyTuple_SET_ITEM(tmp_string_concat_values_3, 1, tmp_tuple_element_3); tmp_tuple_element_3 = mod_consts[39]; PyTuple_SET_ITEM0(tmp_string_concat_values_3, 2, tmp_tuple_element_3); } goto tuple_build_noexception_3; // Exception handling pass through code for tuple_build: tuple_build_exception_3:; Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_string_concat_values_3); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_3:; tmp_args_element_name_3 = PyUnicode_Join(mod_consts[32], tmp_string_concat_values_3); Py_DECREF(tmp_string_concat_values_3); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 84; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 84; tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_3); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_3); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 84; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_3); } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_8; PyObject *tmp_args_element_name_4; PyObject *tmp_expression_name_9; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 87; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_8 = par_self; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[41]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 87; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (par_test_loader == NULL) { Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 87; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_9 = par_test_loader; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[26]); if (tmp_args_element_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 87; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 87; tmp_assign_source_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_4, tmp_args_element_name_4); Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_4); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 87; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_volume_shape == NULL); var_volume_shape = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_called_instance_3; PyObject *tmp_expression_name_10; PyObject *tmp_expression_name_11; PyObject *tmp_subscript_name_1; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 88; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_11 = par_self; tmp_expression_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[17]); if (tmp_expression_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 88; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = mod_consts[15]; tmp_called_instance_3 = LOOKUP_SUBSCRIPT(tmp_expression_name_10, tmp_subscript_name_1); Py_DECREF(tmp_expression_name_10); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 88; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 88; tmp_assign_source_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, mod_consts[9], &PyTuple_GET_ITEM(mod_consts[42], 0) ); Py_DECREF(tmp_called_instance_3); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 88; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_out_channels == NULL); var_out_channels = tmp_assign_source_4; } { bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT(var_prediction_channel); tmp_compexpr_left_2 = var_prediction_channel; tmp_compexpr_right_2 = Py_None; tmp_condition_result_3 = (tmp_compexpr_left_2 == tmp_compexpr_right_2) ? true : false; if (tmp_condition_result_3 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_assign_source_5; PyObject *tmp_left_name_1; PyObject *tmp_tuple_element_4; PyObject *tmp_right_name_1; CHECK_OBJECT(var_out_channels); tmp_tuple_element_4 = var_out_channels; tmp_left_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_left_name_1, 0, tmp_tuple_element_4); CHECK_OBJECT(var_volume_shape); tmp_right_name_1 = var_volume_shape; tmp_assign_source_5 = BINARY_OPERATION_ADD_OBJECT_TUPLE_OBJECT(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_left_name_1); if (tmp_assign_source_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 90; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_prediction_maps_shape == NULL); var_prediction_maps_shape = tmp_assign_source_5; } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_6; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; tmp_left_name_2 = mod_consts[43]; CHECK_OBJECT(var_volume_shape); tmp_right_name_2 = var_volume_shape; tmp_assign_source_6 = BINARY_OPERATION_ADD_OBJECT_TUPLE_OBJECT(tmp_left_name_2, tmp_right_name_2); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 93; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_prediction_maps_shape == NULL); var_prediction_maps_shape = tmp_assign_source_6; } branch_end_3:; { PyObject *tmp_called_name_5; PyObject *tmp_expression_name_12; PyObject *tmp_call_result_4; PyObject *tmp_args_element_name_5; PyObject *tmp_string_concat_values_4; PyObject *tmp_tuple_element_5; tmp_expression_name_12 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[28]); if (unlikely(tmp_expression_name_12 == NULL)) { tmp_expression_name_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]); } if (tmp_expression_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 95; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[29]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 95; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_5 = mod_consts[44]; tmp_string_concat_values_4 = PyTuple_New(2); { PyObject *tmp_format_value_4; PyObject *tmp_format_spec_4; PyTuple_SET_ITEM0(tmp_string_concat_values_4, 0, tmp_tuple_element_5); CHECK_OBJECT(var_prediction_maps_shape); tmp_format_value_4 = var_prediction_maps_shape; tmp_format_spec_4 = mod_consts[32]; tmp_tuple_element_5 = BUILTIN_FORMAT(tmp_format_value_4, tmp_format_spec_4); if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 95; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_4; } PyTuple_SET_ITEM(tmp_string_concat_values_4, 1, tmp_tuple_element_5); } goto tuple_build_noexception_4; // Exception handling pass through code for tuple_build: tuple_build_exception_4:; Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_string_concat_values_4); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_4:; tmp_args_element_name_5 = PyUnicode_Join(mod_consts[32], tmp_string_concat_values_4); Py_DECREF(tmp_string_concat_values_4); if (tmp_args_element_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_5); exception_lineno = 95; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 95; tmp_call_result_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_5, tmp_args_element_name_5); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_element_name_5); if (tmp_call_result_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 95; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_4); } { PyObject *tmp_assign_source_7; PyObject *tmp_called_instance_4; PyObject *tmp_expression_name_13; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 98; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_13 = par_self; tmp_called_instance_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_13, mod_consts[18]); if (tmp_called_instance_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 98; tmp_assign_source_7 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_4, mod_consts[9], &PyTuple_GET_ITEM(mod_consts[45], 0) ); Py_DECREF(tmp_called_instance_4); if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 98; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_patch_halo == NULL); var_patch_halo = tmp_assign_source_7; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_called_name_6; PyObject *tmp_call_result_5; PyObject *tmp_args_element_name_6; PyObject *tmp_expression_name_14; int tmp_truth_name_1; tmp_called_name_6 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[46]); if (unlikely(tmp_called_name_6 == NULL)) { tmp_called_name_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]); } if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 99; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 99; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_14 = par_self; tmp_args_element_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[15]); if (tmp_args_element_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 99; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 99; tmp_call_result_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_6, tmp_args_element_name_6); Py_DECREF(tmp_args_element_name_6); if (tmp_call_result_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 99; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_5); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_call_result_5); exception_lineno = 99; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_call_result_5); if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { PyObject *tmp_assign_source_8; PyObject *tmp_list_arg_1; CHECK_OBJECT(var_patch_halo); tmp_list_arg_1 = var_patch_halo; tmp_assign_source_8 = MAKE_LIST(tmp_list_arg_1); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 100; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_patch_halo; assert(old != NULL); var_patch_halo = tmp_assign_source_8; Py_DECREF(old); } } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; int tmp_ass_subscript_res_1; tmp_ass_subvalue_1 = mod_consts[7]; CHECK_OBJECT(var_patch_halo); tmp_ass_subscribed_1 = var_patch_halo; tmp_ass_subscript_1 = mod_consts[7]; tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST(tmp_ass_subscribed_1, tmp_ass_subscript_1, 0, tmp_ass_subvalue_1); if (tmp_ass_subscript_res_1 == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 101; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } } branch_no_4:; { PyObject *tmp_assign_source_9; PyObject *tmp_called_name_7; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_expression_name_15; tmp_called_name_7 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[47]); if (unlikely(tmp_called_name_7 == NULL)) { tmp_called_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[47]); } if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_dict_key_1 = mod_consts[26]; if (par_test_loader == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 104; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_15 = par_test_loader; tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_15, mod_consts[26]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); { PyObject *tmp_expression_name_16; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[16]; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 104; type_description_1 = "oooooooooooooooooo"; goto dict_build_exception_1; } tmp_expression_name_16 = par_self; tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_16, mod_consts[16]); if (tmp_dict_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; type_description_1 = "oooooooooooooooooo"; goto dict_build_exception_1; } tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); Py_DECREF(tmp_dict_value_1); assert(!(tmp_res != 0)); } goto dict_build_noexception_1; // Exception handling pass through code for dict_build: dict_build_exception_1:; Py_DECREF(tmp_kwargs_name_1); goto frame_exception_exit_1; // Finished with no exception for dict_build: dict_build_noexception_1:; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 104; tmp_assign_source_9 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_7, tmp_kwargs_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 104; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_output_file == NULL); var_output_file = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; PyObject *tmp_called_instance_5; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; tmp_called_instance_5 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[48]); if (unlikely(tmp_called_instance_5 == NULL)) { tmp_called_instance_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]); } if (tmp_called_instance_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 105; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_output_file); tmp_args_element_name_7 = var_output_file; tmp_args_element_name_8 = mod_consts[50]; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 105; { PyObject *call_args[] = {tmp_args_element_name_7, tmp_args_element_name_8}; tmp_assign_source_10 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_5, mod_consts[49], call_args ); } if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 105; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } assert(var_h5_output_file == NULL); var_h5_output_file = tmp_assign_source_10; } { PyObject *tmp_called_instance_6; PyObject *tmp_call_result_6; tmp_called_instance_6 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[28]); if (unlikely(tmp_called_instance_6 == NULL)) { tmp_called_instance_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]); } if (tmp_called_instance_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 107; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 107; tmp_call_result_6 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_6, mod_consts[29], &PyTuple_GET_ITEM(mod_consts[51], 0) ); if (tmp_call_result_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 107; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_6); } // Tried code: { PyObject *tmp_assign_source_11; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_7; PyObject *tmp_args_element_name_9; PyObject *tmp_args_element_name_10; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 108; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_2; } tmp_called_instance_7 = par_self; CHECK_OBJECT(var_prediction_maps_shape); tmp_args_element_name_9 = var_prediction_maps_shape; CHECK_OBJECT(var_h5_output_file); tmp_args_element_name_10 = var_h5_output_file; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 108; { PyObject *call_args[] = {tmp_args_element_name_9, tmp_args_element_name_10}; tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_7, mod_consts[52], call_args ); } if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 108; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_2; } tmp_assign_source_11 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 108; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_11; } // Tried code: { PyObject *tmp_assign_source_12; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_12 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_12 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 108; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_12; } { PyObject *tmp_assign_source_13; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_13 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_13 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 108; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_13; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; exception_lineno = 108; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[4]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooooooooooooo"; exception_lineno = 108; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_14; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_14 = tmp_tuple_unpack_1__element_1; assert(var_prediction_map == NULL); Py_INCREF(tmp_assign_source_14); var_prediction_map = tmp_assign_source_14; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_15; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_15 = tmp_tuple_unpack_1__element_2; assert(var_normalization_mask == NULL); Py_INCREF(tmp_assign_source_15); var_normalization_mask = tmp_assign_source_15; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_called_instance_8; PyObject *tmp_expression_name_17; PyObject *tmp_call_result_7; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 112; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_17 = par_self; tmp_called_instance_8 = LOOKUP_ATTRIBUTE(tmp_expression_name_17, mod_consts[15]); if (tmp_called_instance_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 112; tmp_call_result_7 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[53]); Py_DECREF(tmp_called_instance_8); if (tmp_call_result_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 112; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_7); } // Tried code: { PyObject *tmp_assign_source_16; PyObject *tmp_called_instance_9; tmp_called_instance_9 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[54]); if (unlikely(tmp_called_instance_9 == NULL)) { tmp_called_instance_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]); } if (tmp_called_instance_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 114; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 114; tmp_assign_source_16 = CALL_METHOD_NO_ARGS(tmp_called_instance_9, mod_consts[55]); if (tmp_assign_source_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 114; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } assert(tmp_with_1__source == NULL); tmp_with_1__source = tmp_assign_source_16; } { PyObject *tmp_assign_source_17; PyObject *tmp_called_name_8; PyObject *tmp_expression_name_18; CHECK_OBJECT(tmp_with_1__source); tmp_expression_name_18 = tmp_with_1__source; tmp_called_name_8 = LOOKUP_SPECIAL(tmp_expression_name_18, mod_consts[56]); if (tmp_called_name_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 114; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 114; tmp_assign_source_17 = CALL_FUNCTION_NO_ARGS(tmp_called_name_8); Py_DECREF(tmp_called_name_8); if (tmp_assign_source_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 114; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } assert(tmp_with_1__enter == NULL); tmp_with_1__enter = tmp_assign_source_17; } { PyObject *tmp_assign_source_18; PyObject *tmp_expression_name_19; CHECK_OBJECT(tmp_with_1__source); tmp_expression_name_19 = tmp_with_1__source; tmp_assign_source_18 = LOOKUP_SPECIAL(tmp_expression_name_19, mod_consts[57]); if (tmp_assign_source_18 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 114; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } assert(tmp_with_1__exit == NULL); tmp_with_1__exit = tmp_assign_source_18; } { nuitka_bool tmp_assign_source_19; tmp_assign_source_19 = NUITKA_BOOL_TRUE; tmp_with_1__indicator = tmp_assign_source_19; } // Tried code: // Tried code: { PyObject *tmp_assign_source_20; PyObject *tmp_iter_arg_2; PyObject *tmp_called_name_9; PyObject *tmp_args_element_name_11; tmp_called_name_9 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[58]); if (unlikely(tmp_called_name_9 == NULL)) { tmp_called_name_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[58]); } if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_6; } if (par_test_loader == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 115; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_6; } tmp_args_element_name_11 = par_test_loader; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 115; tmp_iter_arg_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_9, tmp_args_element_name_11); if (tmp_iter_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_6; } tmp_assign_source_20 = MAKE_ITERATOR(tmp_iter_arg_2); Py_DECREF(tmp_iter_arg_2); if (tmp_assign_source_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_6; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_20; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_21; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_21 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_21 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; exception_lineno = 115; goto try_except_handler_7; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_21; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_22; PyObject *tmp_iter_arg_3; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_iter_arg_3 = tmp_for_loop_1__iter_value; tmp_assign_source_22 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_3); if (tmp_assign_source_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_8; } { PyObject *old = tmp_tuple_unpack_2__source_iter; tmp_tuple_unpack_2__source_iter = tmp_assign_source_22; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_23; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_23 = UNPACK_NEXT(tmp_unpack_3, 0, 2); if (tmp_assign_source_23 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 115; goto try_except_handler_9; } { PyObject *old = tmp_tuple_unpack_2__element_1; tmp_tuple_unpack_2__element_1 = tmp_assign_source_23; Py_XDECREF(old); } } { PyObject *tmp_assign_source_24; PyObject *tmp_unpack_4; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_24 = UNPACK_NEXT(tmp_unpack_4, 1, 2); if (tmp_assign_source_24 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 115; goto try_except_handler_9; } { PyObject *old = tmp_tuple_unpack_2__element_2; tmp_tuple_unpack_2__element_2 = tmp_assign_source_24; Py_XDECREF(old); } } { PyObject *tmp_iterator_name_2; CHECK_OBJECT(tmp_tuple_unpack_2__source_iter); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_2); assert(HAS_ITERNEXT(tmp_iterator_name_2)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_2)->tp_iternext)(tmp_iterator_name_2); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; exception_lineno = 115; goto try_except_handler_9; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[4]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooooooooooooo"; exception_lineno = 115; goto try_except_handler_9; } } goto try_end_3; // Exception handler code: try_except_handler_9:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_2__source_iter); tmp_tuple_unpack_2__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_8; // End of try: try_end_3:; goto try_end_4; // Exception handler code: try_except_handler_8:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_7; // End of try: try_end_4:; Py_XDECREF(tmp_tuple_unpack_2__source_iter); tmp_tuple_unpack_2__source_iter = NULL; { PyObject *tmp_assign_source_25; CHECK_OBJECT(tmp_tuple_unpack_2__element_1); tmp_assign_source_25 = tmp_tuple_unpack_2__element_1; { PyObject *old = var_input; var_input = tmp_assign_source_25; Py_INCREF(var_input); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; { PyObject *tmp_assign_source_26; CHECK_OBJECT(tmp_tuple_unpack_2__element_2); tmp_assign_source_26 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_indices; var_indices = tmp_assign_source_26; Py_INCREF(var_indices); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_1); tmp_tuple_unpack_2__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_2__element_2); tmp_tuple_unpack_2__element_2 = NULL; { nuitka_bool tmp_condition_result_5; PyObject *tmp_called_instance_10; PyObject *tmp_expression_name_20; PyObject *tmp_call_result_8; int tmp_truth_name_2; tmp_expression_name_20 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[54]); if (unlikely(tmp_expression_name_20 == NULL)) { tmp_expression_name_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]); } if (tmp_expression_name_20 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 117; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_called_instance_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_20, mod_consts[59]); if (tmp_called_instance_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 117; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 117; tmp_call_result_8 = CALL_METHOD_NO_ARGS(tmp_called_instance_10, mod_consts[60]); Py_DECREF(tmp_called_instance_10); if (tmp_call_result_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 117; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_8); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_call_result_8); exception_lineno = 117; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_condition_result_5 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_call_result_8); if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; { PyObject *tmp_assign_source_27; PyObject *tmp_called_name_10; PyObject *tmp_expression_name_21; PyObject *tmp_kwargs_name_2; CHECK_OBJECT(var_input); tmp_expression_name_21 = var_input; tmp_called_name_10 = LOOKUP_ATTRIBUTE(tmp_expression_name_21, mod_consts[59]); if (tmp_called_name_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 118; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_kwargs_name_2 = PyDict_Copy(mod_consts[61]); frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 118; tmp_assign_source_27 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_10, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_10); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_27 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 118; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } { PyObject *old = var_input; var_input = tmp_assign_source_27; Py_XDECREF(old); } } branch_no_5:; { PyObject *tmp_assign_source_28; PyObject *tmp_called_name_11; PyObject *tmp_args_element_name_12; PyObject *tmp_args_element_name_13; tmp_called_name_11 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[62]); if (unlikely(tmp_called_name_11 == NULL)) { tmp_called_name_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[62]); } if (tmp_called_name_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 120; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } CHECK_OBJECT(var_input); tmp_args_element_name_12 = var_input; if (var_patch_halo == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 120; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_args_element_name_13 = var_patch_halo; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 120; { PyObject *call_args[] = {tmp_args_element_name_12, tmp_args_element_name_13}; tmp_assign_source_28 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_11, call_args); } if (tmp_assign_source_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 120; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } { PyObject *old = var_input; assert(old != NULL); var_input = tmp_assign_source_28; Py_DECREF(old); } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_called_name_12; PyObject *tmp_call_result_9; PyObject *tmp_args_element_name_14; PyObject *tmp_expression_name_22; int tmp_truth_name_3; tmp_called_name_12 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[46]); if (unlikely(tmp_called_name_12 == NULL)) { tmp_called_name_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]); } if (tmp_called_name_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 122; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 122; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_expression_name_22 = par_self; tmp_args_element_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_22, mod_consts[15]); if (tmp_args_element_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 122; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 122; tmp_call_result_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_12, tmp_args_element_name_14); Py_DECREF(tmp_args_element_name_14); if (tmp_call_result_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 122; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_truth_name_3 = CHECK_IF_TRUE(tmp_call_result_9); if (tmp_truth_name_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_call_result_9); exception_lineno = 122; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_condition_result_6 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_call_result_9); if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) { goto branch_yes_6; } else { goto branch_no_6; } } branch_yes_6:; { PyObject *tmp_assign_source_29; PyObject *tmp_called_name_13; PyObject *tmp_expression_name_23; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_6; PyObject *tmp_kwargs_name_3; tmp_expression_name_23 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[54]); if (unlikely(tmp_expression_name_23 == NULL)) { tmp_expression_name_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]); } if (tmp_expression_name_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 124; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_called_name_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_23, mod_consts[64]); if (tmp_called_name_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 124; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } CHECK_OBJECT(var_input); tmp_tuple_element_6 = var_input; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_6); tmp_kwargs_name_3 = PyDict_Copy(mod_consts[65]); frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 124; tmp_assign_source_29 = CALL_FUNCTION(tmp_called_name_13, tmp_args_name_1, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_13); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_3); if (tmp_assign_source_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 124; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } { PyObject *old = var_input; var_input = tmp_assign_source_29; Py_XDECREF(old); } } { PyObject *tmp_assign_source_30; PyObject *tmp_called_instance_11; PyObject *tmp_args_element_name_15; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 126; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_called_instance_11 = par_self; CHECK_OBJECT(var_input); tmp_args_element_name_15 = var_input; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 126; tmp_assign_source_30 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_11, mod_consts[15], tmp_args_element_name_15); if (tmp_assign_source_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 126; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } { PyObject *old = var_prediction; var_prediction = tmp_assign_source_30; Py_XDECREF(old); } } { PyObject *tmp_assign_source_31; PyObject *tmp_called_name_14; PyObject *tmp_expression_name_24; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_7; PyObject *tmp_kwargs_name_4; tmp_expression_name_24 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[54]); if (unlikely(tmp_expression_name_24 == NULL)) { tmp_expression_name_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]); } if (tmp_expression_name_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_called_name_14 = LOOKUP_ATTRIBUTE(tmp_expression_name_24, mod_consts[66]); if (tmp_called_name_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } CHECK_OBJECT(var_prediction); tmp_tuple_element_7 = var_prediction; tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_7); tmp_kwargs_name_4 = PyDict_Copy(mod_consts[65]); frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 128; tmp_assign_source_31 = CALL_FUNCTION(tmp_called_name_14, tmp_args_name_2, tmp_kwargs_name_4); Py_DECREF(tmp_called_name_14); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_4); if (tmp_assign_source_31 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 128; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } { PyObject *old = var_prediction; var_prediction = tmp_assign_source_31; Py_XDECREF(old); } } goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_32; PyObject *tmp_called_instance_12; PyObject *tmp_args_element_name_16; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 131; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_called_instance_12 = par_self; CHECK_OBJECT(var_input); tmp_args_element_name_16 = var_input; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 131; tmp_assign_source_32 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_12, mod_consts[15], tmp_args_element_name_16); if (tmp_assign_source_32 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 131; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } { PyObject *old = var_prediction; var_prediction = tmp_assign_source_32; Py_XDECREF(old); } } branch_end_6:; { PyObject *tmp_assign_source_33; PyObject *tmp_called_name_15; PyObject *tmp_args_element_name_17; PyObject *tmp_args_element_name_18; tmp_called_name_15 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[67]); if (unlikely(tmp_called_name_15 == NULL)) { tmp_called_name_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[67]); } if (tmp_called_name_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 134; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } CHECK_OBJECT(var_prediction); tmp_args_element_name_17 = var_prediction; if (var_patch_halo == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 134; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_args_element_name_18 = var_patch_halo; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 134; { PyObject *call_args[] = {tmp_args_element_name_17, tmp_args_element_name_18}; tmp_assign_source_33 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_15, call_args); } if (tmp_assign_source_33 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 134; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } { PyObject *old = var_prediction; assert(old != NULL); var_prediction = tmp_assign_source_33; Py_DECREF(old); } } { PyObject *tmp_assign_source_34; PyObject *tmp_called_instance_13; PyObject *tmp_called_instance_14; CHECK_OBJECT(var_prediction); tmp_called_instance_14 = var_prediction; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 136; tmp_called_instance_13 = CALL_METHOD_NO_ARGS(tmp_called_instance_14, mod_consts[68]); if (tmp_called_instance_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 136; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 136; tmp_assign_source_34 = CALL_METHOD_NO_ARGS(tmp_called_instance_13, mod_consts[69]); Py_DECREF(tmp_called_instance_13); if (tmp_assign_source_34 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 136; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } { PyObject *old = var_prediction; var_prediction = tmp_assign_source_34; Py_XDECREF(old); } } { PyObject *tmp_assign_source_35; PyObject *tmp_iter_arg_4; PyObject *tmp_called_name_16; PyObject *tmp_args_element_name_19; PyObject *tmp_args_element_name_20; tmp_called_name_16 = (PyObject *)&PyZip_Type; CHECK_OBJECT(var_prediction); tmp_args_element_name_19 = var_prediction; CHECK_OBJECT(var_indices); tmp_args_element_name_20 = var_indices; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 138; { PyObject *call_args[] = {tmp_args_element_name_19, tmp_args_element_name_20}; tmp_iter_arg_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_16, call_args); } if (tmp_iter_arg_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } tmp_assign_source_35 = MAKE_ITERATOR(tmp_iter_arg_4); Py_DECREF(tmp_iter_arg_4); if (tmp_assign_source_35 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } { PyObject *old = tmp_for_loop_2__for_iterator; tmp_for_loop_2__for_iterator = tmp_assign_source_35; Py_XDECREF(old); } } // Tried code: loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_36; CHECK_OBJECT(tmp_for_loop_2__for_iterator); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_36 = ITERATOR_NEXT(tmp_next_source_2); if (tmp_assign_source_36 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; exception_lineno = 138; goto try_except_handler_10; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_36; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_37; PyObject *tmp_iter_arg_5; CHECK_OBJECT(tmp_for_loop_2__iter_value); tmp_iter_arg_5 = tmp_for_loop_2__iter_value; tmp_assign_source_37 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_5); if (tmp_assign_source_37 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_11; } { PyObject *old = tmp_tuple_unpack_3__source_iter; tmp_tuple_unpack_3__source_iter = tmp_assign_source_37; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_38; PyObject *tmp_unpack_5; CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); tmp_unpack_5 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_38 = UNPACK_NEXT(tmp_unpack_5, 0, 2); if (tmp_assign_source_38 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 138; goto try_except_handler_12; } { PyObject *old = tmp_tuple_unpack_3__element_1; tmp_tuple_unpack_3__element_1 = tmp_assign_source_38; Py_XDECREF(old); } } { PyObject *tmp_assign_source_39; PyObject *tmp_unpack_6; CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); tmp_unpack_6 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_39 = UNPACK_NEXT(tmp_unpack_6, 1, 2); if (tmp_assign_source_39 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooooooooooo"; exception_lineno = 138; goto try_except_handler_12; } { PyObject *old = tmp_tuple_unpack_3__element_2; tmp_tuple_unpack_3__element_2 = tmp_assign_source_39; Py_XDECREF(old); } } { PyObject *tmp_iterator_name_3; CHECK_OBJECT(tmp_tuple_unpack_3__source_iter); tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_3); assert(HAS_ITERNEXT(tmp_iterator_name_3)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_3)->tp_iternext)(tmp_iterator_name_3); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooooooooooo"; exception_lineno = 138; goto try_except_handler_12; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[4]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooooooooooooo"; exception_lineno = 138; goto try_except_handler_12; } } goto try_end_5; // Exception handler code: try_except_handler_12:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_3__source_iter); tmp_tuple_unpack_3__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_11; // End of try: try_end_5:; goto try_end_6; // Exception handler code: try_except_handler_11:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_3__element_1); tmp_tuple_unpack_3__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_2); tmp_tuple_unpack_3__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_10; // End of try: try_end_6:; Py_XDECREF(tmp_tuple_unpack_3__source_iter); tmp_tuple_unpack_3__source_iter = NULL; { PyObject *tmp_assign_source_40; CHECK_OBJECT(tmp_tuple_unpack_3__element_1); tmp_assign_source_40 = tmp_tuple_unpack_3__element_1; { PyObject *old = var_pred; var_pred = tmp_assign_source_40; Py_INCREF(var_pred); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_3__element_1); tmp_tuple_unpack_3__element_1 = NULL; { PyObject *tmp_assign_source_41; CHECK_OBJECT(tmp_tuple_unpack_3__element_2); tmp_assign_source_41 = tmp_tuple_unpack_3__element_2; { PyObject *old = var_index; var_index = tmp_assign_source_41; Py_INCREF(var_index); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_3__element_2); tmp_tuple_unpack_3__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_1); tmp_tuple_unpack_3__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_3__element_2); tmp_tuple_unpack_3__element_2 = NULL; { bool tmp_condition_result_7; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if (var_prediction_channel == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[70]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 140; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } tmp_compexpr_left_3 = var_prediction_channel; tmp_compexpr_right_3 = Py_None; tmp_condition_result_7 = (tmp_compexpr_left_3 == tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_7 != false) { goto branch_yes_7; } else { goto branch_no_7; } } branch_yes_7:; { PyObject *tmp_assign_source_42; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; tmp_start_name_1 = mod_consts[7]; if (var_out_channels == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[71]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 141; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } tmp_stop_name_1 = var_out_channels; tmp_assign_source_42 = MAKE_SLICEOBJ2(tmp_start_name_1, tmp_stop_name_1); assert(!(tmp_assign_source_42 == NULL)); { PyObject *old = var_channel_slice; var_channel_slice = tmp_assign_source_42; Py_XDECREF(old); } } goto branch_end_7; branch_no_7:; { PyObject *tmp_assign_source_43; tmp_assign_source_43 = mod_consts[72]; { PyObject *old = var_channel_slice; var_channel_slice = tmp_assign_source_43; Py_INCREF(var_channel_slice); Py_XDECREF(old); } } { PyObject *tmp_assign_source_44; PyObject *tmp_called_name_17; PyObject *tmp_expression_name_25; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_8; PyObject *tmp_expression_name_26; PyObject *tmp_subscript_name_2; PyObject *tmp_kwargs_name_5; tmp_expression_name_25 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[73]); if (unlikely(tmp_expression_name_25 == NULL)) { tmp_expression_name_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[73]); } if (tmp_expression_name_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 145; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } tmp_called_name_17 = LOOKUP_ATTRIBUTE(tmp_expression_name_25, mod_consts[74]); if (tmp_called_name_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 145; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } CHECK_OBJECT(var_pred); tmp_expression_name_26 = var_pred; if (var_prediction_channel == NULL) { Py_DECREF(tmp_called_name_17); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[70]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 145; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } tmp_subscript_name_2 = var_prediction_channel; tmp_tuple_element_8 = LOOKUP_SUBSCRIPT(tmp_expression_name_26, tmp_subscript_name_2); if (tmp_tuple_element_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_17); exception_lineno = 145; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } tmp_args_name_3 = PyTuple_New(1); PyTuple_SET_ITEM(tmp_args_name_3, 0, tmp_tuple_element_8); tmp_kwargs_name_5 = PyDict_Copy(mod_consts[75]); frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 145; tmp_assign_source_44 = CALL_FUNCTION(tmp_called_name_17, tmp_args_name_3, tmp_kwargs_name_5); Py_DECREF(tmp_called_name_17); Py_DECREF(tmp_args_name_3); Py_DECREF(tmp_kwargs_name_5); if (tmp_assign_source_44 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 145; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } { PyObject *old = var_pred; assert(old != NULL); var_pred = tmp_assign_source_44; Py_DECREF(old); } } branch_end_7:; { PyObject *tmp_assign_source_45; PyObject *tmp_left_name_3; PyObject *tmp_tuple_element_9; PyObject *tmp_right_name_3; PyObject *tmp_tuple_arg_1; CHECK_OBJECT(var_channel_slice); tmp_tuple_element_9 = var_channel_slice; tmp_left_name_3 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_left_name_3, 0, tmp_tuple_element_9); CHECK_OBJECT(var_index); tmp_tuple_arg_1 = var_index; tmp_right_name_3 = PySequence_Tuple(tmp_tuple_arg_1); if (tmp_right_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_left_name_3); exception_lineno = 148; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } tmp_assign_source_45 = BINARY_OPERATION_ADD_OBJECT_TUPLE_TUPLE(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_left_name_3); Py_DECREF(tmp_right_name_3); assert(!(tmp_assign_source_45 == NULL)); { PyObject *old = var_index; assert(old != NULL); var_index = tmp_assign_source_45; Py_DECREF(old); } } { PyObject *tmp_assign_source_46; if (var_prediction_map == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[76]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 150; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } tmp_assign_source_46 = var_prediction_map; { PyObject *old = tmp_inplace_assign_subscr_1__target; tmp_inplace_assign_subscr_1__target = tmp_assign_source_46; Py_INCREF(tmp_inplace_assign_subscr_1__target); Py_XDECREF(old); } } { PyObject *tmp_assign_source_47; CHECK_OBJECT(var_index); tmp_assign_source_47 = var_index; { PyObject *old = tmp_inplace_assign_subscr_1__subscript; tmp_inplace_assign_subscr_1__subscript = tmp_assign_source_47; Py_INCREF(tmp_inplace_assign_subscr_1__subscript); Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_48; PyObject *tmp_expression_name_27; PyObject *tmp_subscript_name_3; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); tmp_expression_name_27 = tmp_inplace_assign_subscr_1__target; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); tmp_subscript_name_3 = tmp_inplace_assign_subscr_1__subscript; tmp_assign_source_48 = LOOKUP_SUBSCRIPT(tmp_expression_name_27, tmp_subscript_name_3); if (tmp_assign_source_48 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 150; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_13; } { PyObject *old = tmp_inplace_assign_subscr_1__value; tmp_inplace_assign_subscr_1__value = tmp_assign_source_48; Py_XDECREF(old); } } { PyObject *tmp_assign_source_49; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); tmp_left_name_4 = tmp_inplace_assign_subscr_1__value; CHECK_OBJECT(var_pred); tmp_right_name_4 = var_pred; tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_4, tmp_right_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 150; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_13; } tmp_assign_source_49 = tmp_left_name_4; tmp_inplace_assign_subscr_1__value = tmp_assign_source_49; } { PyObject *tmp_ass_subvalue_2; PyObject *tmp_ass_subscribed_2; PyObject *tmp_ass_subscript_2; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); tmp_ass_subvalue_2 = tmp_inplace_assign_subscr_1__value; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); tmp_ass_subscribed_2 = tmp_inplace_assign_subscr_1__target; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); tmp_ass_subscript_2 = tmp_inplace_assign_subscr_1__subscript; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 150; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_13; } } goto try_end_7; // Exception handler code: try_except_handler_13:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); Py_DECREF(tmp_inplace_assign_subscr_1__target); tmp_inplace_assign_subscr_1__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); Py_DECREF(tmp_inplace_assign_subscr_1__subscript); tmp_inplace_assign_subscr_1__subscript = NULL; Py_XDECREF(tmp_inplace_assign_subscr_1__value); tmp_inplace_assign_subscr_1__value = NULL; // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_10; // End of try: try_end_7:; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); Py_DECREF(tmp_inplace_assign_subscr_1__target); tmp_inplace_assign_subscr_1__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); Py_DECREF(tmp_inplace_assign_subscr_1__subscript); tmp_inplace_assign_subscr_1__subscript = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); Py_DECREF(tmp_inplace_assign_subscr_1__value); tmp_inplace_assign_subscr_1__value = NULL; { PyObject *tmp_assign_source_50; if (var_normalization_mask == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 152; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } tmp_assign_source_50 = var_normalization_mask; { PyObject *old = tmp_inplace_assign_subscr_2__target; tmp_inplace_assign_subscr_2__target = tmp_assign_source_50; Py_INCREF(tmp_inplace_assign_subscr_2__target); Py_XDECREF(old); } } { PyObject *tmp_assign_source_51; CHECK_OBJECT(var_index); tmp_assign_source_51 = var_index; { PyObject *old = tmp_inplace_assign_subscr_2__subscript; tmp_inplace_assign_subscr_2__subscript = tmp_assign_source_51; Py_INCREF(tmp_inplace_assign_subscr_2__subscript); Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_52; PyObject *tmp_expression_name_28; PyObject *tmp_subscript_name_4; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); tmp_expression_name_28 = tmp_inplace_assign_subscr_2__target; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); tmp_subscript_name_4 = tmp_inplace_assign_subscr_2__subscript; tmp_assign_source_52 = LOOKUP_SUBSCRIPT(tmp_expression_name_28, tmp_subscript_name_4); if (tmp_assign_source_52 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 152; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_14; } { PyObject *old = tmp_inplace_assign_subscr_2__value; tmp_inplace_assign_subscr_2__value = tmp_assign_source_52; Py_XDECREF(old); } } { PyObject *tmp_assign_source_53; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; CHECK_OBJECT(tmp_inplace_assign_subscr_2__value); tmp_left_name_5 = tmp_inplace_assign_subscr_2__value; tmp_right_name_5 = mod_consts[78]; tmp_result = BINARY_OPERATION_ADD_OBJECT_LONG_INPLACE(&tmp_left_name_5, tmp_right_name_5); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 152; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_14; } tmp_assign_source_53 = tmp_left_name_5; tmp_inplace_assign_subscr_2__value = tmp_assign_source_53; } { PyObject *tmp_ass_subvalue_3; PyObject *tmp_ass_subscribed_3; PyObject *tmp_ass_subscript_3; CHECK_OBJECT(tmp_inplace_assign_subscr_2__value); tmp_ass_subvalue_3 = tmp_inplace_assign_subscr_2__value; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); tmp_ass_subscribed_3 = tmp_inplace_assign_subscr_2__target; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); tmp_ass_subscript_3 = tmp_inplace_assign_subscr_2__subscript; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 152; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_14; } } goto try_end_8; // Exception handler code: try_except_handler_14:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); Py_DECREF(tmp_inplace_assign_subscr_2__target); tmp_inplace_assign_subscr_2__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); Py_DECREF(tmp_inplace_assign_subscr_2__subscript); tmp_inplace_assign_subscr_2__subscript = NULL; Py_XDECREF(tmp_inplace_assign_subscr_2__value); tmp_inplace_assign_subscr_2__value = NULL; // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto try_except_handler_10; // End of try: try_end_8:; CHECK_OBJECT(tmp_inplace_assign_subscr_2__target); Py_DECREF(tmp_inplace_assign_subscr_2__target); tmp_inplace_assign_subscr_2__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_2__subscript); Py_DECREF(tmp_inplace_assign_subscr_2__subscript); tmp_inplace_assign_subscr_2__subscript = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_2__value); Py_DECREF(tmp_inplace_assign_subscr_2__value); tmp_inplace_assign_subscr_2__value = NULL; if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 138; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_10; } goto loop_start_2; loop_end_2:; goto try_end_9; // Exception handler code: try_except_handler_10:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_2__iter_value); tmp_for_loop_2__iter_value = NULL; Py_XDECREF(tmp_for_loop_2__for_iterator); tmp_for_loop_2__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto try_except_handler_7; // End of try: try_end_9:; Py_XDECREF(tmp_for_loop_2__iter_value); tmp_for_loop_2__iter_value = NULL; Py_XDECREF(tmp_for_loop_2__for_iterator); tmp_for_loop_2__for_iterator = NULL; if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_7; } goto loop_start_1; loop_end_1:; goto try_end_10; // Exception handler code: try_except_handler_7:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto try_except_handler_6; // End of try: try_end_10:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; goto try_end_11; // Exception handler code: try_except_handler_6:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_11 == NULL) { exception_keeper_tb_11 = MAKE_TRACEBACK(frame_12e22a3ebd81123517bf550395e990d0, exception_keeper_lineno_11); } else if (exception_keeper_lineno_11 != 0) { exception_keeper_tb_11 = ADD_TRACEBACK(exception_keeper_tb_11, frame_12e22a3ebd81123517bf550395e990d0, exception_keeper_lineno_11); } NORMALIZE_EXCEPTION(&exception_keeper_type_11, &exception_keeper_value_11, &exception_keeper_tb_11); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_11, exception_keeper_tb_11); PUBLISH_EXCEPTION(&exception_keeper_type_11, &exception_keeper_value_11, &exception_keeper_tb_11); // Tried code: { bool tmp_condition_result_8; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; tmp_compexpr_left_4 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_4 = PyExc_BaseException; tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_4, tmp_compexpr_right_4); assert(!(tmp_res == -1)); tmp_condition_result_8 = (tmp_res != 0) ? true : false; if (tmp_condition_result_8 != false) { goto branch_yes_8; } else { goto branch_no_8; } } branch_yes_8:; { nuitka_bool tmp_assign_source_54; tmp_assign_source_54 = NUITKA_BOOL_FALSE; tmp_with_1__indicator = tmp_assign_source_54; } { nuitka_bool tmp_condition_result_9; PyObject *tmp_operand_name_2; PyObject *tmp_called_name_18; PyObject *tmp_args_element_name_21; PyObject *tmp_args_element_name_22; PyObject *tmp_args_element_name_23; CHECK_OBJECT(tmp_with_1__exit); tmp_called_name_18 = tmp_with_1__exit; tmp_args_element_name_21 = EXC_TYPE(PyThreadState_GET()); tmp_args_element_name_22 = EXC_VALUE(PyThreadState_GET()); tmp_args_element_name_23 = EXC_TRACEBACK(PyThreadState_GET()); frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 115; { PyObject *call_args[] = {tmp_args_element_name_21, tmp_args_element_name_22, tmp_args_element_name_23}; tmp_operand_name_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_18, call_args); } if (tmp_operand_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_15; } tmp_res = CHECK_IF_TRUE(tmp_operand_name_2); Py_DECREF(tmp_operand_name_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_15; } tmp_condition_result_9 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) { goto branch_yes_9; } else { goto branch_no_9; } } branch_yes_9:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 115; } if (exception_tb && exception_tb->tb_frame == &frame_12e22a3ebd81123517bf550395e990d0->m_frame) frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_15; branch_no_9:; goto branch_end_8; branch_no_8:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 114; } if (exception_tb && exception_tb->tb_frame == &frame_12e22a3ebd81123517bf550395e990d0->m_frame) frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_15; branch_end_8:; goto try_end_12; // Exception handler code: try_except_handler_15:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto try_except_handler_5; // End of try: try_end_12:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto try_end_11; NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); return NULL; // End of try: try_end_11:; goto try_end_13; // Exception handler code: try_except_handler_5:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { bool tmp_condition_result_10; nuitka_bool tmp_compexpr_left_5; nuitka_bool tmp_compexpr_right_5; assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_5 = tmp_with_1__indicator; tmp_compexpr_right_5 = NUITKA_BOOL_TRUE; tmp_condition_result_10 = (tmp_compexpr_left_5 == tmp_compexpr_right_5) ? true : false; if (tmp_condition_result_10 != false) { goto branch_yes_10; } else { goto branch_no_10; } } branch_yes_10:; { PyObject *tmp_called_name_19; PyObject *tmp_call_result_10; CHECK_OBJECT(tmp_with_1__exit); tmp_called_name_19 = tmp_with_1__exit; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 115; tmp_call_result_10 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_19, &PyTuple_GET_ITEM(mod_consts[79], 0)); if (tmp_call_result_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(exception_keeper_type_13); Py_XDECREF(exception_keeper_value_13); Py_XDECREF(exception_keeper_tb_13); exception_lineno = 115; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } Py_DECREF(tmp_call_result_10); } branch_no_10:; // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto try_except_handler_4; // End of try: try_end_13:; { bool tmp_condition_result_11; nuitka_bool tmp_compexpr_left_6; nuitka_bool tmp_compexpr_right_6; assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_6 = tmp_with_1__indicator; tmp_compexpr_right_6 = NUITKA_BOOL_TRUE; tmp_condition_result_11 = (tmp_compexpr_left_6 == tmp_compexpr_right_6) ? true : false; if (tmp_condition_result_11 != false) { goto branch_yes_11; } else { goto branch_no_11; } } branch_yes_11:; { PyObject *tmp_called_name_20; PyObject *tmp_call_result_11; CHECK_OBJECT(tmp_with_1__exit); tmp_called_name_20 = tmp_with_1__exit; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 115; tmp_call_result_11 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_20, &PyTuple_GET_ITEM(mod_consts[79], 0)); if (tmp_call_result_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 115; type_description_1 = "oooooooooooooooooo"; goto try_except_handler_4; } Py_DECREF(tmp_call_result_11); } branch_no_11:; goto try_end_14; // Exception handler code: try_except_handler_4:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_with_1__source); tmp_with_1__source = NULL; Py_XDECREF(tmp_with_1__enter); tmp_with_1__enter = NULL; Py_XDECREF(tmp_with_1__exit); tmp_with_1__exit = NULL; // Re-raise. exception_type = exception_keeper_type_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto frame_exception_exit_1; // End of try: try_end_14:; CHECK_OBJECT(tmp_with_1__source); Py_DECREF(tmp_with_1__source); tmp_with_1__source = NULL; CHECK_OBJECT(tmp_with_1__enter); Py_DECREF(tmp_with_1__enter); tmp_with_1__enter = NULL; Py_XDECREF(tmp_with_1__exit); tmp_with_1__exit = NULL; { PyObject *tmp_called_name_21; PyObject *tmp_expression_name_29; PyObject *tmp_call_result_12; PyObject *tmp_args_element_name_24; PyObject *tmp_string_concat_values_5; PyObject *tmp_tuple_element_10; tmp_expression_name_29 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[28]); if (unlikely(tmp_expression_name_29 == NULL)) { tmp_expression_name_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]); } if (tmp_expression_name_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 154; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_21 = LOOKUP_ATTRIBUTE(tmp_expression_name_29, mod_consts[29]); if (tmp_called_name_21 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 154; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_10 = mod_consts[80]; tmp_string_concat_values_5 = PyTuple_New(3); { PyObject *tmp_format_value_5; PyObject *tmp_left_name_6; PyObject *tmp_called_instance_15; PyObject *tmp_right_name_6; PyObject *tmp_format_spec_5; PyTuple_SET_ITEM0(tmp_string_concat_values_5, 0, tmp_tuple_element_10); tmp_called_instance_15 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[34]); if (unlikely(tmp_called_instance_15 == NULL)) { tmp_called_instance_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[34]); } if (tmp_called_instance_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 154; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_5; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 154; tmp_left_name_6 = CALL_METHOD_NO_ARGS(tmp_called_instance_15, mod_consts[34]); if (tmp_left_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 154; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_5; } CHECK_OBJECT(var_start); tmp_right_name_6 = var_start; tmp_format_value_5 = BINARY_OPERATION_SUB_OBJECT_OBJECT_OBJECT(tmp_left_name_6, tmp_right_name_6); Py_DECREF(tmp_left_name_6); if (tmp_format_value_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 154; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_5; } tmp_format_spec_5 = mod_consts[81]; tmp_tuple_element_10 = BUILTIN_FORMAT(tmp_format_value_5, tmp_format_spec_5); Py_DECREF(tmp_format_value_5); if (tmp_tuple_element_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 154; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_5; } PyTuple_SET_ITEM(tmp_string_concat_values_5, 1, tmp_tuple_element_10); tmp_tuple_element_10 = mod_consts[82]; PyTuple_SET_ITEM0(tmp_string_concat_values_5, 2, tmp_tuple_element_10); } goto tuple_build_noexception_5; // Exception handling pass through code for tuple_build: tuple_build_exception_5:; Py_DECREF(tmp_called_name_21); Py_DECREF(tmp_string_concat_values_5); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_5:; tmp_args_element_name_24 = PyUnicode_Join(mod_consts[32], tmp_string_concat_values_5); Py_DECREF(tmp_string_concat_values_5); if (tmp_args_element_name_24 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_21); exception_lineno = 154; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 154; tmp_call_result_12 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_21, tmp_args_element_name_24); Py_DECREF(tmp_called_name_21); Py_DECREF(tmp_args_element_name_24); if (tmp_call_result_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 154; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_12); } { PyObject *tmp_called_name_22; PyObject *tmp_expression_name_30; PyObject *tmp_call_result_13; PyObject *tmp_args_element_name_25; PyObject *tmp_string_concat_values_6; PyObject *tmp_tuple_element_11; tmp_expression_name_30 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[28]); if (unlikely(tmp_expression_name_30 == NULL)) { tmp_expression_name_30 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]); } if (tmp_expression_name_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 156; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_22 = LOOKUP_ATTRIBUTE(tmp_expression_name_30, mod_consts[29]); if (tmp_called_name_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 156; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_11 = mod_consts[83]; tmp_string_concat_values_6 = PyTuple_New(2); { PyObject *tmp_format_value_6; PyObject *tmp_format_spec_6; PyTuple_SET_ITEM0(tmp_string_concat_values_6, 0, tmp_tuple_element_11); if (var_output_file == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[84]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 156; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_6; } tmp_format_value_6 = var_output_file; tmp_format_spec_6 = mod_consts[32]; tmp_tuple_element_11 = BUILTIN_FORMAT(tmp_format_value_6, tmp_format_spec_6); if (tmp_tuple_element_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 156; type_description_1 = "oooooooooooooooooo"; goto tuple_build_exception_6; } PyTuple_SET_ITEM(tmp_string_concat_values_6, 1, tmp_tuple_element_11); } goto tuple_build_noexception_6; // Exception handling pass through code for tuple_build: tuple_build_exception_6:; Py_DECREF(tmp_called_name_22); Py_DECREF(tmp_string_concat_values_6); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_6:; tmp_args_element_name_25 = PyUnicode_Join(mod_consts[32], tmp_string_concat_values_6); Py_DECREF(tmp_string_concat_values_6); if (tmp_args_element_name_25 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_22); exception_lineno = 156; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 156; tmp_call_result_13 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_22, tmp_args_element_name_25); Py_DECREF(tmp_called_name_22); Py_DECREF(tmp_args_element_name_25); if (tmp_call_result_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 156; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_13); } { PyObject *tmp_called_name_23; PyObject *tmp_expression_name_31; PyObject *tmp_call_result_14; PyObject *tmp_args_element_name_26; PyObject *tmp_args_element_name_27; PyObject *tmp_args_element_name_28; PyObject *tmp_args_element_name_29; PyObject *tmp_expression_name_32; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 157; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_31 = par_self; tmp_called_name_23 = LOOKUP_ATTRIBUTE(tmp_expression_name_31, mod_consts[85]); if (tmp_called_name_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 157; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } if (var_prediction_map == NULL) { Py_DECREF(tmp_called_name_23); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[76]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 157; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_26 = var_prediction_map; if (var_normalization_mask == NULL) { Py_DECREF(tmp_called_name_23); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 157; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_27 = var_normalization_mask; if (var_h5_output_file == NULL) { Py_DECREF(tmp_called_name_23); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 157; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_28 = var_h5_output_file; if (par_test_loader == NULL) { Py_DECREF(tmp_called_name_23); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[31]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 157; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_expression_name_32 = par_test_loader; tmp_args_element_name_29 = LOOKUP_ATTRIBUTE(tmp_expression_name_32, mod_consts[26]); if (tmp_args_element_name_29 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_23); exception_lineno = 157; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 157; { PyObject *call_args[] = {tmp_args_element_name_26, tmp_args_element_name_27, tmp_args_element_name_28, tmp_args_element_name_29}; tmp_call_result_14 = CALL_FUNCTION_WITH_ARGS4(tmp_called_name_23, call_args); } Py_DECREF(tmp_called_name_23); Py_DECREF(tmp_args_element_name_29); if (tmp_call_result_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 157; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_14); } { PyObject *tmp_called_instance_16; PyObject *tmp_call_result_15; if (var_h5_output_file == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 159; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_16 = var_h5_output_file; frame_12e22a3ebd81123517bf550395e990d0->m_frame.f_lineno = 159; tmp_call_result_15 = CALL_METHOD_NO_ARGS(tmp_called_instance_16, mod_consts[87]); if (tmp_call_result_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 159; type_description_1 = "oooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_15); } #if 0 RESTORE_FRAME_EXCEPTION(frame_12e22a3ebd81123517bf550395e990d0); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_12e22a3ebd81123517bf550395e990d0); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_12e22a3ebd81123517bf550395e990d0, exception_lineno); } else if (exception_tb->tb_frame != &frame_12e22a3ebd81123517bf550395e990d0->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_12e22a3ebd81123517bf550395e990d0, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_12e22a3ebd81123517bf550395e990d0, type_description_1, par_self, par_test_loader, var_start, var_prediction_channel, var_volume_shape, var_out_channels, var_prediction_maps_shape, var_patch_halo, var_output_file, var_h5_output_file, var_prediction_map, var_normalization_mask, var_input, var_indices, var_prediction, var_pred, var_index, var_channel_slice ); // Release cached frame if used for exception. if (frame_12e22a3ebd81123517bf550395e990d0 == cache_frame_12e22a3ebd81123517bf550395e990d0) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_12e22a3ebd81123517bf550395e990d0); cache_frame_12e22a3ebd81123517bf550395e990d0 = NULL; } assertFrameObject(frame_12e22a3ebd81123517bf550395e990d0); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_test_loader); par_test_loader = NULL; Py_XDECREF(var_start); var_start = NULL; Py_XDECREF(var_prediction_channel); var_prediction_channel = NULL; Py_XDECREF(var_volume_shape); var_volume_shape = NULL; Py_XDECREF(var_out_channels); var_out_channels = NULL; Py_XDECREF(var_prediction_maps_shape); var_prediction_maps_shape = NULL; Py_XDECREF(var_patch_halo); var_patch_halo = NULL; Py_XDECREF(var_output_file); var_output_file = NULL; Py_XDECREF(var_h5_output_file); var_h5_output_file = NULL; Py_XDECREF(var_prediction_map); var_prediction_map = NULL; Py_XDECREF(var_normalization_mask); var_normalization_mask = NULL; Py_XDECREF(var_input); var_input = NULL; Py_XDECREF(var_indices); var_indices = NULL; Py_XDECREF(var_prediction); var_prediction = NULL; Py_XDECREF(var_pred); var_pred = NULL; Py_XDECREF(var_index); var_index = NULL; Py_XDECREF(var_channel_slice); var_channel_slice = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_test_loader); par_test_loader = NULL; Py_XDECREF(var_start); var_start = NULL; Py_XDECREF(var_prediction_channel); var_prediction_channel = NULL; Py_XDECREF(var_volume_shape); var_volume_shape = NULL; Py_XDECREF(var_out_channels); var_out_channels = NULL; Py_XDECREF(var_prediction_maps_shape); var_prediction_maps_shape = NULL; Py_XDECREF(var_patch_halo); var_patch_halo = NULL; Py_XDECREF(var_output_file); var_output_file = NULL; Py_XDECREF(var_h5_output_file); var_h5_output_file = NULL; Py_XDECREF(var_prediction_map); var_prediction_map = NULL; Py_XDECREF(var_normalization_mask); var_normalization_mask = NULL; Py_XDECREF(var_input); var_input = NULL; Py_XDECREF(var_indices); var_indices = NULL; Py_XDECREF(var_prediction); var_prediction = NULL; Py_XDECREF(var_pred); var_pred = NULL; Py_XDECREF(var_index); var_index = NULL; Py_XDECREF(var_channel_slice); var_channel_slice = NULL; // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__9__allocate_prediction_maps(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_output_shape = python_pars[1]; PyObject *par_output_file = python_pars[2]; PyObject *var_prediction_map = NULL; PyObject *var_normalization_mask = NULL; struct Nuitka_FrameObject *frame_9acb737f0b5b77657e415d5b3f608a87; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_9acb737f0b5b77657e415d5b3f608a87 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_9acb737f0b5b77657e415d5b3f608a87)) { Py_XDECREF(cache_frame_9acb737f0b5b77657e415d5b3f608a87); #if _DEBUG_REFCOUNTS if (cache_frame_9acb737f0b5b77657e415d5b3f608a87 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_9acb737f0b5b77657e415d5b3f608a87 = MAKE_FUNCTION_FRAME(codeobj_9acb737f0b5b77657e415d5b3f608a87, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_9acb737f0b5b77657e415d5b3f608a87->m_type_description == NULL); frame_9acb737f0b5b77657e415d5b3f608a87 = cache_frame_9acb737f0b5b77657e415d5b3f608a87; // Push the new frame as the currently active one. pushFrameStack(frame_9acb737f0b5b77657e415d5b3f608a87); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_9acb737f0b5b77657e415d5b3f608a87) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kwargs_name_1; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[73]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[73]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[88]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "ooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_output_shape); tmp_tuple_element_1 = par_output_shape; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_kwargs_name_1 = PyDict_Copy(mod_consts[89]); frame_9acb737f0b5b77657e415d5b3f608a87->m_frame.f_lineno = 163; tmp_assign_source_1 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 163; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert(var_prediction_map == NULL); var_prediction_map = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_2; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[73]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[73]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 165; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[88]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 165; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if (par_output_shape == NULL) { Py_DECREF(tmp_called_name_2); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[90]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 165; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = par_output_shape; tmp_args_name_2 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_2); tmp_kwargs_name_2 = PyDict_Copy(mod_consts[91]); frame_9acb737f0b5b77657e415d5b3f608a87->m_frame.f_lineno = 165; tmp_assign_source_2 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_2); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 165; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert(var_normalization_mask == NULL); var_normalization_mask = tmp_assign_source_2; } #if 0 RESTORE_FRAME_EXCEPTION(frame_9acb737f0b5b77657e415d5b3f608a87); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_9acb737f0b5b77657e415d5b3f608a87); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_9acb737f0b5b77657e415d5b3f608a87, exception_lineno); } else if (exception_tb->tb_frame != &frame_9acb737f0b5b77657e415d5b3f608a87->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_9acb737f0b5b77657e415d5b3f608a87, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_9acb737f0b5b77657e415d5b3f608a87, type_description_1, par_self, par_output_shape, par_output_file, var_prediction_map, var_normalization_mask ); // Release cached frame if used for exception. if (frame_9acb737f0b5b77657e415d5b3f608a87 == cache_frame_9acb737f0b5b77657e415d5b3f608a87) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_9acb737f0b5b77657e415d5b3f608a87); cache_frame_9acb737f0b5b77657e415d5b3f608a87 = NULL; } assertFrameObject(frame_9acb737f0b5b77657e415d5b3f608a87); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { PyObject *tmp_tuple_element_3; CHECK_OBJECT(var_prediction_map); tmp_tuple_element_3 = var_prediction_map; tmp_return_value = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_3); CHECK_OBJECT(var_normalization_mask); tmp_tuple_element_3 = var_normalization_mask; PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_3); goto try_return_handler_1; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_output_shape); par_output_shape = NULL; CHECK_OBJECT(par_output_file); Py_DECREF(par_output_file); par_output_file = NULL; CHECK_OBJECT(var_prediction_map); Py_DECREF(var_prediction_map); var_prediction_map = NULL; CHECK_OBJECT(var_normalization_mask); Py_DECREF(var_normalization_mask); var_normalization_mask = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_output_shape); par_output_shape = NULL; CHECK_OBJECT(par_output_file); Py_DECREF(par_output_file); par_output_file = NULL; Py_XDECREF(var_prediction_map); var_prediction_map = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__10__save_results(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_prediction_map = python_pars[1]; PyObject *par_normalization_mask = python_pars[2]; PyObject *par_output_file = python_pars[3]; PyObject *par_dataset = python_pars[4]; PyObject *var_dataset_name = NULL; struct Nuitka_FrameObject *frame_e718675254b06885e1aa7656b16dec34; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; int tmp_res; static struct Nuitka_FrameObject *cache_frame_e718675254b06885e1aa7656b16dec34 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_e718675254b06885e1aa7656b16dec34)) { Py_XDECREF(cache_frame_e718675254b06885e1aa7656b16dec34); #if _DEBUG_REFCOUNTS if (cache_frame_e718675254b06885e1aa7656b16dec34 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_e718675254b06885e1aa7656b16dec34 = MAKE_FUNCTION_FRAME(codeobj_e718675254b06885e1aa7656b16dec34, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_e718675254b06885e1aa7656b16dec34->m_type_description == NULL); frame_e718675254b06885e1aa7656b16dec34 = cache_frame_e718675254b06885e1aa7656b16dec34; // Push the new frame as the currently active one. pushFrameStack(frame_e718675254b06885e1aa7656b16dec34); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_e718675254b06885e1aa7656b16dec34) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_expression_name_1; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[92]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[92]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 169; type_description_1 = "oooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[17]); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 169; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_e718675254b06885e1aa7656b16dec34->m_frame.f_lineno = 169; tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 169; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(var_dataset_name == NULL); var_dataset_name = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT(par_prediction_map); tmp_left_name_1 = par_prediction_map; CHECK_OBJECT(par_normalization_mask); tmp_right_name_1 = par_normalization_mask; tmp_assign_source_2 = BINARY_OPERATION_TRUEDIV_OBJECT_OBJECT_OBJECT(tmp_left_name_1, tmp_right_name_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 170; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = par_prediction_map; par_prediction_map = tmp_assign_source_2; Py_XDECREF(old); } } { PyObject *tmp_called_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_call_result_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; CHECK_OBJECT(par_output_file); tmp_expression_name_2 = par_output_file; tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[93]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 171; type_description_1 = "oooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_dataset_name); tmp_tuple_element_1 = var_dataset_name; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_dict_key_1 = mod_consts[94]; CHECK_OBJECT(par_prediction_map); tmp_dict_value_1 = par_prediction_map; tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[95]; tmp_dict_value_1 = mod_consts[96]; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_e718675254b06885e1aa7656b16dec34->m_frame.f_lineno = 171; tmp_call_result_1 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 171; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_e718675254b06885e1aa7656b16dec34); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_e718675254b06885e1aa7656b16dec34); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_e718675254b06885e1aa7656b16dec34, exception_lineno); } else if (exception_tb->tb_frame != &frame_e718675254b06885e1aa7656b16dec34->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_e718675254b06885e1aa7656b16dec34, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_e718675254b06885e1aa7656b16dec34, type_description_1, par_self, par_prediction_map, par_normalization_mask, par_output_file, par_dataset, var_dataset_name ); // Release cached frame if used for exception. if (frame_e718675254b06885e1aa7656b16dec34 == cache_frame_e718675254b06885e1aa7656b16dec34) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_e718675254b06885e1aa7656b16dec34); cache_frame_e718675254b06885e1aa7656b16dec34 = NULL; } assertFrameObject(frame_e718675254b06885e1aa7656b16dec34); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_prediction_map); par_prediction_map = NULL; Py_XDECREF(par_normalization_mask); par_normalization_mask = NULL; Py_XDECREF(par_output_file); par_output_file = NULL; CHECK_OBJECT(par_dataset); Py_DECREF(par_dataset); par_dataset = NULL; Py_XDECREF(var_dataset_name); var_dataset_name = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_prediction_map); par_prediction_map = NULL; Py_XDECREF(par_normalization_mask); par_normalization_mask = NULL; Py_XDECREF(par_output_file); par_output_file = NULL; CHECK_OBJECT(par_dataset); Py_DECREF(par_dataset); par_dataset = NULL; Py_XDECREF(var_dataset_name); var_dataset_name = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__11__pad(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_m = python_pars[0]; PyObject *par_patch_halo = python_pars[1]; PyObject *var_z = NULL; PyObject *var_y = NULL; PyObject *var_x = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_989443e4e43d7438067f39a09157b360; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_989443e4e43d7438067f39a09157b360 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_989443e4e43d7438067f39a09157b360)) { Py_XDECREF(cache_frame_989443e4e43d7438067f39a09157b360); #if _DEBUG_REFCOUNTS if (cache_frame_989443e4e43d7438067f39a09157b360 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_989443e4e43d7438067f39a09157b360 = MAKE_FUNCTION_FRAME(codeobj_989443e4e43d7438067f39a09157b360, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_989443e4e43d7438067f39a09157b360->m_type_description == NULL); frame_989443e4e43d7438067f39a09157b360 = cache_frame_989443e4e43d7438067f39a09157b360; // Push the new frame as the currently active one. pushFrameStack(frame_989443e4e43d7438067f39a09157b360); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_989443e4e43d7438067f39a09157b360) == 2); // Frame stack // Framed code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(par_patch_halo); tmp_compexpr_left_1 = par_patch_halo; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; CHECK_OBJECT(par_patch_halo); tmp_iter_arg_1 = par_patch_halo; tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 176; type_description_1 = "ooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 3); if (tmp_assign_source_2 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooo"; exception_lineno = 176; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 3); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooo"; exception_lineno = 176; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 3); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooo"; exception_lineno = 176; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_3 == NULL); tmp_tuple_unpack_1__element_3 = tmp_assign_source_4; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooo"; exception_lineno = 176; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[97]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "ooooo"; exception_lineno = 176; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_5; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_5 = tmp_tuple_unpack_1__element_1; assert(var_z == NULL); Py_INCREF(tmp_assign_source_5); var_z = tmp_assign_source_5; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_6 = tmp_tuple_unpack_1__element_2; assert(var_y == NULL); Py_INCREF(tmp_assign_source_6); var_y = tmp_assign_source_6; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_3); tmp_assign_source_7 = tmp_tuple_unpack_1__element_3; assert(var_x == NULL); Py_INCREF(tmp_assign_source_7); var_x = tmp_assign_source_7; } Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; { PyObject *tmp_called_name_1; PyObject *tmp_expression_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kwargs_name_1; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[11]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[11]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_expression_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[98]); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[99]); Py_DECREF(tmp_expression_name_1); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_1 = "ooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_m); tmp_tuple_element_1 = par_m; tmp_args_name_1 = PyTuple_New(2); { PyObject *tmp_tuple_element_2; PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); CHECK_OBJECT(var_x); tmp_tuple_element_2 = var_x; tmp_tuple_element_1 = PyTuple_New(6); PyTuple_SET_ITEM0(tmp_tuple_element_1, 0, tmp_tuple_element_2); CHECK_OBJECT(var_x); tmp_tuple_element_2 = var_x; PyTuple_SET_ITEM0(tmp_tuple_element_1, 1, tmp_tuple_element_2); CHECK_OBJECT(var_y); tmp_tuple_element_2 = var_y; PyTuple_SET_ITEM0(tmp_tuple_element_1, 2, tmp_tuple_element_2); CHECK_OBJECT(var_y); tmp_tuple_element_2 = var_y; PyTuple_SET_ITEM0(tmp_tuple_element_1, 3, tmp_tuple_element_2); CHECK_OBJECT(var_z); tmp_tuple_element_2 = var_z; PyTuple_SET_ITEM0(tmp_tuple_element_1, 4, tmp_tuple_element_2); CHECK_OBJECT(var_z); tmp_tuple_element_2 = var_z; PyTuple_SET_ITEM0(tmp_tuple_element_1, 5, tmp_tuple_element_2); PyTuple_SET_ITEM(tmp_args_name_1, 1, tmp_tuple_element_1); } tmp_kwargs_name_1 = PyDict_Copy(mod_consts[100]); frame_989443e4e43d7438067f39a09157b360->m_frame.f_lineno = 177; tmp_return_value = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 177; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_989443e4e43d7438067f39a09157b360); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_989443e4e43d7438067f39a09157b360); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_989443e4e43d7438067f39a09157b360); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_989443e4e43d7438067f39a09157b360, exception_lineno); } else if (exception_tb->tb_frame != &frame_989443e4e43d7438067f39a09157b360->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_989443e4e43d7438067f39a09157b360, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_989443e4e43d7438067f39a09157b360, type_description_1, par_m, par_patch_halo, var_z, var_y, var_x ); // Release cached frame if used for exception. if (frame_989443e4e43d7438067f39a09157b360 == cache_frame_989443e4e43d7438067f39a09157b360) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_989443e4e43d7438067f39a09157b360); cache_frame_989443e4e43d7438067f39a09157b360 = NULL; } assertFrameObject(frame_989443e4e43d7438067f39a09157b360); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(par_m); tmp_return_value = par_m; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_m); par_m = NULL; Py_XDECREF(par_patch_halo); par_patch_halo = NULL; Py_XDECREF(var_z); var_z = NULL; Py_XDECREF(var_y); var_y = NULL; Py_XDECREF(var_x); var_x = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_m); par_m = NULL; Py_XDECREF(par_patch_halo); par_patch_halo = NULL; Py_XDECREF(var_z); var_z = NULL; Py_XDECREF(var_y); var_y = NULL; Py_XDECREF(var_x); var_x = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__12__unpad(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_m = python_pars[0]; PyObject *par_patch_halo = python_pars[1]; PyObject *var_z = NULL; PyObject *var_y = NULL; PyObject *var_x = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_07cbe57c14d20fc9570d667e537912d9; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_07cbe57c14d20fc9570d667e537912d9 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_07cbe57c14d20fc9570d667e537912d9)) { Py_XDECREF(cache_frame_07cbe57c14d20fc9570d667e537912d9); #if _DEBUG_REFCOUNTS if (cache_frame_07cbe57c14d20fc9570d667e537912d9 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_07cbe57c14d20fc9570d667e537912d9 = MAKE_FUNCTION_FRAME(codeobj_07cbe57c14d20fc9570d667e537912d9, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_07cbe57c14d20fc9570d667e537912d9->m_type_description == NULL); frame_07cbe57c14d20fc9570d667e537912d9 = cache_frame_07cbe57c14d20fc9570d667e537912d9; // Push the new frame as the currently active one. pushFrameStack(frame_07cbe57c14d20fc9570d667e537912d9); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_07cbe57c14d20fc9570d667e537912d9) == 2); // Frame stack // Framed code: { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(par_patch_halo); tmp_compexpr_left_1 = par_patch_halo; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; CHECK_OBJECT(par_patch_halo); tmp_iter_arg_1 = par_patch_halo; tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 183; type_description_1 = "ooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 3); if (tmp_assign_source_2 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooo"; exception_lineno = 183; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 3); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooo"; exception_lineno = 183; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 3); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "ooooo"; exception_lineno = 183; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_3 == NULL); tmp_tuple_unpack_1__element_3 = tmp_assign_source_4; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "ooooo"; exception_lineno = 183; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[97]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "ooooo"; exception_lineno = 183; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_5; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_5 = tmp_tuple_unpack_1__element_1; assert(var_z == NULL); Py_INCREF(tmp_assign_source_5); var_z = tmp_assign_source_5; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_6 = tmp_tuple_unpack_1__element_2; assert(var_y == NULL); Py_INCREF(tmp_assign_source_6); var_y = tmp_assign_source_6; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_3); tmp_assign_source_7 = tmp_tuple_unpack_1__element_3; assert(var_x == NULL); Py_INCREF(tmp_assign_source_7); var_x = tmp_assign_source_7; } Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_tmp_condition_result_2_object_1; int tmp_truth_name_1; CHECK_OBJECT(var_z); tmp_compexpr_left_2 = var_z; tmp_compexpr_right_2 = mod_consts[7]; tmp_tmp_condition_result_2_object_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_2, tmp_compexpr_right_2); if (tmp_tmp_condition_result_2_object_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 184; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_tmp_condition_result_2_object_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_tmp_condition_result_2_object_1); exception_lineno = 184; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_tmp_condition_result_2_object_1); if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_expression_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_tuple_element_1; CHECK_OBJECT(par_m); tmp_expression_name_1 = par_m; tmp_tuple_element_1 = Py_Ellipsis; tmp_subscript_name_1 = PyTuple_New(3); { PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_operand_name_1; PyObject *tmp_start_name_2; PyObject *tmp_stop_name_2; PyObject *tmp_operand_name_2; PyTuple_SET_ITEM0(tmp_subscript_name_1, 0, tmp_tuple_element_1); CHECK_OBJECT(var_y); tmp_start_name_1 = var_y; CHECK_OBJECT(var_y); tmp_operand_name_1 = var_y; tmp_stop_name_1 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_1); if (tmp_stop_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; type_description_1 = "ooooo"; goto tuple_build_exception_1; } tmp_tuple_element_1 = MAKE_SLICEOBJ2(tmp_start_name_1, tmp_stop_name_1); Py_DECREF(tmp_stop_name_1); assert(!(tmp_tuple_element_1 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_1, 1, tmp_tuple_element_1); CHECK_OBJECT(var_x); tmp_start_name_2 = var_x; CHECK_OBJECT(var_x); tmp_operand_name_2 = var_x; tmp_stop_name_2 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_2); if (tmp_stop_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; type_description_1 = "ooooo"; goto tuple_build_exception_1; } tmp_tuple_element_1 = MAKE_SLICEOBJ2(tmp_start_name_2, tmp_stop_name_2); Py_DECREF(tmp_stop_name_2); assert(!(tmp_tuple_element_1 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_1, 2, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_subscript_name_1); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_name_1, tmp_subscript_name_1); Py_DECREF(tmp_subscript_name_1); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 185; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_2; branch_no_2:; { PyObject *tmp_expression_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_tuple_element_2; CHECK_OBJECT(par_m); tmp_expression_name_2 = par_m; tmp_tuple_element_2 = Py_Ellipsis; tmp_subscript_name_2 = PyTuple_New(4); { PyObject *tmp_start_name_3; PyObject *tmp_stop_name_3; PyObject *tmp_operand_name_3; PyObject *tmp_start_name_4; PyObject *tmp_stop_name_4; PyObject *tmp_operand_name_4; PyObject *tmp_start_name_5; PyObject *tmp_stop_name_5; PyObject *tmp_operand_name_5; PyTuple_SET_ITEM0(tmp_subscript_name_2, 0, tmp_tuple_element_2); CHECK_OBJECT(var_z); tmp_start_name_3 = var_z; CHECK_OBJECT(var_z); tmp_operand_name_3 = var_z; tmp_stop_name_3 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_3); if (tmp_stop_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 187; type_description_1 = "ooooo"; goto tuple_build_exception_2; } tmp_tuple_element_2 = MAKE_SLICEOBJ2(tmp_start_name_3, tmp_stop_name_3); Py_DECREF(tmp_stop_name_3); assert(!(tmp_tuple_element_2 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_2, 1, tmp_tuple_element_2); CHECK_OBJECT(var_y); tmp_start_name_4 = var_y; CHECK_OBJECT(var_y); tmp_operand_name_4 = var_y; tmp_stop_name_4 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_4); if (tmp_stop_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 187; type_description_1 = "ooooo"; goto tuple_build_exception_2; } tmp_tuple_element_2 = MAKE_SLICEOBJ2(tmp_start_name_4, tmp_stop_name_4); Py_DECREF(tmp_stop_name_4); assert(!(tmp_tuple_element_2 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_2, 2, tmp_tuple_element_2); CHECK_OBJECT(var_x); tmp_start_name_5 = var_x; CHECK_OBJECT(var_x); tmp_operand_name_5 = var_x; tmp_stop_name_5 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_5); if (tmp_stop_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 187; type_description_1 = "ooooo"; goto tuple_build_exception_2; } tmp_tuple_element_2 = MAKE_SLICEOBJ2(tmp_start_name_5, tmp_stop_name_5); Py_DECREF(tmp_stop_name_5); assert(!(tmp_tuple_element_2 == NULL)); PyTuple_SET_ITEM(tmp_subscript_name_2, 3, tmp_tuple_element_2); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_subscript_name_2); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_name_2, tmp_subscript_name_2); Py_DECREF(tmp_subscript_name_2); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 187; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_2:; branch_no_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_07cbe57c14d20fc9570d667e537912d9); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_07cbe57c14d20fc9570d667e537912d9); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_07cbe57c14d20fc9570d667e537912d9); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_07cbe57c14d20fc9570d667e537912d9, exception_lineno); } else if (exception_tb->tb_frame != &frame_07cbe57c14d20fc9570d667e537912d9->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_07cbe57c14d20fc9570d667e537912d9, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_07cbe57c14d20fc9570d667e537912d9, type_description_1, par_m, par_patch_halo, var_z, var_y, var_x ); // Release cached frame if used for exception. if (frame_07cbe57c14d20fc9570d667e537912d9 == cache_frame_07cbe57c14d20fc9570d667e537912d9) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_07cbe57c14d20fc9570d667e537912d9); cache_frame_07cbe57c14d20fc9570d667e537912d9 = NULL; } assertFrameObject(frame_07cbe57c14d20fc9570d667e537912d9); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; CHECK_OBJECT(par_m); tmp_return_value = par_m; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_m); Py_DECREF(par_m); par_m = NULL; Py_XDECREF(par_patch_halo); par_patch_halo = NULL; Py_XDECREF(var_z); var_z = NULL; Py_XDECREF(var_y); var_y = NULL; Py_XDECREF(var_x); var_x = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_m); Py_DECREF(par_m); par_m = NULL; Py_XDECREF(par_patch_halo); par_patch_halo = NULL; Py_XDECREF(var_z); var_z = NULL; Py_XDECREF(var_y); var_y = NULL; Py_XDECREF(var_x); var_x = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__13___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_model = python_pars[1]; PyObject *par_output_dir = python_pars[2]; PyObject *par_config = python_pars[3]; PyObject *par_kwargs = python_pars[4]; struct Nuitka_FrameObject *frame_705bda7d6673d7b7394952127174c725; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_705bda7d6673d7b7394952127174c725 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_705bda7d6673d7b7394952127174c725)) { Py_XDECREF(cache_frame_705bda7d6673d7b7394952127174c725); #if _DEBUG_REFCOUNTS if (cache_frame_705bda7d6673d7b7394952127174c725 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_705bda7d6673d7b7394952127174c725 = MAKE_FUNCTION_FRAME(codeobj_705bda7d6673d7b7394952127174c725, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_705bda7d6673d7b7394952127174c725->m_type_description == NULL); frame_705bda7d6673d7b7394952127174c725 = cache_frame_705bda7d6673d7b7394952127174c725; // Push the new frame as the currently active one. pushFrameStack(frame_705bda7d6673d7b7394952127174c725); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_705bda7d6673d7b7394952127174c725) == 2); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_expression_name_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[24]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 208; type_description_1 = "oooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_expression_name_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 208; type_description_1 = "oooooc"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[25]); Py_DECREF(tmp_expression_name_1); if (tmp_dircall_arg1_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 208; type_description_1 = "oooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_model); tmp_tuple_element_1 = par_model; tmp_dircall_arg2_1 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_1); CHECK_OBJECT(par_output_dir); tmp_tuple_element_1 = par_output_dir; PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 1, tmp_tuple_element_1); CHECK_OBJECT(par_config); tmp_tuple_element_1 = par_config; PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 2, tmp_tuple_element_1); CHECK_OBJECT(par_kwargs); tmp_dircall_arg3_1 = par_kwargs; Py_INCREF(tmp_dircall_arg3_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_call_result_1 = impl_models$$$function__9_complex_call_helper_pos_star_dict(dir_call_args); } if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 208; type_description_1 = "oooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } #if 0 RESTORE_FRAME_EXCEPTION(frame_705bda7d6673d7b7394952127174c725); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_705bda7d6673d7b7394952127174c725); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_705bda7d6673d7b7394952127174c725, exception_lineno); } else if (exception_tb->tb_frame != &frame_705bda7d6673d7b7394952127174c725->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_705bda7d6673d7b7394952127174c725, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_705bda7d6673d7b7394952127174c725, type_description_1, par_self, par_model, par_output_dir, par_config, par_kwargs, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_705bda7d6673d7b7394952127174c725 == cache_frame_705bda7d6673d7b7394952127174c725) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_705bda7d6673d7b7394952127174c725); cache_frame_705bda7d6673d7b7394952127174c725 = NULL; } assertFrameObject(frame_705bda7d6673d7b7394952127174c725); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_model); Py_DECREF(par_model); par_model = NULL; CHECK_OBJECT(par_output_dir); Py_DECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(par_config); Py_DECREF(par_config); par_config = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_model); Py_DECREF(par_model); par_model = NULL; CHECK_OBJECT(par_output_dir); Py_DECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(par_config); Py_DECREF(par_config); par_config = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__14__allocate_prediction_maps(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_output_shape = python_pars[1]; PyObject *par_output_file = python_pars[2]; PyObject *var_dataset_name = NULL; PyObject *var_prediction_map = NULL; PyObject *var_normalization_mask = NULL; struct Nuitka_FrameObject *frame_1f99e51ff5df2510c2b0ace52698561d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_1f99e51ff5df2510c2b0ace52698561d = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_1f99e51ff5df2510c2b0ace52698561d)) { Py_XDECREF(cache_frame_1f99e51ff5df2510c2b0ace52698561d); #if _DEBUG_REFCOUNTS if (cache_frame_1f99e51ff5df2510c2b0ace52698561d == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_1f99e51ff5df2510c2b0ace52698561d = MAKE_FUNCTION_FRAME(codeobj_1f99e51ff5df2510c2b0ace52698561d, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_1f99e51ff5df2510c2b0ace52698561d->m_type_description == NULL); frame_1f99e51ff5df2510c2b0ace52698561d = cache_frame_1f99e51ff5df2510c2b0ace52698561d; // Push the new frame as the currently active one. pushFrameStack(frame_1f99e51ff5df2510c2b0ace52698561d); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_1f99e51ff5df2510c2b0ace52698561d) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_expression_name_1; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[92]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[92]); } if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 211; type_description_1 = "oooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[17]); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 211; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_1f99e51ff5df2510c2b0ace52698561d->m_frame.f_lineno = 211; tmp_assign_source_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, tmp_args_element_name_1); Py_DECREF(tmp_args_element_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 211; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(var_dataset_name == NULL); var_dataset_name = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; CHECK_OBJECT(par_output_file); tmp_expression_name_2 = par_output_file; tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[93]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 213; type_description_1 = "oooooo"; goto frame_exception_exit_1; } CHECK_OBJECT(var_dataset_name); tmp_tuple_element_1 = var_dataset_name; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_1); tmp_dict_key_1 = mod_consts[22]; CHECK_OBJECT(par_output_shape); tmp_dict_value_1 = par_output_shape; tmp_kwargs_name_1 = _PyDict_NewPresized( 4 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[101]; tmp_dict_value_1 = mod_consts[102]; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[103]; tmp_dict_value_1 = Py_True; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[95]; tmp_dict_value_1 = mod_consts[96]; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_1f99e51ff5df2510c2b0ace52698561d->m_frame.f_lineno = 213; tmp_assign_source_2 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 213; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(var_prediction_map == NULL); var_prediction_map = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_3; PyObject *tmp_args_name_2; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; if (par_output_file == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[84]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 216; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_3 = par_output_file; tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[93]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 216; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_name_2 = mod_consts[104]; tmp_dict_key_2 = mod_consts[22]; if (par_output_shape == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[90]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 216; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_dict_value_2 = par_output_shape; tmp_kwargs_name_2 = _PyDict_NewPresized( 4 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[101]; tmp_dict_value_2 = mod_consts[105]; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[103]; tmp_dict_value_2 = Py_True; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[95]; tmp_dict_value_2 = mod_consts[96]; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); frame_1f99e51ff5df2510c2b0ace52698561d->m_frame.f_lineno = 216; tmp_assign_source_3 = CALL_FUNCTION(tmp_called_name_3, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 216; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(var_normalization_mask == NULL); var_normalization_mask = tmp_assign_source_3; } #if 0 RESTORE_FRAME_EXCEPTION(frame_1f99e51ff5df2510c2b0ace52698561d); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1f99e51ff5df2510c2b0ace52698561d); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_1f99e51ff5df2510c2b0ace52698561d, exception_lineno); } else if (exception_tb->tb_frame != &frame_1f99e51ff5df2510c2b0ace52698561d->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_1f99e51ff5df2510c2b0ace52698561d, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_1f99e51ff5df2510c2b0ace52698561d, type_description_1, par_self, par_output_shape, par_output_file, var_dataset_name, var_prediction_map, var_normalization_mask ); // Release cached frame if used for exception. if (frame_1f99e51ff5df2510c2b0ace52698561d == cache_frame_1f99e51ff5df2510c2b0ace52698561d) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_1f99e51ff5df2510c2b0ace52698561d); cache_frame_1f99e51ff5df2510c2b0ace52698561d = NULL; } assertFrameObject(frame_1f99e51ff5df2510c2b0ace52698561d); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { PyObject *tmp_tuple_element_2; CHECK_OBJECT(var_prediction_map); tmp_tuple_element_2 = var_prediction_map; tmp_return_value = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_2); CHECK_OBJECT(var_normalization_mask); tmp_tuple_element_2 = var_normalization_mask; PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_2); goto try_return_handler_1; } NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_output_shape); par_output_shape = NULL; Py_XDECREF(par_output_file); par_output_file = NULL; Py_XDECREF(var_dataset_name); var_dataset_name = NULL; CHECK_OBJECT(var_prediction_map); Py_DECREF(var_prediction_map); var_prediction_map = NULL; CHECK_OBJECT(var_normalization_mask); Py_DECREF(var_normalization_mask); var_normalization_mask = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_output_shape); par_output_shape = NULL; Py_XDECREF(par_output_file); par_output_file = NULL; Py_XDECREF(var_dataset_name); var_dataset_name = NULL; Py_XDECREF(var_prediction_map); var_prediction_map = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__15__save_results(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_prediction_map = python_pars[1]; PyObject *par_normalization_mask = python_pars[2]; PyObject *par_output_file = python_pars[3]; PyObject *par_dataset = python_pars[4]; PyObject *var_z = NULL; PyObject *var_y = NULL; PyObject *var_x = NULL; PyObject *var_patch_shape = NULL; PyObject *var_index = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_inplace_assign_subscr_1__subscript = NULL; PyObject *tmp_inplace_assign_subscr_1__target = NULL; PyObject *tmp_inplace_assign_subscr_1__value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_22cdd3268e91283d209035484befb961; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; bool tmp_result; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_22cdd3268e91283d209035484befb961 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_22cdd3268e91283d209035484befb961)) { Py_XDECREF(cache_frame_22cdd3268e91283d209035484befb961); #if _DEBUG_REFCOUNTS if (cache_frame_22cdd3268e91283d209035484befb961 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_22cdd3268e91283d209035484befb961 = MAKE_FUNCTION_FRAME(codeobj_22cdd3268e91283d209035484befb961, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_22cdd3268e91283d209035484befb961->m_type_description == NULL); frame_22cdd3268e91283d209035484befb961 = cache_frame_22cdd3268e91283d209035484befb961; // Push the new frame as the currently active one. pushFrameStack(frame_22cdd3268e91283d209035484befb961); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_22cdd3268e91283d209035484befb961) == 2); // Frame stack // Framed code: // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_expression_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_subscript_name_1; CHECK_OBJECT(par_prediction_map); tmp_expression_name_2 = par_prediction_map; tmp_expression_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[22]); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 221; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_subscript_name_1 = mod_consts[23]; tmp_iter_arg_1 = LOOKUP_SUBSCRIPT(tmp_expression_name_1, tmp_subscript_name_1); Py_DECREF(tmp_expression_name_1); if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 221; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 221; type_description_1 = "oooooooooo"; goto try_except_handler_2; } assert(tmp_tuple_unpack_1__source_iter == NULL); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 3); if (tmp_assign_source_2 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooo"; exception_lineno = 221; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_1 == NULL); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 3); if (tmp_assign_source_3 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooo"; exception_lineno = 221; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_2 == NULL); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_3; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_3, 2, 3); if (tmp_assign_source_4 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooooooo"; exception_lineno = 221; goto try_except_handler_3; } assert(tmp_tuple_unpack_1__element_3 == NULL); tmp_tuple_unpack_1__element_3 = tmp_assign_source_4; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooo"; exception_lineno = 221; goto try_except_handler_3; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[97]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooooooo"; exception_lineno = 221; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_5; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_5 = tmp_tuple_unpack_1__element_1; assert(var_z == NULL); Py_INCREF(tmp_assign_source_5); var_z = tmp_assign_source_5; } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_6; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_6 = tmp_tuple_unpack_1__element_2; assert(var_y == NULL); Py_INCREF(tmp_assign_source_6); var_y = tmp_assign_source_6; } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_3); tmp_assign_source_7 = tmp_tuple_unpack_1__element_3; assert(var_x == NULL); Py_INCREF(tmp_assign_source_7); var_x = tmp_assign_source_7; } Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_3); tmp_tuple_unpack_1__element_3 = NULL; { PyObject *tmp_assign_source_8; PyObject *tmp_tuple_element_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT(var_z); tmp_left_name_1 = var_z; tmp_right_name_1 = mod_consts[21]; tmp_tuple_element_1 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_LONG(tmp_left_name_1, tmp_right_name_1); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 223; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_8 = PyTuple_New(3); { PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyTuple_SET_ITEM(tmp_assign_source_8, 0, tmp_tuple_element_1); CHECK_OBJECT(var_y); tmp_left_name_2 = var_y; tmp_right_name_2 = mod_consts[21]; tmp_tuple_element_1 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_LONG(tmp_left_name_2, tmp_right_name_2); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 223; type_description_1 = "oooooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_assign_source_8, 1, tmp_tuple_element_1); CHECK_OBJECT(var_x); tmp_left_name_3 = var_x; tmp_right_name_3 = mod_consts[21]; tmp_tuple_element_1 = BINARY_OPERATION_FLOORDIV_OBJECT_OBJECT_LONG(tmp_left_name_3, tmp_right_name_3); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 223; type_description_1 = "oooooooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_assign_source_8, 2, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_assign_source_8); goto frame_exception_exit_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; assert(var_patch_shape == NULL); var_patch_shape = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; PyObject *tmp_iter_arg_2; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_3; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[106]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[106]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 224; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[107]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 224; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if (par_prediction_map == NULL) { Py_DECREF(tmp_called_name_1); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[76]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 224; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = par_prediction_map; tmp_args_name_1 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_args_name_1, 0, tmp_tuple_element_2); tmp_dict_key_1 = mod_consts[108]; CHECK_OBJECT(var_patch_shape); tmp_dict_value_1 = var_patch_shape; tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[109]; CHECK_OBJECT(var_patch_shape); tmp_dict_value_1 = var_patch_shape; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_22cdd3268e91283d209035484befb961->m_frame.f_lineno = 224; tmp_iter_arg_2 = CALL_FUNCTION(tmp_called_name_1, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_args_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_iter_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 224; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_9 = MAKE_ITERATOR(tmp_iter_arg_2); Py_DECREF(tmp_iter_arg_2); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 224; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_9; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_10; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_10 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_10 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooooooo"; exception_lineno = 224; goto try_except_handler_4; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_10; Py_XDECREF(old); } } { PyObject *tmp_assign_source_11; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_assign_source_11 = tmp_for_loop_1__iter_value; { PyObject *old = var_index; var_index = tmp_assign_source_11; Py_INCREF(var_index); Py_XDECREF(old); } } { PyObject *tmp_called_name_2; PyObject *tmp_expression_name_4; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; PyObject *tmp_string_concat_values_1; PyObject *tmp_tuple_element_3; tmp_expression_name_4 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[28]); if (unlikely(tmp_expression_name_4 == NULL)) { tmp_expression_name_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]); } if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 225; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[29]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 225; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_tuple_element_3 = mod_consts[110]; tmp_string_concat_values_1 = PyTuple_New(2); { PyObject *tmp_format_value_1; PyObject *tmp_format_spec_1; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 0, tmp_tuple_element_3); CHECK_OBJECT(var_index); tmp_format_value_1 = var_index; tmp_format_spec_1 = mod_consts[32]; tmp_tuple_element_3 = BUILTIN_FORMAT(tmp_format_value_1, tmp_format_spec_1); if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 225; type_description_1 = "oooooooooo"; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 1, tmp_tuple_element_3); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_string_concat_values_1); goto try_except_handler_4; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_args_element_name_1 = PyUnicode_Join(mod_consts[32], tmp_string_concat_values_1); Py_DECREF(tmp_string_concat_values_1); if (tmp_args_element_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 225; type_description_1 = "oooooooooo"; goto try_except_handler_4; } frame_22cdd3268e91283d209035484befb961->m_frame.f_lineno = 225; tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_1); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 225; type_description_1 = "oooooooooo"; goto try_except_handler_4; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_12; if (par_prediction_map == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[76]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 226; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_assign_source_12 = par_prediction_map; { PyObject *old = tmp_inplace_assign_subscr_1__target; tmp_inplace_assign_subscr_1__target = tmp_assign_source_12; Py_INCREF(tmp_inplace_assign_subscr_1__target); Py_XDECREF(old); } } { PyObject *tmp_assign_source_13; CHECK_OBJECT(var_index); tmp_assign_source_13 = var_index; { PyObject *old = tmp_inplace_assign_subscr_1__subscript; tmp_inplace_assign_subscr_1__subscript = tmp_assign_source_13; Py_INCREF(tmp_inplace_assign_subscr_1__subscript); Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_14; PyObject *tmp_expression_name_5; PyObject *tmp_subscript_name_2; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); tmp_expression_name_5 = tmp_inplace_assign_subscr_1__target; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); tmp_subscript_name_2 = tmp_inplace_assign_subscr_1__subscript; tmp_assign_source_14 = LOOKUP_SUBSCRIPT(tmp_expression_name_5, tmp_subscript_name_2); if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 226; type_description_1 = "oooooooooo"; goto try_except_handler_5; } { PyObject *old = tmp_inplace_assign_subscr_1__value; tmp_inplace_assign_subscr_1__value = tmp_assign_source_14; Py_XDECREF(old); } } { PyObject *tmp_assign_source_15; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_expression_name_6; PyObject *tmp_subscript_name_3; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); tmp_left_name_4 = tmp_inplace_assign_subscr_1__value; if (par_normalization_mask == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 226; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_expression_name_6 = par_normalization_mask; CHECK_OBJECT(var_index); tmp_subscript_name_3 = var_index; tmp_right_name_4 = LOOKUP_SUBSCRIPT(tmp_expression_name_6, tmp_subscript_name_3); if (tmp_right_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 226; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_result = BINARY_OPERATION_TRUEDIV_OBJECT_OBJECT_INPLACE(&tmp_left_name_4, tmp_right_name_4); Py_DECREF(tmp_right_name_4); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 226; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_assign_source_15 = tmp_left_name_4; tmp_inplace_assign_subscr_1__value = tmp_assign_source_15; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); tmp_ass_subvalue_1 = tmp_inplace_assign_subscr_1__value; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); tmp_ass_subscribed_1 = tmp_inplace_assign_subscr_1__target; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); tmp_ass_subscript_1 = tmp_inplace_assign_subscr_1__subscript; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 226; type_description_1 = "oooooooooo"; goto try_except_handler_5; } } goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); Py_DECREF(tmp_inplace_assign_subscr_1__target); tmp_inplace_assign_subscr_1__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); Py_DECREF(tmp_inplace_assign_subscr_1__subscript); tmp_inplace_assign_subscr_1__subscript = NULL; Py_XDECREF(tmp_inplace_assign_subscr_1__value); tmp_inplace_assign_subscr_1__value = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; // End of try: try_end_3:; CHECK_OBJECT(tmp_inplace_assign_subscr_1__target); Py_DECREF(tmp_inplace_assign_subscr_1__target); tmp_inplace_assign_subscr_1__target = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__subscript); Py_DECREF(tmp_inplace_assign_subscr_1__subscript); tmp_inplace_assign_subscr_1__subscript = NULL; CHECK_OBJECT(tmp_inplace_assign_subscr_1__value); Py_DECREF(tmp_inplace_assign_subscr_1__value); tmp_inplace_assign_subscr_1__value = NULL; { PyObject *tmp_ass_subvalue_2; PyObject *tmp_ass_subscribed_2; PyObject *tmp_ass_subscript_2; tmp_ass_subvalue_2 = mod_consts[78]; if (par_normalization_mask == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 229; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_ass_subscribed_2 = par_normalization_mask; CHECK_OBJECT(var_index); tmp_ass_subscript_2 = var_index; tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 229; type_description_1 = "oooooooooo"; goto try_except_handler_4; } } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 224; type_description_1 = "oooooooooo"; goto try_except_handler_4; } goto loop_start_1; loop_end_1:; goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; // End of try: try_end_4:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; { PyObject *tmp_delsubscr_target_1; PyObject *tmp_delsubscr_subscript_1; CHECK_OBJECT(par_output_file); tmp_delsubscr_target_1 = par_output_file; tmp_delsubscr_subscript_1 = mod_consts[111]; tmp_result = DEL_SUBSCRIPT(tmp_delsubscr_target_1, tmp_delsubscr_subscript_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 230; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_22cdd3268e91283d209035484befb961); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_22cdd3268e91283d209035484befb961); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_22cdd3268e91283d209035484befb961, exception_lineno); } else if (exception_tb->tb_frame != &frame_22cdd3268e91283d209035484befb961->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_22cdd3268e91283d209035484befb961, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_22cdd3268e91283d209035484befb961, type_description_1, par_self, par_prediction_map, par_normalization_mask, par_output_file, par_dataset, var_z, var_y, var_x, var_patch_shape, var_index ); // Release cached frame if used for exception. if (frame_22cdd3268e91283d209035484befb961 == cache_frame_22cdd3268e91283d209035484befb961) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_22cdd3268e91283d209035484befb961); cache_frame_22cdd3268e91283d209035484befb961 = NULL; } assertFrameObject(frame_22cdd3268e91283d209035484befb961); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_prediction_map); par_prediction_map = NULL; Py_XDECREF(par_normalization_mask); par_normalization_mask = NULL; CHECK_OBJECT(par_output_file); Py_DECREF(par_output_file); par_output_file = NULL; CHECK_OBJECT(par_dataset); Py_DECREF(par_dataset); par_dataset = NULL; Py_XDECREF(var_z); var_z = NULL; Py_XDECREF(var_y); var_y = NULL; Py_XDECREF(var_x); var_x = NULL; Py_XDECREF(var_patch_shape); var_patch_shape = NULL; Py_XDECREF(var_index); var_index = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; Py_XDECREF(par_prediction_map); par_prediction_map = NULL; Py_XDECREF(par_normalization_mask); par_normalization_mask = NULL; CHECK_OBJECT(par_output_file); Py_DECREF(par_output_file); par_output_file = NULL; CHECK_OBJECT(par_dataset); Py_DECREF(par_dataset); par_dataset = NULL; Py_XDECREF(var_z); var_z = NULL; Py_XDECREF(var_y); var_y = NULL; Py_XDECREF(var_x); var_x = NULL; Py_XDECREF(var_patch_shape); var_patch_shape = NULL; Py_XDECREF(var_index); var_index = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__16___init__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_model = python_pars[1]; PyObject *par_output_dir = python_pars[2]; PyObject *par_config = python_pars[3]; PyObject *par_save_segmentation = python_pars[4]; PyObject *par_pmaps_thershold = python_pars[5]; PyObject *par_kwargs = python_pars[6]; struct Nuitka_FrameObject *frame_dcd17f5afd82ae6840c9b24712bd4189; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_dcd17f5afd82ae6840c9b24712bd4189 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_dcd17f5afd82ae6840c9b24712bd4189)) { Py_XDECREF(cache_frame_dcd17f5afd82ae6840c9b24712bd4189); #if _DEBUG_REFCOUNTS if (cache_frame_dcd17f5afd82ae6840c9b24712bd4189 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_dcd17f5afd82ae6840c9b24712bd4189 = MAKE_FUNCTION_FRAME(codeobj_dcd17f5afd82ae6840c9b24712bd4189, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_dcd17f5afd82ae6840c9b24712bd4189->m_type_description == NULL); frame_dcd17f5afd82ae6840c9b24712bd4189 = cache_frame_dcd17f5afd82ae6840c9b24712bd4189; // Push the new frame as the currently active one. pushFrameStack(frame_dcd17f5afd82ae6840c9b24712bd4189); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_dcd17f5afd82ae6840c9b24712bd4189) == 2); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_expression_name_1; PyObject *tmp_type_arg_name_1; PyObject *tmp_object_arg_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; PyObject *tmp_call_result_1; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[24]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 235; type_description_1 = "oooooooc"; goto frame_exception_exit_1; } tmp_type_arg_name_1 = Nuitka_Cell_GET(self->m_closure[0]); CHECK_OBJECT(par_self); tmp_object_arg_name_1 = par_self; tmp_expression_name_1 = BUILTIN_SUPER0(tmp_type_arg_name_1, tmp_object_arg_name_1); if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; type_description_1 = "oooooooc"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[25]); Py_DECREF(tmp_expression_name_1); if (tmp_dircall_arg1_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; type_description_1 = "oooooooc"; goto frame_exception_exit_1; } CHECK_OBJECT(par_model); tmp_tuple_element_1 = par_model; tmp_dircall_arg2_1 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_1); CHECK_OBJECT(par_output_dir); tmp_tuple_element_1 = par_output_dir; PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 1, tmp_tuple_element_1); CHECK_OBJECT(par_config); tmp_tuple_element_1 = par_config; PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 2, tmp_tuple_element_1); CHECK_OBJECT(par_kwargs); tmp_dircall_arg3_1 = par_kwargs; Py_INCREF(tmp_dircall_arg3_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_call_result_1 = impl_models$$$function__9_complex_call_helper_pos_star_dict(dir_call_args); } if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 235; type_description_1 = "oooooooc"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT(par_pmaps_thershold); tmp_assattr_name_1 = par_pmaps_thershold; CHECK_OBJECT(par_self); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[112], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 236; type_description_1 = "oooooooc"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT(par_save_segmentation); tmp_assattr_name_2 = par_save_segmentation; CHECK_OBJECT(par_self); tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[113], tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 237; type_description_1 = "oooooooc"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION(frame_dcd17f5afd82ae6840c9b24712bd4189); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_dcd17f5afd82ae6840c9b24712bd4189); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_dcd17f5afd82ae6840c9b24712bd4189, exception_lineno); } else if (exception_tb->tb_frame != &frame_dcd17f5afd82ae6840c9b24712bd4189->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_dcd17f5afd82ae6840c9b24712bd4189, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_dcd17f5afd82ae6840c9b24712bd4189, type_description_1, par_self, par_model, par_output_dir, par_config, par_save_segmentation, par_pmaps_thershold, par_kwargs, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_dcd17f5afd82ae6840c9b24712bd4189 == cache_frame_dcd17f5afd82ae6840c9b24712bd4189) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_dcd17f5afd82ae6840c9b24712bd4189); cache_frame_dcd17f5afd82ae6840c9b24712bd4189 = NULL; } assertFrameObject(frame_dcd17f5afd82ae6840c9b24712bd4189); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_model); Py_DECREF(par_model); par_model = NULL; CHECK_OBJECT(par_output_dir); Py_DECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(par_config); Py_DECREF(par_config); par_config = NULL; CHECK_OBJECT(par_save_segmentation); Py_DECREF(par_save_segmentation); par_save_segmentation = NULL; CHECK_OBJECT(par_pmaps_thershold); Py_DECREF(par_pmaps_thershold); par_pmaps_thershold = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_model); Py_DECREF(par_model); par_model = NULL; CHECK_OBJECT(par_output_dir); Py_DECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(par_config); Py_DECREF(par_config); par_config = NULL; CHECK_OBJECT(par_save_segmentation); Py_DECREF(par_save_segmentation); par_save_segmentation = NULL; CHECK_OBJECT(par_pmaps_thershold); Py_DECREF(par_pmaps_thershold); par_pmaps_thershold = NULL; CHECK_OBJECT(par_kwargs); Py_DECREF(par_kwargs); par_kwargs = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__17__slice_from_pad(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_pad = python_pars[1]; struct Nuitka_FrameObject *frame_930c7addf8d4e8ab57ac0d86a59b45e9; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_930c7addf8d4e8ab57ac0d86a59b45e9 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_930c7addf8d4e8ab57ac0d86a59b45e9)) { Py_XDECREF(cache_frame_930c7addf8d4e8ab57ac0d86a59b45e9); #if _DEBUG_REFCOUNTS if (cache_frame_930c7addf8d4e8ab57ac0d86a59b45e9 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_930c7addf8d4e8ab57ac0d86a59b45e9 = MAKE_FUNCTION_FRAME(codeobj_930c7addf8d4e8ab57ac0d86a59b45e9, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_930c7addf8d4e8ab57ac0d86a59b45e9->m_type_description == NULL); frame_930c7addf8d4e8ab57ac0d86a59b45e9 = cache_frame_930c7addf8d4e8ab57ac0d86a59b45e9; // Push the new frame as the currently active one. pushFrameStack(frame_930c7addf8d4e8ab57ac0d86a59b45e9); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_930c7addf8d4e8ab57ac0d86a59b45e9) == 2); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_tmp_condition_result_1_object_1; int tmp_truth_name_1; CHECK_OBJECT(par_pad); tmp_compexpr_left_1 = par_pad; tmp_compexpr_right_1 = mod_consts[7]; tmp_tmp_condition_result_1_object_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); if (tmp_tmp_condition_result_1_object_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 240; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_tmp_condition_result_1_object_1); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_tmp_condition_result_1_object_1); exception_lineno = 240; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_tmp_condition_result_1_object_1); if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; tmp_return_value = mod_consts[114]; Py_INCREF(tmp_return_value); goto frame_return_exit_1; goto branch_end_1; branch_no_1:; { PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_operand_name_1; CHECK_OBJECT(par_pad); tmp_start_name_1 = par_pad; CHECK_OBJECT(par_pad); tmp_operand_name_1 = par_pad; tmp_stop_name_1 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_name_1); if (tmp_stop_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 243; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = MAKE_SLICEOBJ2(tmp_start_name_1, tmp_stop_name_1); Py_DECREF(tmp_stop_name_1); assert(!(tmp_return_value == NULL)); goto frame_return_exit_1; } branch_end_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_930c7addf8d4e8ab57ac0d86a59b45e9); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_930c7addf8d4e8ab57ac0d86a59b45e9); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_930c7addf8d4e8ab57ac0d86a59b45e9); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_930c7addf8d4e8ab57ac0d86a59b45e9, exception_lineno); } else if (exception_tb->tb_frame != &frame_930c7addf8d4e8ab57ac0d86a59b45e9->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_930c7addf8d4e8ab57ac0d86a59b45e9, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_930c7addf8d4e8ab57ac0d86a59b45e9, type_description_1, par_self, par_pad ); // Release cached frame if used for exception. if (frame_930c7addf8d4e8ab57ac0d86a59b45e9 == cache_frame_930c7addf8d4e8ab57ac0d86a59b45e9) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_930c7addf8d4e8ab57ac0d86a59b45e9); cache_frame_930c7addf8d4e8ab57ac0d86a59b45e9 = NULL; } assertFrameObject(frame_930c7addf8d4e8ab57ac0d86a59b45e9); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_pad); Py_DECREF(par_pad); par_pad = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_self); Py_DECREF(par_self); par_self = NULL; CHECK_OBJECT(par_pad); Py_DECREF(par_pad); par_pad = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__18___call__(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[0]; PyObject *par_test_loader = python_pars[1]; PyObject *var_executor = NULL; PyObject *var_img = NULL; PyObject *var_path = NULL; PyObject *var_pred = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_with_1__enter = NULL; PyObject *tmp_with_1__exit = NULL; nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; PyObject *tmp_with_1__source = NULL; struct Nuitka_FrameObject *frame_f6cc4d43175142ef596c007b051512dc; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; static struct Nuitka_FrameObject *cache_frame_f6cc4d43175142ef596c007b051512dc = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_f6cc4d43175142ef596c007b051512dc)) { Py_XDECREF(cache_frame_f6cc4d43175142ef596c007b051512dc); #if _DEBUG_REFCOUNTS if (cache_frame_f6cc4d43175142ef596c007b051512dc == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_f6cc4d43175142ef596c007b051512dc = MAKE_FUNCTION_FRAME(codeobj_f6cc4d43175142ef596c007b051512dc, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_f6cc4d43175142ef596c007b051512dc->m_type_description == NULL); frame_f6cc4d43175142ef596c007b051512dc = cache_frame_f6cc4d43175142ef596c007b051512dc; // Push the new frame as the currently active one. pushFrameStack(frame_f6cc4d43175142ef596c007b051512dc); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_f6cc4d43175142ef596c007b051512dc) == 2); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_expression_name_1; PyObject *tmp_call_result_1; CHECK_OBJECT(par_self); tmp_expression_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[15]); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 247; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 247; tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[53]); Py_DECREF(tmp_called_instance_1); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 247; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_kwargs_name_1; tmp_expression_name_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[115]); if (unlikely(tmp_expression_name_2 == NULL)) { tmp_expression_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[115]); } if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 249; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[116]); if (tmp_called_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 249; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_kwargs_name_1 = PyDict_Copy(mod_consts[117]); frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 249; tmp_assign_source_1 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_1); Py_DECREF(tmp_kwargs_name_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 249; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert(var_executor == NULL); var_executor = tmp_assign_source_1; } // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_2; tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[54]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 251; type_description_1 = "oooooo"; goto try_except_handler_2; } frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 251; tmp_assign_source_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[55]); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 251; type_description_1 = "oooooo"; goto try_except_handler_2; } assert(tmp_with_1__source == NULL); tmp_with_1__source = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_3; CHECK_OBJECT(tmp_with_1__source); tmp_expression_name_3 = tmp_with_1__source; tmp_called_name_2 = LOOKUP_SPECIAL(tmp_expression_name_3, mod_consts[56]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 251; type_description_1 = "oooooo"; goto try_except_handler_2; } frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 251; tmp_assign_source_3 = CALL_FUNCTION_NO_ARGS(tmp_called_name_2); Py_DECREF(tmp_called_name_2); if (tmp_assign_source_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 251; type_description_1 = "oooooo"; goto try_except_handler_2; } assert(tmp_with_1__enter == NULL); tmp_with_1__enter = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_expression_name_4; CHECK_OBJECT(tmp_with_1__source); tmp_expression_name_4 = tmp_with_1__source; tmp_assign_source_4 = LOOKUP_SPECIAL(tmp_expression_name_4, mod_consts[57]); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 251; type_description_1 = "oooooo"; goto try_except_handler_2; } assert(tmp_with_1__exit == NULL); tmp_with_1__exit = tmp_assign_source_4; } { nuitka_bool tmp_assign_source_5; tmp_assign_source_5 = NUITKA_BOOL_TRUE; tmp_with_1__indicator = tmp_assign_source_5; } // Tried code: // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_1; CHECK_OBJECT(par_test_loader); tmp_iter_arg_1 = par_test_loader; tmp_assign_source_6 = MAKE_ITERATOR(tmp_iter_arg_1); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_1 = "oooooo"; goto try_except_handler_4; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_6; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_7 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_7 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooo"; exception_lineno = 252; goto try_except_handler_5; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_7; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_8; PyObject *tmp_iter_arg_2; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_iter_arg_2 = tmp_for_loop_1__iter_value; tmp_assign_source_8 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_1 = "oooooo"; goto try_except_handler_6; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_8; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_9 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_9 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooo"; exception_lineno = 252; goto try_except_handler_7; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_9; Py_XDECREF(old); } } { PyObject *tmp_assign_source_10; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_10 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_10 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooooo"; exception_lineno = 252; goto try_except_handler_7; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_10; Py_XDECREF(old); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooooo"; exception_lineno = 252; goto try_except_handler_7; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[4]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooooo"; exception_lineno = 252; goto try_except_handler_7; } } goto try_end_1; // Exception handler code: try_except_handler_7:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_6; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_6:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_5; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_11; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_11 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_img; var_img = tmp_assign_source_11; Py_INCREF(var_img); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_12; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_12 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_path; var_path = tmp_assign_source_12; Py_INCREF(var_path); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { nuitka_bool tmp_condition_result_1; PyObject *tmp_called_instance_3; PyObject *tmp_expression_name_5; PyObject *tmp_call_result_2; int tmp_truth_name_1; tmp_expression_name_5 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[54]); if (unlikely(tmp_expression_name_5 == NULL)) { tmp_expression_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]); } if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 254; type_description_1 = "oooooo"; goto try_except_handler_5; } tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[59]); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 254; type_description_1 = "oooooo"; goto try_except_handler_5; } frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 254; tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[60]); Py_DECREF(tmp_called_instance_3); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 254; type_description_1 = "oooooo"; goto try_except_handler_5; } tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_2); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_call_result_2); exception_lineno = 254; type_description_1 = "oooooo"; goto try_except_handler_5; } tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; Py_DECREF(tmp_call_result_2); if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_13; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_6; PyObject *tmp_kwargs_name_2; CHECK_OBJECT(var_img); tmp_expression_name_6 = var_img; tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_6, mod_consts[59]); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 255; type_description_1 = "oooooo"; goto try_except_handler_5; } tmp_kwargs_name_2 = PyDict_Copy(mod_consts[61]); frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 255; tmp_assign_source_13 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_3, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_kwargs_name_2); if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 255; type_description_1 = "oooooo"; goto try_except_handler_5; } { PyObject *old = var_img; var_img = tmp_assign_source_13; Py_XDECREF(old); } } branch_no_1:; { PyObject *tmp_assign_source_14; PyObject *tmp_called_instance_4; PyObject *tmp_args_element_name_1; if (par_self == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 257; type_description_1 = "oooooo"; goto try_except_handler_5; } tmp_called_instance_4 = par_self; CHECK_OBJECT(var_img); tmp_args_element_name_1 = var_img; frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 257; tmp_assign_source_14 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[15], tmp_args_element_name_1); if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 257; type_description_1 = "oooooo"; goto try_except_handler_5; } { PyObject *old = var_pred; var_pred = tmp_assign_source_14; Py_XDECREF(old); } } { PyObject *tmp_called_name_4; PyObject *tmp_expression_name_7; PyObject *tmp_call_result_3; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_expression_name_8; PyObject *tmp_args_element_name_4; if (var_executor == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[118]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 259; type_description_1 = "oooooo"; goto try_except_handler_5; } tmp_expression_name_7 = var_executor; tmp_called_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[119]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 259; type_description_1 = "oooooo"; goto try_except_handler_5; } tmp_args_element_name_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[120]); if (unlikely(tmp_args_element_name_2 == NULL)) { tmp_args_element_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[120]); } if (tmp_args_element_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 260; type_description_1 = "oooooo"; goto try_except_handler_5; } if (par_self == NULL) { Py_DECREF(tmp_called_name_4); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[40]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 261; type_description_1 = "oooooo"; goto try_except_handler_5; } tmp_expression_name_8 = par_self; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_8, mod_consts[16]); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_4); exception_lineno = 261; type_description_1 = "oooooo"; goto try_except_handler_5; } CHECK_OBJECT(var_path); tmp_args_element_name_4 = var_path; frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 259; { PyObject *call_args[] = {tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4}; tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_4, call_args); } Py_DECREF(tmp_called_name_4); Py_DECREF(tmp_args_element_name_3); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 259; type_description_1 = "oooooo"; goto try_except_handler_5; } Py_DECREF(tmp_call_result_3); } if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_1 = "oooooo"; goto try_except_handler_5; } goto loop_start_1; loop_end_1:; goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; // End of try: try_end_3:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_4 == NULL) { exception_keeper_tb_4 = MAKE_TRACEBACK(frame_f6cc4d43175142ef596c007b051512dc, exception_keeper_lineno_4); } else if (exception_keeper_lineno_4 != 0) { exception_keeper_tb_4 = ADD_TRACEBACK(exception_keeper_tb_4, frame_f6cc4d43175142ef596c007b051512dc, exception_keeper_lineno_4); } NORMALIZE_EXCEPTION(&exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_4, exception_keeper_tb_4); PUBLISH_EXCEPTION(&exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4); // Tried code: { bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_BaseException; tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_1, tmp_compexpr_right_1); assert(!(tmp_res == -1)); tmp_condition_result_2 = (tmp_res != 0) ? true : false; if (tmp_condition_result_2 != false) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { nuitka_bool tmp_assign_source_15; tmp_assign_source_15 = NUITKA_BOOL_FALSE; tmp_with_1__indicator = tmp_assign_source_15; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_5; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; CHECK_OBJECT(tmp_with_1__exit); tmp_called_name_5 = tmp_with_1__exit; tmp_args_element_name_5 = EXC_TYPE(PyThreadState_GET()); tmp_args_element_name_6 = EXC_VALUE(PyThreadState_GET()); tmp_args_element_name_7 = EXC_TRACEBACK(PyThreadState_GET()); frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 252; { PyObject *call_args[] = {tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7}; tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_5, call_args); } if (tmp_operand_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_1 = "oooooo"; goto try_except_handler_8; } tmp_res = CHECK_IF_TRUE(tmp_operand_name_1); Py_DECREF(tmp_operand_name_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_1 = "oooooo"; goto try_except_handler_8; } tmp_condition_result_3 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 252; } if (exception_tb && exception_tb->tb_frame == &frame_f6cc4d43175142ef596c007b051512dc->m_frame) frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooo"; goto try_except_handler_8; branch_no_3:; goto branch_end_2; branch_no_2:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 251; } if (exception_tb && exception_tb->tb_frame == &frame_f6cc4d43175142ef596c007b051512dc->m_frame) frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooo"; goto try_except_handler_8; branch_end_2:; goto try_end_5; // Exception handler code: try_except_handler_8:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_3; // End of try: try_end_5:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto try_end_4; NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); return NULL; // End of try: try_end_4:; goto try_end_6; // Exception handler code: try_except_handler_3:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { bool tmp_condition_result_4; nuitka_bool tmp_compexpr_left_2; nuitka_bool tmp_compexpr_right_2; assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_2 = tmp_with_1__indicator; tmp_compexpr_right_2 = NUITKA_BOOL_TRUE; tmp_condition_result_4 = (tmp_compexpr_left_2 == tmp_compexpr_right_2) ? true : false; if (tmp_condition_result_4 != false) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; { PyObject *tmp_called_name_6; PyObject *tmp_call_result_4; CHECK_OBJECT(tmp_with_1__exit); tmp_called_name_6 = tmp_with_1__exit; frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 252; tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_6, &PyTuple_GET_ITEM(mod_consts[79], 0)); if (tmp_call_result_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(exception_keeper_type_6); Py_XDECREF(exception_keeper_value_6); Py_XDECREF(exception_keeper_tb_6); exception_lineno = 252; type_description_1 = "oooooo"; goto try_except_handler_2; } Py_DECREF(tmp_call_result_4); } branch_no_4:; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_2; // End of try: try_end_6:; { bool tmp_condition_result_5; nuitka_bool tmp_compexpr_left_3; nuitka_bool tmp_compexpr_right_3; assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_3 = tmp_with_1__indicator; tmp_compexpr_right_3 = NUITKA_BOOL_TRUE; tmp_condition_result_5 = (tmp_compexpr_left_3 == tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_5 != false) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; { PyObject *tmp_called_name_7; PyObject *tmp_call_result_5; CHECK_OBJECT(tmp_with_1__exit); tmp_called_name_7 = tmp_with_1__exit; frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 252; tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_7, &PyTuple_GET_ITEM(mod_consts[79], 0)); if (tmp_call_result_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 252; type_description_1 = "oooooo"; goto try_except_handler_2; } Py_DECREF(tmp_call_result_5); } branch_no_5:; goto try_end_7; // Exception handler code: try_except_handler_2:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_with_1__source); tmp_with_1__source = NULL; Py_XDECREF(tmp_with_1__enter); tmp_with_1__enter = NULL; Py_XDECREF(tmp_with_1__exit); tmp_with_1__exit = NULL; // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto frame_exception_exit_1; // End of try: try_end_7:; CHECK_OBJECT(tmp_with_1__source); Py_DECREF(tmp_with_1__source); tmp_with_1__source = NULL; CHECK_OBJECT(tmp_with_1__enter); Py_DECREF(tmp_with_1__enter); tmp_with_1__enter = NULL; Py_XDECREF(tmp_with_1__exit); tmp_with_1__exit = NULL; { PyObject *tmp_called_name_8; PyObject *tmp_call_result_6; tmp_called_name_8 = LOOKUP_BUILTIN(mod_consts[121]); assert(tmp_called_name_8 != NULL); frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 265; tmp_call_result_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_8, mod_consts[122]); if (tmp_call_result_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 265; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_6); } { PyObject *tmp_called_name_9; PyObject *tmp_expression_name_9; PyObject *tmp_call_result_7; PyObject *tmp_kwargs_name_3; if (var_executor == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[118]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 266; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_expression_name_9 = var_executor; tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[123]); if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 266; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_kwargs_name_3 = PyDict_Copy(mod_consts[124]); frame_f6cc4d43175142ef596c007b051512dc->m_frame.f_lineno = 266; tmp_call_result_7 = CALL_FUNCTION_WITH_KEYARGS(tmp_called_name_9, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_9); Py_DECREF(tmp_kwargs_name_3); if (tmp_call_result_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 266; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF(tmp_call_result_7); } #if 0 RESTORE_FRAME_EXCEPTION(frame_f6cc4d43175142ef596c007b051512dc); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_f6cc4d43175142ef596c007b051512dc); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_f6cc4d43175142ef596c007b051512dc, exception_lineno); } else if (exception_tb->tb_frame != &frame_f6cc4d43175142ef596c007b051512dc->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_f6cc4d43175142ef596c007b051512dc, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_f6cc4d43175142ef596c007b051512dc, type_description_1, par_self, par_test_loader, var_executor, var_img, var_path, var_pred ); // Release cached frame if used for exception. if (frame_f6cc4d43175142ef596c007b051512dc == cache_frame_f6cc4d43175142ef596c007b051512dc) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_f6cc4d43175142ef596c007b051512dc); cache_frame_f6cc4d43175142ef596c007b051512dc = NULL; } assertFrameObject(frame_f6cc4d43175142ef596c007b051512dc); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_test_loader); par_test_loader = NULL; Py_XDECREF(var_executor); var_executor = NULL; Py_XDECREF(var_img); var_img = NULL; Py_XDECREF(var_path); var_path = NULL; Py_XDECREF(var_pred); var_pred = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_self); par_self = NULL; Py_XDECREF(par_test_loader); par_test_loader = NULL; Py_XDECREF(var_executor); var_executor = NULL; Py_XDECREF(var_img); var_img = NULL; Py_XDECREF(var_path); var_path = NULL; Py_XDECREF(var_pred); var_pred = NULL; // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__19_dsb_save_batch(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_output_dir = python_pars[0]; PyObject *par_path = python_pars[1]; PyObject *par_pred = python_pars[2]; PyObject *par_save_segmentation = python_pars[3]; struct Nuitka_CellObject *par_pmaps_thershold = Nuitka_Cell_New1(python_pars[4]); PyObject *var__pmaps_to_seg = NULL; PyObject *var_single_pred = NULL; PyObject *var_single_path = NULL; PyObject *var_out_file = NULL; PyObject *var_f = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_with_1__enter = NULL; PyObject *tmp_with_1__exit = NULL; nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; PyObject *tmp_with_1__source = NULL; struct Nuitka_FrameObject *frame_1205504d193825f9e92bff64879ca97f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused; int tmp_res; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; bool tmp_result; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; static struct Nuitka_FrameObject *cache_frame_1205504d193825f9e92bff64879ca97f = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; // Actual function body. { PyObject *tmp_assign_source_1; struct Nuitka_CellObject *tmp_closure_1[1]; tmp_closure_1[0] = par_pmaps_thershold; Py_INCREF(tmp_closure_1[0]); tmp_assign_source_1 = MAKE_FUNCTION_models$unet3d$predictor$$$function__19_dsb_save_batch$$$function__1__pmaps_to_seg(tmp_closure_1); assert(var__pmaps_to_seg == NULL); var__pmaps_to_seg = tmp_assign_source_1; } // Tried code: if (isFrameUnusable(cache_frame_1205504d193825f9e92bff64879ca97f)) { Py_XDECREF(cache_frame_1205504d193825f9e92bff64879ca97f); #if _DEBUG_REFCOUNTS if (cache_frame_1205504d193825f9e92bff64879ca97f == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_1205504d193825f9e92bff64879ca97f = MAKE_FUNCTION_FRAME(codeobj_1205504d193825f9e92bff64879ca97f, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_1205504d193825f9e92bff64879ca97f->m_type_description == NULL); frame_1205504d193825f9e92bff64879ca97f = cache_frame_1205504d193825f9e92bff64879ca97f; // Push the new frame as the currently active one. pushFrameStack(frame_1205504d193825f9e92bff64879ca97f); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_1205504d193825f9e92bff64879ca97f) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_called_name_1 = (PyObject *)&PyZip_Type; CHECK_OBJECT(par_pred); tmp_args_element_name_1 = par_pred; CHECK_OBJECT(par_path); tmp_args_element_name_2 = par_path; frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 275; { PyObject *call_args[] = {tmp_args_element_name_1, tmp_args_element_name_2}; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_1, call_args); } if (tmp_iter_arg_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 275; type_description_1 = "oooocooooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1); Py_DECREF(tmp_iter_arg_1); if (tmp_assign_source_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 275; type_description_1 = "oooocooooo"; goto frame_exception_exit_1; } assert(tmp_for_loop_1__for_iterator == NULL); tmp_for_loop_1__for_iterator = tmp_assign_source_2; } // Tried code: loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT(tmp_for_loop_1__for_iterator); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1); if (tmp_assign_source_3 == NULL) { if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooocooooo"; exception_lineno = 275; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_3; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_iter_arg_2; CHECK_OBJECT(tmp_for_loop_1__iter_value); tmp_iter_arg_2 = tmp_for_loop_1__iter_value; tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2); if (tmp_assign_source_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 275; type_description_1 = "oooocooooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_4; Py_XDECREF(old); } } // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2); if (tmp_assign_source_5 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooocooooo"; exception_lineno = 275; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_5; Py_XDECREF(old); } } { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_2; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 2); if (tmp_assign_source_6 == NULL) { if (!ERROR_OCCURRED()) { exception_type = PyExc_StopIteration; Py_INCREF(exception_type); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); } type_description_1 = "oooocooooo"; exception_lineno = 275; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_6; Py_XDECREF(old); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT(tmp_tuple_unpack_1__source_iter); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1)); tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1); if (likely(tmp_iterator_attempt == NULL)) { PyObject *error = GET_ERROR_OCCURRED(); if (error != NULL) { if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); type_description_1 = "oooocooooo"; exception_lineno = 275; goto try_except_handler_4; } } } else { Py_DECREF(tmp_iterator_attempt); exception_type = PyExc_ValueError; Py_INCREF(PyExc_ValueError); exception_value = mod_consts[4]; Py_INCREF(exception_value); exception_tb = NULL; type_description_1 = "oooocooooo"; exception_lineno = 275; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_3; // End of try: try_end_1:; goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; // End of try: try_end_2:; Py_XDECREF(tmp_tuple_unpack_1__source_iter); tmp_tuple_unpack_1__source_iter = NULL; { PyObject *tmp_assign_source_7; CHECK_OBJECT(tmp_tuple_unpack_1__element_1); tmp_assign_source_7 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_single_pred; var_single_pred = tmp_assign_source_7; Py_INCREF(var_single_pred); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; { PyObject *tmp_assign_source_8; CHECK_OBJECT(tmp_tuple_unpack_1__element_2); tmp_assign_source_8 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_single_path; var_single_path = tmp_assign_source_8; Py_INCREF(var_single_path); Py_XDECREF(old); } } Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_1); tmp_tuple_unpack_1__element_1 = NULL; Py_XDECREF(tmp_tuple_unpack_1__element_2); tmp_tuple_unpack_1__element_2 = NULL; { PyObject *tmp_called_name_2; PyObject *tmp_expression_name_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_3; PyObject *tmp_string_concat_values_1; PyObject *tmp_tuple_element_1; tmp_expression_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[28]); if (unlikely(tmp_expression_name_1 == NULL)) { tmp_expression_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]); } if (tmp_expression_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 276; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_1, mod_consts[29]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 276; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_tuple_element_1 = mod_consts[127]; tmp_string_concat_values_1 = PyTuple_New(2); { PyObject *tmp_format_value_1; PyObject *tmp_format_spec_1; PyTuple_SET_ITEM0(tmp_string_concat_values_1, 0, tmp_tuple_element_1); CHECK_OBJECT(var_single_path); tmp_format_value_1 = var_single_path; tmp_format_spec_1 = mod_consts[32]; tmp_tuple_element_1 = BUILTIN_FORMAT(tmp_format_value_1, tmp_format_spec_1); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 276; type_description_1 = "oooocooooo"; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_string_concat_values_1, 1, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_string_concat_values_1); goto try_except_handler_2; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_args_element_name_3 = PyUnicode_Join(mod_consts[32], tmp_string_concat_values_1); Py_DECREF(tmp_string_concat_values_1); if (tmp_args_element_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_2); exception_lineno = 276; type_description_1 = "oooocooooo"; goto try_except_handler_2; } frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 276; tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, tmp_args_element_name_3); Py_DECREF(tmp_called_name_2); Py_DECREF(tmp_args_element_name_3); if (tmp_call_result_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 276; type_description_1 = "oooocooooo"; goto try_except_handler_2; } Py_DECREF(tmp_call_result_1); } { PyObject *tmp_assign_source_9; PyObject *tmp_called_instance_1; CHECK_OBJECT(var_single_pred); tmp_called_instance_1 = var_single_pred; frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 277; tmp_assign_source_9 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[64]); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 277; type_description_1 = "oooocooooo"; goto try_except_handler_2; } { PyObject *old = var_single_pred; var_single_pred = tmp_assign_source_9; Py_XDECREF(old); } } { PyObject *tmp_assign_source_10; PyObject *tmp_left_name_1; PyObject *tmp_expression_name_2; PyObject *tmp_called_instance_2; PyObject *tmp_expression_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_subscript_name_1; PyObject *tmp_right_name_1; tmp_expression_name_3 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_expression_name_3 == NULL)) { tmp_expression_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_expression_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_3, mod_consts[1]); if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_1 = "oooocooooo"; goto try_except_handler_2; } CHECK_OBJECT(var_single_path); tmp_args_element_name_4 = var_single_path; frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 280; tmp_expression_name_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[6], tmp_args_element_name_4); Py_DECREF(tmp_called_instance_2); if (tmp_expression_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_subscript_name_1 = mod_consts[7]; tmp_left_name_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_2, tmp_subscript_name_1, 0); Py_DECREF(tmp_expression_name_2); if (tmp_left_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_right_name_1 = mod_consts[128]; tmp_assign_source_10 = BINARY_OPERATION_ADD_OBJECT_OBJECT_UNICODE(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_left_name_1); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 280; type_description_1 = "oooocooooo"; goto try_except_handler_2; } { PyObject *old = var_out_file; var_out_file = tmp_assign_source_10; Py_XDECREF(old); } } { bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if (par_output_dir == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 281; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_compexpr_left_1 = par_output_dir; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = (tmp_compexpr_left_1 != tmp_compexpr_right_1) ? true : false; if (tmp_condition_result_1 != false) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; { PyObject *tmp_assign_source_11; PyObject *tmp_called_name_3; PyObject *tmp_expression_name_4; PyObject *tmp_expression_name_5; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_expression_name_6; PyObject *tmp_called_instance_3; PyObject *tmp_expression_name_7; PyObject *tmp_args_element_name_7; PyObject *tmp_subscript_name_2; tmp_expression_name_5 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_expression_name_5 == NULL)) { tmp_expression_name_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_expression_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 282; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_expression_name_4 = LOOKUP_ATTRIBUTE(tmp_expression_name_5, mod_consts[1]); if (tmp_expression_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 282; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_called_name_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[5]); Py_DECREF(tmp_expression_name_4); if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 282; type_description_1 = "oooocooooo"; goto try_except_handler_2; } if (par_output_dir == NULL) { Py_DECREF(tmp_called_name_3); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[16]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 282; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_args_element_name_5 = par_output_dir; tmp_expression_name_7 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[0]); if (unlikely(tmp_expression_name_7 == NULL)) { tmp_expression_name_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]); } if (tmp_expression_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 282; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_called_instance_3 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[1]); if (tmp_called_instance_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 282; type_description_1 = "oooocooooo"; goto try_except_handler_2; } CHECK_OBJECT(var_out_file); tmp_args_element_name_7 = var_out_file; frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 282; tmp_expression_name_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[2], tmp_args_element_name_7); Py_DECREF(tmp_called_instance_3); if (tmp_expression_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 282; type_description_1 = "oooocooooo"; goto try_except_handler_2; } tmp_subscript_name_2 = mod_consts[78]; tmp_args_element_name_6 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_6, tmp_subscript_name_2, 1); Py_DECREF(tmp_expression_name_6); if (tmp_args_element_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_3); exception_lineno = 282; type_description_1 = "oooocooooo"; goto try_except_handler_2; } frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 282; { PyObject *call_args[] = {tmp_args_element_name_5, tmp_args_element_name_6}; tmp_assign_source_11 = CALL_FUNCTION_WITH_ARGS2(tmp_called_name_3, call_args); } Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_6); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 282; type_description_1 = "oooocooooo"; goto try_except_handler_2; } { PyObject *old = var_out_file; var_out_file = tmp_assign_source_11; Py_XDECREF(old); } } branch_no_1:; // Tried code: { PyObject *tmp_assign_source_12; PyObject *tmp_called_instance_4; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[48]); if (unlikely(tmp_called_instance_4 == NULL)) { tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]); } if (tmp_called_instance_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_1 = "oooocooooo"; goto try_except_handler_5; } CHECK_OBJECT(var_out_file); tmp_args_element_name_8 = var_out_file; tmp_args_element_name_9 = mod_consts[50]; frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 284; { PyObject *call_args[] = {tmp_args_element_name_8, tmp_args_element_name_9}; tmp_assign_source_12 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_4, mod_consts[49], call_args ); } if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_1 = "oooocooooo"; goto try_except_handler_5; } { PyObject *old = tmp_with_1__source; tmp_with_1__source = tmp_assign_source_12; Py_XDECREF(old); } } { PyObject *tmp_assign_source_13; PyObject *tmp_called_name_4; PyObject *tmp_expression_name_8; CHECK_OBJECT(tmp_with_1__source); tmp_expression_name_8 = tmp_with_1__source; tmp_called_name_4 = LOOKUP_SPECIAL(tmp_expression_name_8, mod_consts[56]); if (tmp_called_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_1 = "oooocooooo"; goto try_except_handler_5; } frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 284; tmp_assign_source_13 = CALL_FUNCTION_NO_ARGS(tmp_called_name_4); Py_DECREF(tmp_called_name_4); if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_1 = "oooocooooo"; goto try_except_handler_5; } { PyObject *old = tmp_with_1__enter; tmp_with_1__enter = tmp_assign_source_13; Py_XDECREF(old); } } { PyObject *tmp_assign_source_14; PyObject *tmp_expression_name_9; CHECK_OBJECT(tmp_with_1__source); tmp_expression_name_9 = tmp_with_1__source; tmp_assign_source_14 = LOOKUP_SPECIAL(tmp_expression_name_9, mod_consts[57]); if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 284; type_description_1 = "oooocooooo"; goto try_except_handler_5; } { PyObject *old = tmp_with_1__exit; tmp_with_1__exit = tmp_assign_source_14; Py_XDECREF(old); } } { nuitka_bool tmp_assign_source_15; tmp_assign_source_15 = NUITKA_BOOL_TRUE; tmp_with_1__indicator = tmp_assign_source_15; } { PyObject *tmp_assign_source_16; CHECK_OBJECT(tmp_with_1__enter); tmp_assign_source_16 = tmp_with_1__enter; { PyObject *old = var_f; var_f = tmp_assign_source_16; Py_INCREF(var_f); Py_XDECREF(old); } } // Tried code: // Tried code: { PyObject *tmp_called_name_5; PyObject *tmp_expression_name_10; PyObject *tmp_call_result_2; PyObject *tmp_args_name_1; PyObject *tmp_kwargs_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; CHECK_OBJECT(var_f); tmp_expression_name_10 = var_f; tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_10, mod_consts[93]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 286; type_description_1 = "oooocooooo"; goto try_except_handler_7; } tmp_args_name_1 = mod_consts[129]; tmp_dict_key_1 = mod_consts[94]; CHECK_OBJECT(var_single_pred); tmp_dict_value_1 = var_single_pred; tmp_kwargs_name_1 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); tmp_dict_key_1 = mod_consts[95]; tmp_dict_value_1 = mod_consts[96]; tmp_res = PyDict_SetItem(tmp_kwargs_name_1, tmp_dict_key_1, tmp_dict_value_1); assert(!(tmp_res != 0)); frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 286; tmp_call_result_2 = CALL_FUNCTION(tmp_called_name_5, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_kwargs_name_1); if (tmp_call_result_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 286; type_description_1 = "oooocooooo"; goto try_except_handler_7; } Py_DECREF(tmp_call_result_2); } { nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; if (par_save_segmentation == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[113]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 287; type_description_1 = "oooocooooo"; goto try_except_handler_7; } tmp_truth_name_1 = CHECK_IF_TRUE(par_save_segmentation); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 287; type_description_1 = "oooocooooo"; goto try_except_handler_7; } tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_called_name_6; PyObject *tmp_expression_name_11; PyObject *tmp_call_result_3; PyObject *tmp_args_name_2; PyObject *tmp_kwargs_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_called_name_7; PyObject *tmp_args_element_name_10; if (var_f == NULL) { FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[130]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 288; type_description_1 = "oooocooooo"; goto try_except_handler_7; } tmp_expression_name_11 = var_f; tmp_called_name_6 = LOOKUP_ATTRIBUTE(tmp_expression_name_11, mod_consts[93]); if (tmp_called_name_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 288; type_description_1 = "oooocooooo"; goto try_except_handler_7; } tmp_args_name_2 = mod_consts[131]; tmp_dict_key_2 = mod_consts[94]; if (var__pmaps_to_seg == NULL) { Py_DECREF(tmp_called_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[125]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 288; type_description_1 = "oooocooooo"; goto try_except_handler_7; } tmp_called_name_7 = var__pmaps_to_seg; if (var_single_pred == NULL) { Py_DECREF(tmp_called_name_6); FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[132]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 288; type_description_1 = "oooocooooo"; goto try_except_handler_7; } tmp_args_element_name_10 = var_single_pred; frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 288; tmp_dict_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_7, tmp_args_element_name_10); if (tmp_dict_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(tmp_called_name_6); exception_lineno = 288; type_description_1 = "oooocooooo"; goto try_except_handler_7; } tmp_kwargs_name_2 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); Py_DECREF(tmp_dict_value_2); assert(!(tmp_res != 0)); tmp_dict_key_2 = mod_consts[95]; tmp_dict_value_2 = mod_consts[96]; tmp_res = PyDict_SetItem(tmp_kwargs_name_2, tmp_dict_key_2, tmp_dict_value_2); assert(!(tmp_res != 0)); frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 288; tmp_call_result_3 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_called_name_6); Py_DECREF(tmp_kwargs_name_2); if (tmp_call_result_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 288; type_description_1 = "oooocooooo"; goto try_except_handler_7; } Py_DECREF(tmp_call_result_3); } branch_no_2:; goto try_end_3; // Exception handler code: try_except_handler_7:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Preserve existing published exception id 1. GET_CURRENT_EXCEPTION(&exception_preserved_type_1, &exception_preserved_value_1, &exception_preserved_tb_1); if (exception_keeper_tb_3 == NULL) { exception_keeper_tb_3 = MAKE_TRACEBACK(frame_1205504d193825f9e92bff64879ca97f, exception_keeper_lineno_3); } else if (exception_keeper_lineno_3 != 0) { exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_1205504d193825f9e92bff64879ca97f, exception_keeper_lineno_3); } NORMALIZE_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3); ATTACH_TRACEBACK_TO_EXCEPTION_VALUE(exception_keeper_value_3, exception_keeper_tb_3); PUBLISH_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3); // Tried code: { bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = PyExc_BaseException; tmp_res = EXCEPTION_MATCH_BOOL(tmp_compexpr_left_2, tmp_compexpr_right_2); assert(!(tmp_res == -1)); tmp_condition_result_3 = (tmp_res != 0) ? true : false; if (tmp_condition_result_3 != false) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { nuitka_bool tmp_assign_source_17; tmp_assign_source_17 = NUITKA_BOOL_FALSE; tmp_with_1__indicator = tmp_assign_source_17; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_8; PyObject *tmp_args_element_name_11; PyObject *tmp_args_element_name_12; PyObject *tmp_args_element_name_13; CHECK_OBJECT(tmp_with_1__exit); tmp_called_name_8 = tmp_with_1__exit; tmp_args_element_name_11 = EXC_TYPE(PyThreadState_GET()); tmp_args_element_name_12 = EXC_VALUE(PyThreadState_GET()); tmp_args_element_name_13 = EXC_TRACEBACK(PyThreadState_GET()); frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 288; { PyObject *call_args[] = {tmp_args_element_name_11, tmp_args_element_name_12, tmp_args_element_name_13}; tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_8, call_args); } if (tmp_operand_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 288; type_description_1 = "oooocooooo"; goto try_except_handler_8; } tmp_res = CHECK_IF_TRUE(tmp_operand_name_1); Py_DECREF(tmp_operand_name_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 288; type_description_1 = "oooocooooo"; goto try_except_handler_8; } tmp_condition_result_4 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 288; } if (exception_tb && exception_tb->tb_frame == &frame_1205504d193825f9e92bff64879ca97f->m_frame) frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooocooooo"; goto try_except_handler_8; branch_no_4:; goto branch_end_3; branch_no_3:; tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb); if (unlikely(tmp_result == false)) { exception_lineno = 284; } if (exception_tb && exception_tb->tb_frame == &frame_1205504d193825f9e92bff64879ca97f->m_frame) frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooocooooo"; goto try_except_handler_8; branch_end_3:; goto try_end_4; // Exception handler code: try_except_handler_8:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_6; // End of try: try_end_4:; // Restore previous exception id 1. SET_CURRENT_EXCEPTION(exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1); goto try_end_3; NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases"); return NULL; // End of try: try_end_3:; goto try_end_5; // Exception handler code: try_except_handler_6:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { bool tmp_condition_result_5; nuitka_bool tmp_compexpr_left_3; nuitka_bool tmp_compexpr_right_3; assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_3 = tmp_with_1__indicator; tmp_compexpr_right_3 = NUITKA_BOOL_TRUE; tmp_condition_result_5 = (tmp_compexpr_left_3 == tmp_compexpr_right_3) ? true : false; if (tmp_condition_result_5 != false) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; { PyObject *tmp_called_name_9; PyObject *tmp_call_result_4; CHECK_OBJECT(tmp_with_1__exit); tmp_called_name_9 = tmp_with_1__exit; frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 288; tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_9, &PyTuple_GET_ITEM(mod_consts[79], 0)); if (tmp_call_result_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); Py_DECREF(exception_keeper_type_5); Py_XDECREF(exception_keeper_value_5); Py_XDECREF(exception_keeper_tb_5); exception_lineno = 288; type_description_1 = "oooocooooo"; goto try_except_handler_5; } Py_DECREF(tmp_call_result_4); } branch_no_5:; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_5; // End of try: try_end_5:; { bool tmp_condition_result_6; nuitka_bool tmp_compexpr_left_4; nuitka_bool tmp_compexpr_right_4; assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_4 = tmp_with_1__indicator; tmp_compexpr_right_4 = NUITKA_BOOL_TRUE; tmp_condition_result_6 = (tmp_compexpr_left_4 == tmp_compexpr_right_4) ? true : false; if (tmp_condition_result_6 != false) { goto branch_yes_6; } else { goto branch_no_6; } } branch_yes_6:; { PyObject *tmp_called_name_10; PyObject *tmp_call_result_5; CHECK_OBJECT(tmp_with_1__exit); tmp_called_name_10 = tmp_with_1__exit; frame_1205504d193825f9e92bff64879ca97f->m_frame.f_lineno = 288; tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS3(tmp_called_name_10, &PyTuple_GET_ITEM(mod_consts[79], 0)); if (tmp_call_result_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 288; type_description_1 = "oooocooooo"; goto try_except_handler_5; } Py_DECREF(tmp_call_result_5); } branch_no_6:; goto try_end_6; // Exception handler code: try_except_handler_5:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_with_1__source); tmp_with_1__source = NULL; Py_XDECREF(tmp_with_1__enter); tmp_with_1__enter = NULL; Py_XDECREF(tmp_with_1__exit); tmp_with_1__exit = NULL; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_2; // End of try: try_end_6:; CHECK_OBJECT(tmp_with_1__source); Py_DECREF(tmp_with_1__source); tmp_with_1__source = NULL; CHECK_OBJECT(tmp_with_1__enter); Py_DECREF(tmp_with_1__enter); tmp_with_1__enter = NULL; Py_XDECREF(tmp_with_1__exit); tmp_with_1__exit = NULL; if (CONSIDER_THREADING() == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 275; type_description_1 = "oooocooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; goto try_end_7; // Exception handler code: try_except_handler_2:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto frame_exception_exit_1; // End of try: try_end_7:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1205504d193825f9e92bff64879ca97f); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_1205504d193825f9e92bff64879ca97f); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_1205504d193825f9e92bff64879ca97f, exception_lineno); } else if (exception_tb->tb_frame != &frame_1205504d193825f9e92bff64879ca97f->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_1205504d193825f9e92bff64879ca97f, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_1205504d193825f9e92bff64879ca97f, type_description_1, par_output_dir, par_path, par_pred, par_save_segmentation, par_pmaps_thershold, var__pmaps_to_seg, var_single_pred, var_single_path, var_out_file, var_f ); // Release cached frame if used for exception. if (frame_1205504d193825f9e92bff64879ca97f == cache_frame_1205504d193825f9e92bff64879ca97f) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_1205504d193825f9e92bff64879ca97f); cache_frame_1205504d193825f9e92bff64879ca97f = NULL; } assertFrameObject(frame_1205504d193825f9e92bff64879ca97f); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; Py_XDECREF(tmp_for_loop_1__iter_value); tmp_for_loop_1__iter_value = NULL; Py_XDECREF(tmp_for_loop_1__for_iterator); tmp_for_loop_1__for_iterator = NULL; tmp_return_value = Py_None; Py_INCREF(tmp_return_value); goto try_return_handler_1; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; Py_XDECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(par_path); Py_DECREF(par_path); par_path = NULL; CHECK_OBJECT(par_pred); Py_DECREF(par_pred); par_pred = NULL; Py_XDECREF(par_save_segmentation); par_save_segmentation = NULL; CHECK_OBJECT(par_pmaps_thershold); Py_DECREF(par_pmaps_thershold); par_pmaps_thershold = NULL; Py_XDECREF(var__pmaps_to_seg); var__pmaps_to_seg = NULL; Py_XDECREF(var_single_pred); var_single_pred = NULL; Py_XDECREF(var_single_path); var_single_path = NULL; Py_XDECREF(var_out_file); var_out_file = NULL; Py_XDECREF(var_f); var_f = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(par_output_dir); par_output_dir = NULL; CHECK_OBJECT(par_path); Py_DECREF(par_path); par_path = NULL; CHECK_OBJECT(par_pred); Py_DECREF(par_pred); par_pred = NULL; Py_XDECREF(par_save_segmentation); par_save_segmentation = NULL; CHECK_OBJECT(par_pmaps_thershold); Py_DECREF(par_pmaps_thershold); par_pmaps_thershold = NULL; Py_XDECREF(var__pmaps_to_seg); var__pmaps_to_seg = NULL; Py_XDECREF(var_single_pred); var_single_pred = NULL; Py_XDECREF(var_single_path); var_single_path = NULL; Py_XDECREF(var_out_file); var_out_file = NULL; Py_XDECREF(var_f); var_f = NULL; // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *impl_models$unet3d$predictor$$$function__19_dsb_save_batch$$$function__1__pmaps_to_seg(struct Nuitka_FunctionObject const *self, PyObject **python_pars) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_pred = python_pars[0]; PyObject *var_mask = NULL; struct Nuitka_FrameObject *frame_99c2b4b393370469d449fa5be8ea39af; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_99c2b4b393370469d449fa5be8ea39af = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function body. // Tried code: if (isFrameUnusable(cache_frame_99c2b4b393370469d449fa5be8ea39af)) { Py_XDECREF(cache_frame_99c2b4b393370469d449fa5be8ea39af); #if _DEBUG_REFCOUNTS if (cache_frame_99c2b4b393370469d449fa5be8ea39af == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_99c2b4b393370469d449fa5be8ea39af = MAKE_FUNCTION_FRAME(codeobj_99c2b4b393370469d449fa5be8ea39af, module_models$unet3d$predictor, sizeof(void *)+sizeof(void *)+sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_99c2b4b393370469d449fa5be8ea39af->m_type_description == NULL); frame_99c2b4b393370469d449fa5be8ea39af = cache_frame_99c2b4b393370469d449fa5be8ea39af; // Push the new frame as the currently active one. pushFrameStack(frame_99c2b4b393370469d449fa5be8ea39af); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_99c2b4b393370469d449fa5be8ea39af) == 2); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(par_pred); tmp_compexpr_left_1 = par_pred; if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) { FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[112]); exception_tb = NULL; NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 271; type_description_1 = "ooc"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Nuitka_Cell_GET(self->m_closure[0]); tmp_assign_source_1 = RICH_COMPARE_GT_OBJECT_OBJECT_OBJECT(tmp_compexpr_left_1, tmp_compexpr_right_1); if (tmp_assign_source_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 271; type_description_1 = "ooc"; goto frame_exception_exit_1; } assert(var_mask == NULL); var_mask = tmp_assign_source_1; } { PyObject *tmp_called_instance_1; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_1; tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[133]); if (unlikely(tmp_called_instance_2 == NULL)) { tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[133]); } if (tmp_called_instance_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 272; type_description_1 = "ooc"; goto frame_exception_exit_1; } CHECK_OBJECT(var_mask); tmp_args_element_name_1 = var_mask; frame_99c2b4b393370469d449fa5be8ea39af->m_frame.f_lineno = 272; tmp_called_instance_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[134], tmp_args_element_name_1); if (tmp_called_instance_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 272; type_description_1 = "ooc"; goto frame_exception_exit_1; } frame_99c2b4b393370469d449fa5be8ea39af->m_frame.f_lineno = 272; tmp_return_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, mod_consts[135], &PyTuple_GET_ITEM(mod_consts[136], 0) ); Py_DECREF(tmp_called_instance_1); if (tmp_return_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 272; type_description_1 = "ooc"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION(frame_99c2b4b393370469d449fa5be8ea39af); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_99c2b4b393370469d449fa5be8ea39af); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_99c2b4b393370469d449fa5be8ea39af); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_99c2b4b393370469d449fa5be8ea39af, exception_lineno); } else if (exception_tb->tb_frame != &frame_99c2b4b393370469d449fa5be8ea39af->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_99c2b4b393370469d449fa5be8ea39af, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_99c2b4b393370469d449fa5be8ea39af, type_description_1, par_pred, var_mask, self->m_closure[0] ); // Release cached frame if used for exception. if (frame_99c2b4b393370469d449fa5be8ea39af == cache_frame_99c2b4b393370469d449fa5be8ea39af) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_99c2b4b393370469d449fa5be8ea39af); cache_frame_99c2b4b393370469d449fa5be8ea39af = NULL; } assertFrameObject(frame_99c2b4b393370469d449fa5be8ea39af); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_1:; CHECK_OBJECT(par_pred); Py_DECREF(par_pred); par_pred = NULL; Py_XDECREF(var_mask); var_mask = NULL; goto function_return_exit; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(par_pred); Py_DECREF(par_pred); par_pred = NULL; Py_XDECREF(var_mask); var_mask = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; function_exception_exit: assert(exception_type); RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; function_return_exit: // Function cleanup code if any. // Actual function exit with return value, making sure we did not make // the error status worse despite non-NULL return. CHECK_OBJECT(tmp_return_value); assert(had_error || !ERROR_OCCURRED()); return tmp_return_value; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__10__save_results() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__10__save_results, mod_consts[85], #if PYTHON_VERSION >= 0x300 mod_consts[181], #endif codeobj_e718675254b06885e1aa7656b16dec34, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__11__pad() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__11__pad, mod_consts[62], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_989443e4e43d7438067f39a09157b360, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__12__unpad() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__12__unpad, mod_consts[67], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_07cbe57c14d20fc9570d667e537912d9, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__13___init__(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__13___init__, mod_consts[25], #if PYTHON_VERSION >= 0x300 mod_consts[185], #endif codeobj_705bda7d6673d7b7394952127174c725, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__14__allocate_prediction_maps() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__14__allocate_prediction_maps, mod_consts[52], #if PYTHON_VERSION >= 0x300 mod_consts[186], #endif codeobj_1f99e51ff5df2510c2b0ace52698561d, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__15__save_results() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__15__save_results, mod_consts[85], #if PYTHON_VERSION >= 0x300 mod_consts[187], #endif codeobj_22cdd3268e91283d209035484befb961, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__16___init__(PyObject *defaults, struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__16___init__, mod_consts[25], #if PYTHON_VERSION >= 0x300 mod_consts[190], #endif codeobj_dcd17f5afd82ae6840c9b24712bd4189, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__17__slice_from_pad() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__17__slice_from_pad, mod_consts[191], #if PYTHON_VERSION >= 0x300 mod_consts[192], #endif codeobj_930c7addf8d4e8ab57ac0d86a59b45e9, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__18___call__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__18___call__, mod_consts[174], #if PYTHON_VERSION >= 0x300 mod_consts[193], #endif codeobj_f6cc4d43175142ef596c007b051512dc, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__19_dsb_save_batch(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__19_dsb_save_batch, mod_consts[120], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_1205504d193825f9e92bff64879ca97f, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__19_dsb_save_batch$$$function__1__pmaps_to_seg(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__19_dsb_save_batch$$$function__1__pmaps_to_seg, mod_consts[125], #if PYTHON_VERSION >= 0x300 mod_consts[126], #endif codeobj_99c2b4b393370469d449fa5be8ea39af, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__1__get_output_file(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__1__get_output_file, mod_consts[47], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_68e1784c45ce56b7a898263ca3d286b3, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__2__get_dataset_name(PyObject *defaults) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__2__get_dataset_name, mod_consts[92], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_f2b89732675bda34182075fd0575336f, defaults, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__3__is_2d_model() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__3__is_2d_model, mod_consts[46], #if PYTHON_VERSION >= 0x300 NULL, #endif codeobj_7298cf55343e2cf941e7ce2ab35cccff, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__4___init__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__4___init__, mod_consts[25], #if PYTHON_VERSION >= 0x300 mod_consts[171], #endif codeobj_e6cb236fb3fdabaf9c6ffb55bc474219, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__5_volume_shape() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__5_volume_shape, mod_consts[41], #if PYTHON_VERSION >= 0x300 mod_consts[173], #endif codeobj_46d152c9497b774acdf337c98dc16053, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__6___call__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__6___call__, mod_consts[174], #if PYTHON_VERSION >= 0x300 mod_consts[175], #endif codeobj_d22562c3c8d13a87206feda6eb48d1fb, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__7___init__(struct Nuitka_CellObject **closure) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__7___init__, mod_consts[25], #if PYTHON_VERSION >= 0x300 mod_consts[178], #endif codeobj_80a71c310d45263d95d2a410d98e469a, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, closure, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__8___call__() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__8___call__, mod_consts[174], #if PYTHON_VERSION >= 0x300 mod_consts[179], #endif codeobj_12e22a3ebd81123517bf550395e990d0, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_models$unet3d$predictor$$$function__9__allocate_prediction_maps() { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_models$unet3d$predictor$$$function__9__allocate_prediction_maps, mod_consts[52], #if PYTHON_VERSION >= 0x300 mod_consts[180], #endif codeobj_9acb737f0b5b77657e415d5b3f608a87, NULL, #if PYTHON_VERSION >= 0x300 NULL, NULL, #endif module_models$unet3d$predictor, NULL, NULL, 0 ); return (PyObject *)result; } extern void _initCompiledCellType(); extern void _initCompiledGeneratorType(); extern void _initCompiledFunctionType(); extern void _initCompiledMethodType(); extern void _initCompiledFrameType(); extern PyTypeObject Nuitka_Loader_Type; #ifdef _NUITKA_PLUGIN_DILL_ENABLED // Provide a way to create find a function via its C code and create it back // in another process, useful for multiprocessing extensions like dill extern void registerDillPluginTables(char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function); function_impl_code functable_models$unet3d$predictor[] = { impl_models$unet3d$predictor$$$function__19_dsb_save_batch$$$function__1__pmaps_to_seg, impl_models$unet3d$predictor$$$function__1__get_output_file, impl_models$unet3d$predictor$$$function__2__get_dataset_name, impl_models$unet3d$predictor$$$function__3__is_2d_model, impl_models$unet3d$predictor$$$function__4___init__, impl_models$unet3d$predictor$$$function__5_volume_shape, impl_models$unet3d$predictor$$$function__6___call__, impl_models$unet3d$predictor$$$function__7___init__, impl_models$unet3d$predictor$$$function__8___call__, impl_models$unet3d$predictor$$$function__9__allocate_prediction_maps, impl_models$unet3d$predictor$$$function__10__save_results, impl_models$unet3d$predictor$$$function__11__pad, impl_models$unet3d$predictor$$$function__12__unpad, impl_models$unet3d$predictor$$$function__13___init__, impl_models$unet3d$predictor$$$function__14__allocate_prediction_maps, impl_models$unet3d$predictor$$$function__15__save_results, impl_models$unet3d$predictor$$$function__16___init__, impl_models$unet3d$predictor$$$function__17__slice_from_pad, impl_models$unet3d$predictor$$$function__18___call__, impl_models$unet3d$predictor$$$function__19_dsb_save_batch, NULL }; static char const *_reduce_compiled_function_argnames[] = { "func", NULL }; static PyObject *_reduce_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) { PyObject *func; if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:reduce_compiled_function", (char **)_reduce_compiled_function_argnames, &func, NULL)) { return NULL; } if (Nuitka_Function_Check(func) == false) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "not a compiled function"); return NULL; } struct Nuitka_FunctionObject *function = (struct Nuitka_FunctionObject *)func; function_impl_code *current = functable_models$unet3d$predictor; int offset = 0; while (*current != NULL) { if (*current == function->m_c_code) { break; } current += 1; offset += 1; } if (*current == NULL) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Cannot find compiled function in module."); return NULL; } PyObject *code_object_desc = PyTuple_New(6); PyTuple_SET_ITEM0(code_object_desc, 0, function->m_code_object->co_filename); PyTuple_SET_ITEM0(code_object_desc, 1, function->m_code_object->co_name); PyTuple_SET_ITEM(code_object_desc, 2, PyLong_FromLong(function->m_code_object->co_firstlineno)); PyTuple_SET_ITEM0(code_object_desc, 3, function->m_code_object->co_varnames); PyTuple_SET_ITEM(code_object_desc, 4, PyLong_FromLong(function->m_code_object->co_argcount)); PyTuple_SET_ITEM(code_object_desc, 5, PyLong_FromLong(function->m_code_object->co_flags)); CHECK_OBJECT_DEEP(code_object_desc); PyObject *result = PyTuple_New(4); PyTuple_SET_ITEM(result, 0, PyLong_FromLong(offset)); PyTuple_SET_ITEM(result, 1, code_object_desc); PyTuple_SET_ITEM0(result, 2, function->m_defaults); PyTuple_SET_ITEM0(result, 3, function->m_doc != NULL ? function->m_doc : Py_None); CHECK_OBJECT_DEEP(result); return result; } static PyMethodDef _method_def_reduce_compiled_function = {"reduce_compiled_function", (PyCFunction)_reduce_compiled_function, METH_VARARGS | METH_KEYWORDS, NULL}; static char const *_create_compiled_function_argnames[] = { "func", "code_object_desc", "defaults", "doc", NULL }; static PyObject *_create_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) { CHECK_OBJECT_DEEP(args); PyObject *func; PyObject *code_object_desc; PyObject *defaults; PyObject *doc; if (!PyArg_ParseTupleAndKeywords(args, kwds, "OOOO:create_compiled_function", (char **)_create_compiled_function_argnames, &func, &code_object_desc, &defaults, &doc, NULL)) { return NULL; } int offset = PyLong_AsLong(func); if (offset == -1 && ERROR_OCCURRED()) { return NULL; } if (offset > sizeof(functable_models$unet3d$predictor) || offset < 0) { SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Wrong offset for compiled function."); return NULL; } PyObject *filename = PyTuple_GET_ITEM(code_object_desc, 0); PyObject *function_name = PyTuple_GET_ITEM(code_object_desc, 1); PyObject *line = PyTuple_GET_ITEM(code_object_desc, 2); int line_int = PyLong_AsLong(line); assert(!ERROR_OCCURRED()); PyObject *argnames = PyTuple_GET_ITEM(code_object_desc, 3); PyObject *arg_count = PyTuple_GET_ITEM(code_object_desc, 4); int arg_count_int = PyLong_AsLong(arg_count); assert(!ERROR_OCCURRED()); PyObject *flags = PyTuple_GET_ITEM(code_object_desc, 5); int flags_int = PyLong_AsLong(flags); assert(!ERROR_OCCURRED()); PyCodeObject *code_object = MAKE_CODEOBJECT( filename, line_int, flags_int, function_name, argnames, NULL, // freevars arg_count_int, 0, // TODO: Missing kw_only_count 0 // TODO: Missing pos_only_count ); struct Nuitka_FunctionObject *result = Nuitka_Function_New( functable_models$unet3d$predictor[offset], code_object->co_name, #if PYTHON_VERSION >= 0x300 NULL, // TODO: Not transferring qualname yet #endif code_object, defaults, #if PYTHON_VERSION >= 0x300 NULL, // kwdefaults are done on the outside currently NULL, // TODO: Not transferring annotations #endif module_models$unet3d$predictor, doc, NULL, 0 ); return (PyObject *)result; } static PyMethodDef _method_def_create_compiled_function = { "create_compiled_function", (PyCFunction)_create_compiled_function, METH_VARARGS | METH_KEYWORDS, NULL }; #endif // Internal entry point for module code. PyObject *modulecode_models$unet3d$predictor(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *module_entry) { module_models$unet3d$predictor = module; #ifdef _NUITKA_MODULE // In case of a stand alone extension module, need to call initialization // the init here because that's the first and only time we are going to get // called here. // Initialize the constant values used. _initBuiltinModule(); createGlobalConstants(); /* Initialize the compiled types of Nuitka. */ _initCompiledCellType(); _initCompiledGeneratorType(); _initCompiledFunctionType(); _initCompiledMethodType(); _initCompiledFrameType(); #if PYTHON_VERSION < 0x300 _initSlotCompare(); #endif #if PYTHON_VERSION >= 0x270 _initSlotIternext(); #endif patchBuiltinModule(); patchTypeComparison(); // Enable meta path based loader if not already done. #ifdef _NUITKA_TRACE PRINT_STRING("models.unet3d.predictor: Calling setupMetaPathBasedLoader().\n"); #endif setupMetaPathBasedLoader(); #if PYTHON_VERSION >= 0x300 patchInspectModule(); #endif #endif /* The constants only used by this module are created now. */ #ifdef _NUITKA_TRACE PRINT_STRING("models.unet3d.predictor: Calling createModuleConstants().\n"); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE PRINT_STRING("models.unet3d.predictor: Calling createModuleCodeObjects().\n"); #endif createModuleCodeObjects(); // PRINT_STRING("in initmodels$unet3d$predictor\n"); // Create the module object first. There are no methods initially, all are // added dynamically in actual code only. Also no "__doc__" is initially // set at this time, as it could not contain NUL characters this way, they // are instead set in early module code. No "self" for modules, we have no // use for it. moduledict_models$unet3d$predictor = MODULE_DICT(module_models$unet3d$predictor); #ifdef _NUITKA_PLUGIN_DILL_ENABLED registerDillPluginTables(module_entry->name, &_method_def_reduce_compiled_function, &_method_def_create_compiled_function); #endif // Set "__compiled__" to what version information we have. UPDATE_STRING_DICT0( moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___compiled__, Nuitka_dunder_compiled_value ); // Update "__package__" value to what it ought to be. { #if 0 UPDATE_STRING_DICT0( moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___package__, const_str_empty ); #elif 0 PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___name__); UPDATE_STRING_DICT0( moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 0x300 PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___name__); char const *module_name_cstr = PyString_AS_STRING(module_name); char const *last_dot = strrchr(module_name_cstr, '.'); if (last_dot != NULL) { UPDATE_STRING_DICT1( moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___package__, PyString_FromStringAndSize(module_name_cstr, last_dot - module_name_cstr) ); } #else PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___name__); Py_ssize_t dot_index = PyUnicode_Find(module_name, const_str_dot, 0, PyUnicode_GetLength(module_name), -1); if (dot_index != -1) { UPDATE_STRING_DICT1( moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring(module_name, 0, dot_index) ); } #endif #endif } CHECK_OBJECT(module_models$unet3d$predictor); // For deep importing of a module we need to have "__builtins__", so we set // it ourselves in the same way than CPython does. Note: This must be done // before the frame object is allocated, or else it may fail. if (GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___builtins__) == NULL) { PyObject *value = (PyObject *)builtin_module; // Check if main module, not a dict then but the module itself. #if !defined(_NUITKA_EXE) || !0 value = PyModule_GetDict(value); #endif UPDATE_STRING_DICT0(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___builtins__, value); } #if PYTHON_VERSION >= 0x300 UPDATE_STRING_DICT0(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___loader__, (PyObject *)&Nuitka_Loader_Type); #endif #if PYTHON_VERSION >= 0x340 // Set the "__spec__" value #if 0 // Main modules just get "None" as spec. UPDATE_STRING_DICT0(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___spec__, Py_None); #else // Other modules get a "ModuleSpec" from the standard mechanism. { PyObject *bootstrap_module = getImportLibBootstrapModule(); CHECK_OBJECT(bootstrap_module); PyObject *_spec_from_module = PyObject_GetAttrString(bootstrap_module, "_spec_from_module"); CHECK_OBJECT(_spec_from_module); PyObject *spec_value = CALL_FUNCTION_WITH_SINGLE_ARG(_spec_from_module, module_models$unet3d$predictor); Py_DECREF(_spec_from_module); // We can assume this to never fail, or else we are in trouble anyway. // CHECK_OBJECT(spec_value); if (spec_value == NULL) { PyErr_PrintEx(0); abort(); } // Mark the execution in the "__spec__" value. SET_ATTRIBUTE(spec_value, const_str_plain__initializing, Py_True); UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)const_str_plain___spec__, spec_value); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; struct Nuitka_CellObject *outline_1_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_2_var___class__ = Nuitka_Cell_Empty(); struct Nuitka_CellObject *outline_3_var___class__ = Nuitka_Cell_Empty(); PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__bases_orig = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__bases_orig = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_class_creation_4__bases = NULL; PyObject *tmp_class_creation_4__bases_orig = NULL; PyObject *tmp_class_creation_4__class_decl_dict = NULL; PyObject *tmp_class_creation_4__metaclass = NULL; PyObject *tmp_class_creation_4__prepared = NULL; struct Nuitka_FrameObject *frame_63b960195e39bc165f63de7fa2cab847; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; PyObject *locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_c4266b88ebda23201522fdf805d2c1a0_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_c4266b88ebda23201522fdf805d2c1a0_2 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *locals_models$unet3d$predictor$$$class__2_StandardPredictor_57 = NULL; struct Nuitka_FrameObject *frame_654ac4e36b1ceb797e7f7b084a3adade_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_654ac4e36b1ceb797e7f7b084a3adade_3 = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *locals_models$unet3d$predictor$$$class__3_LazyPredictor_191 = NULL; struct Nuitka_FrameObject *frame_fe4d8960e59865f68d63911a210b309b_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_fe4d8960e59865f68d63911a210b309b_4 = NULL; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233 = NULL; struct Nuitka_FrameObject *frame_5e0c7d03dd4bae0660fe38f64d474d39_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_5e0c7d03dd4bae0660fe38f64d474d39_5 = NULL; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[137], tmp_assign_source_1); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = module_filename_obj; UPDATE_STRING_DICT0(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[138], tmp_assign_source_2); } // Frame without reuse. frame_63b960195e39bc165f63de7fa2cab847 = MAKE_MODULE_FRAME(codeobj_63b960195e39bc165f63de7fa2cab847, module_models$unet3d$predictor); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack(frame_63b960195e39bc165f63de7fa2cab847); assert(Py_REFCNT(frame_63b960195e39bc165f63de7fa2cab847) == 2); // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = module_filename_obj; tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[139]); if (unlikely(tmp_assattr_target_1 == NULL)) { tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[139]); } assert(!(tmp_assattr_target_1 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[140], tmp_assattr_name_1); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = Py_True; tmp_assattr_target_2 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[139]); if (unlikely(tmp_assattr_target_2 == NULL)) { tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[139]); } assert(!(tmp_assattr_target_2 == NULL)); tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[141], tmp_assattr_name_2); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 1; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = Py_None; UPDATE_STRING_DICT0(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[142], tmp_assign_source_3); } { PyObject *tmp_assign_source_4; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 1; tmp_assign_source_4 = IMPORT_HARD_OS(); assert(!(tmp_assign_source_4 == NULL)); UPDATE_STRING_DICT0(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_4); } { PyObject *tmp_assign_source_5; PyObject *tmp_name_name_1; PyObject *tmp_globals_arg_name_1; PyObject *tmp_locals_arg_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = mod_consts[34]; tmp_globals_arg_name_1 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 2; tmp_assign_source_5 = IMPORT_MODULE5(tmp_name_name_1, tmp_globals_arg_name_1, tmp_locals_arg_name_1, tmp_fromlist_name_1, tmp_level_name_1); assert(!(tmp_assign_source_5 == NULL)); UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[34], tmp_assign_source_5); } { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_1; PyObject *tmp_name_name_2; PyObject *tmp_globals_arg_name_2; PyObject *tmp_locals_arg_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = mod_consts[143]; tmp_globals_arg_name_2 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_2 = Py_None; tmp_fromlist_name_2 = mod_consts[144]; tmp_level_name_2 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 3; tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_name_2, tmp_globals_arg_name_2, tmp_locals_arg_name_2, tmp_fromlist_name_2, tmp_level_name_2); if (tmp_import_name_from_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 3; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_1)) { tmp_assign_source_6 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_1, (PyObject *)moduledict_models$unet3d$predictor, mod_consts[115], mod_consts[7] ); } else { tmp_assign_source_6 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[115]); } Py_DECREF(tmp_import_name_from_1); if (tmp_assign_source_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 3; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[115], tmp_assign_source_6); } { PyObject *tmp_assign_source_7; PyObject *tmp_name_name_3; PyObject *tmp_globals_arg_name_3; PyObject *tmp_locals_arg_name_3; PyObject *tmp_fromlist_name_3; PyObject *tmp_level_name_3; tmp_name_name_3 = mod_consts[48]; tmp_globals_arg_name_3 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_3 = Py_None; tmp_fromlist_name_3 = Py_None; tmp_level_name_3 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 5; tmp_assign_source_7 = IMPORT_MODULE5(tmp_name_name_3, tmp_globals_arg_name_3, tmp_locals_arg_name_3, tmp_fromlist_name_3, tmp_level_name_3); if (tmp_assign_source_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 5; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[48], tmp_assign_source_7); } { PyObject *tmp_assign_source_8; PyObject *tmp_name_name_4; PyObject *tmp_globals_arg_name_4; PyObject *tmp_locals_arg_name_4; PyObject *tmp_fromlist_name_4; PyObject *tmp_level_name_4; tmp_name_name_4 = mod_consts[69]; tmp_globals_arg_name_4 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_4 = Py_None; tmp_fromlist_name_4 = Py_None; tmp_level_name_4 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 6; tmp_assign_source_8 = IMPORT_MODULE5(tmp_name_name_4, tmp_globals_arg_name_4, tmp_locals_arg_name_4, tmp_fromlist_name_4, tmp_level_name_4); if (tmp_assign_source_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 6; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[73], tmp_assign_source_8); } { PyObject *tmp_assign_source_9; PyObject *tmp_name_name_5; PyObject *tmp_globals_arg_name_5; PyObject *tmp_locals_arg_name_5; PyObject *tmp_fromlist_name_5; PyObject *tmp_level_name_5; tmp_name_name_5 = mod_consts[54]; tmp_globals_arg_name_5 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_5 = Py_None; tmp_fromlist_name_5 = Py_None; tmp_level_name_5 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 7; tmp_assign_source_9 = IMPORT_MODULE5(tmp_name_name_5, tmp_globals_arg_name_5, tmp_locals_arg_name_5, tmp_fromlist_name_5, tmp_level_name_5); if (tmp_assign_source_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 7; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[54], tmp_assign_source_9); } { PyObject *tmp_assign_source_10; PyObject *tmp_import_name_from_2; PyObject *tmp_name_name_6; PyObject *tmp_globals_arg_name_6; PyObject *tmp_locals_arg_name_6; PyObject *tmp_fromlist_name_6; PyObject *tmp_level_name_6; tmp_name_name_6 = mod_consts[145]; tmp_globals_arg_name_6 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_6 = Py_None; tmp_fromlist_name_6 = mod_consts[146]; tmp_level_name_6 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 8; tmp_import_name_from_2 = IMPORT_MODULE5(tmp_name_name_6, tmp_globals_arg_name_6, tmp_locals_arg_name_6, tmp_fromlist_name_6, tmp_level_name_6); if (tmp_import_name_from_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 8; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_2)) { tmp_assign_source_10 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_2, (PyObject *)moduledict_models$unet3d$predictor, mod_consts[133], mod_consts[7] ); } else { tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[133]); } Py_DECREF(tmp_import_name_from_2); if (tmp_assign_source_10 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 8; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[133], tmp_assign_source_10); } { PyObject *tmp_assign_source_11; PyObject *tmp_import_name_from_3; PyObject *tmp_name_name_7; PyObject *tmp_globals_arg_name_7; PyObject *tmp_locals_arg_name_7; PyObject *tmp_fromlist_name_7; PyObject *tmp_level_name_7; tmp_name_name_7 = mod_consts[54]; tmp_globals_arg_name_7 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_7 = Py_None; tmp_fromlist_name_7 = mod_consts[147]; tmp_level_name_7 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 9; tmp_import_name_from_3 = IMPORT_MODULE5(tmp_name_name_7, tmp_globals_arg_name_7, tmp_locals_arg_name_7, tmp_fromlist_name_7, tmp_level_name_7); if (tmp_import_name_from_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_3)) { tmp_assign_source_11 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_3, (PyObject *)moduledict_models$unet3d$predictor, mod_consts[11], mod_consts[7] ); } else { tmp_assign_source_11 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[11]); } Py_DECREF(tmp_import_name_from_3); if (tmp_assign_source_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 9; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[11], tmp_assign_source_11); } { PyObject *tmp_assign_source_12; PyObject *tmp_import_name_from_4; PyObject *tmp_name_name_8; PyObject *tmp_globals_arg_name_8; PyObject *tmp_locals_arg_name_8; PyObject *tmp_fromlist_name_8; PyObject *tmp_level_name_8; tmp_name_name_8 = mod_consts[58]; tmp_globals_arg_name_8 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_8 = Py_None; tmp_fromlist_name_8 = mod_consts[148]; tmp_level_name_8 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 10; tmp_import_name_from_4 = IMPORT_MODULE5(tmp_name_name_8, tmp_globals_arg_name_8, tmp_locals_arg_name_8, tmp_fromlist_name_8, tmp_level_name_8); if (tmp_import_name_from_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 10; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_4)) { tmp_assign_source_12 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_4, (PyObject *)moduledict_models$unet3d$predictor, mod_consts[58], mod_consts[7] ); } else { tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[58]); } Py_DECREF(tmp_import_name_from_4); if (tmp_assign_source_12 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 10; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[58], tmp_assign_source_12); } { PyObject *tmp_assign_source_13; PyObject *tmp_import_name_from_5; PyObject *tmp_name_name_9; PyObject *tmp_globals_arg_name_9; PyObject *tmp_locals_arg_name_9; PyObject *tmp_fromlist_name_9; PyObject *tmp_level_name_9; tmp_name_name_9 = mod_consts[149]; tmp_globals_arg_name_9 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_9 = Py_None; tmp_fromlist_name_9 = mod_consts[150]; tmp_level_name_9 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 12; tmp_import_name_from_5 = IMPORT_MODULE5(tmp_name_name_9, tmp_globals_arg_name_9, tmp_locals_arg_name_9, tmp_fromlist_name_9, tmp_level_name_9); if (tmp_import_name_from_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 12; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_5)) { tmp_assign_source_13 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_5, (PyObject *)moduledict_models$unet3d$predictor, mod_consts[27], mod_consts[7] ); } else { tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[27]); } Py_DECREF(tmp_import_name_from_5); if (tmp_assign_source_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 12; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[27], tmp_assign_source_13); } { PyObject *tmp_assign_source_14; PyObject *tmp_import_name_from_6; PyObject *tmp_name_name_10; PyObject *tmp_globals_arg_name_10; PyObject *tmp_locals_arg_name_10; PyObject *tmp_fromlist_name_10; PyObject *tmp_level_name_10; tmp_name_name_10 = mod_consts[151]; tmp_globals_arg_name_10 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_10 = Py_None; tmp_fromlist_name_10 = mod_consts[152]; tmp_level_name_10 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 13; tmp_import_name_from_6 = IMPORT_MODULE5(tmp_name_name_10, tmp_globals_arg_name_10, tmp_locals_arg_name_10, tmp_fromlist_name_10, tmp_level_name_10); if (tmp_import_name_from_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 13; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_6)) { tmp_assign_source_14 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_6, (PyObject *)moduledict_models$unet3d$predictor, mod_consts[106], mod_consts[7] ); } else { tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[106]); } Py_DECREF(tmp_import_name_from_6); if (tmp_assign_source_14 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 13; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[106], tmp_assign_source_14); } { PyObject *tmp_assign_source_15; PyObject *tmp_import_name_from_7; PyObject *tmp_name_name_11; PyObject *tmp_globals_arg_name_11; PyObject *tmp_locals_arg_name_11; PyObject *tmp_fromlist_name_11; PyObject *tmp_level_name_11; tmp_name_name_11 = mod_consts[153]; tmp_globals_arg_name_11 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_11 = Py_None; tmp_fromlist_name_11 = mod_consts[154]; tmp_level_name_11 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 14; tmp_import_name_from_7 = IMPORT_MODULE5(tmp_name_name_11, tmp_globals_arg_name_11, tmp_locals_arg_name_11, tmp_fromlist_name_11, tmp_level_name_11); if (tmp_import_name_from_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 14; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_7)) { tmp_assign_source_15 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_7, (PyObject *)moduledict_models$unet3d$predictor, mod_consts[14], mod_consts[7] ); } else { tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[14]); } Py_DECREF(tmp_import_name_from_7); if (tmp_assign_source_15 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 14; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[14], tmp_assign_source_15); } { PyObject *tmp_assign_source_16; PyObject *tmp_import_name_from_8; PyObject *tmp_name_name_12; PyObject *tmp_globals_arg_name_12; PyObject *tmp_locals_arg_name_12; PyObject *tmp_fromlist_name_12; PyObject *tmp_level_name_12; tmp_name_name_12 = mod_consts[155]; tmp_globals_arg_name_12 = (PyObject *)moduledict_models$unet3d$predictor; tmp_locals_arg_name_12 = Py_None; tmp_fromlist_name_12 = mod_consts[156]; tmp_level_name_12 = mod_consts[7]; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 15; tmp_import_name_from_8 = IMPORT_MODULE5(tmp_name_name_12, tmp_globals_arg_name_12, tmp_locals_arg_name_12, tmp_fromlist_name_12, tmp_level_name_12); if (tmp_import_name_from_8 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto frame_exception_exit_1; } if (PyModule_Check(tmp_import_name_from_8)) { tmp_assign_source_16 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_8, (PyObject *)moduledict_models$unet3d$predictor, mod_consts[157], mod_consts[7] ); } else { tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[157]); } Py_DECREF(tmp_import_name_from_8); if (tmp_assign_source_16 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 15; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[157], tmp_assign_source_16); } { PyObject *tmp_assign_source_17; PyObject *tmp_called_name_1; tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[157]); if (unlikely(tmp_called_name_1 == NULL)) { tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[157]); } assert(!(tmp_called_name_1 == NULL)); frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 17; tmp_assign_source_17 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_1, mod_consts[158]); if (tmp_assign_source_17 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 17; goto frame_exception_exit_1; } UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[28], tmp_assign_source_17); } { PyObject *tmp_assign_source_18; PyObject *tmp_defaults_1; tmp_defaults_1 = mod_consts[159]; Py_INCREF(tmp_defaults_1); tmp_assign_source_18 = MAKE_FUNCTION_models$unet3d$predictor$$$function__1__get_output_file(tmp_defaults_1); UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[47], tmp_assign_source_18); } { PyObject *tmp_assign_source_19; PyObject *tmp_defaults_2; tmp_defaults_2 = mod_consts[129]; Py_INCREF(tmp_defaults_2); tmp_assign_source_19 = MAKE_FUNCTION_models$unet3d$predictor$$$function__2__get_dataset_name(tmp_defaults_2); UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[92], tmp_assign_source_19); } { PyObject *tmp_assign_source_20; tmp_assign_source_20 = MAKE_FUNCTION_models$unet3d$predictor$$$function__3__is_2d_model(); UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[46], tmp_assign_source_20); } { PyObject *tmp_assign_source_21; tmp_assign_source_21 = PyDict_New(); assert(tmp_class_creation_1__class_decl_dict == NULL); tmp_class_creation_1__class_decl_dict = tmp_assign_source_21; } // Tried code: { PyObject *tmp_assign_source_22; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_1; PyObject *tmp_key_name_1; PyObject *tmp_dict_arg_name_1; PyObject *tmp_dict_arg_name_2; PyObject *tmp_key_name_2; PyObject *tmp_bases_name_1; tmp_key_name_1 = mod_consts[160]; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_name_1 = tmp_class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_1, tmp_key_name_1); assert(!(tmp_res == -1)); tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_name_2 = tmp_class_creation_1__class_decl_dict; tmp_key_name_2 = mod_consts[160]; tmp_metaclass_name_1 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_2, tmp_key_name_2); if (tmp_metaclass_name_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_1; } goto condexpr_end_1; condexpr_false_1:; tmp_metaclass_name_1 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_1); condexpr_end_1:; tmp_bases_name_1 = mod_consts[161]; tmp_assign_source_22 = SELECT_METACLASS(tmp_metaclass_name_1, tmp_bases_name_1); Py_DECREF(tmp_metaclass_name_1); if (tmp_assign_source_22 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_1; } assert(tmp_class_creation_1__metaclass == NULL); tmp_class_creation_1__metaclass = tmp_assign_source_22; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_key_name_3; PyObject *tmp_dict_arg_name_3; tmp_key_name_3 = mod_consts[160]; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dict_arg_name_3 = tmp_class_creation_1__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_3, tmp_key_name_3); assert(!(tmp_res == -1)); tmp_condition_result_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) { goto branch_yes_1; } else { goto branch_no_1; } } branch_yes_1:; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict; tmp_dictdel_key = mod_consts[160]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_1; } branch_no_1:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_expression_name_1; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_expression_name_1 = tmp_class_creation_1__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_1, mod_consts[162]); tmp_condition_result_3 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) { goto branch_yes_2; } else { goto branch_no_2; } } branch_yes_2:; { PyObject *tmp_assign_source_23; PyObject *tmp_called_name_2; PyObject *tmp_expression_name_2; PyObject *tmp_args_name_1; PyObject *tmp_kwargs_name_1; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_expression_name_2 = tmp_class_creation_1__metaclass; tmp_called_name_2 = LOOKUP_ATTRIBUTE(tmp_expression_name_2, mod_consts[162]); if (tmp_called_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_1; } tmp_args_name_1 = mod_consts[163]; CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_kwargs_name_1 = tmp_class_creation_1__class_decl_dict; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 38; tmp_assign_source_23 = CALL_FUNCTION(tmp_called_name_2, tmp_args_name_1, tmp_kwargs_name_1); Py_DECREF(tmp_called_name_2); if (tmp_assign_source_23 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_1; } assert(tmp_class_creation_1__prepared == NULL); tmp_class_creation_1__prepared = tmp_assign_source_23; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_operand_name_1; PyObject *tmp_expression_name_3; CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_expression_name_3 = tmp_class_creation_1__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_3, mod_consts[164]); tmp_operand_name_1 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_1); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_1; } tmp_condition_result_4 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) { goto branch_yes_3; } else { goto branch_no_3; } } branch_yes_3:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_1 = mod_consts[165]; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = mod_consts[166]; tmp_getattr_default_1 = mod_consts[167]; tmp_tuple_element_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_1; } tmp_right_name_1 = PyTuple_New(2); { PyObject *tmp_expression_name_4; PyObject *tmp_type_arg_1; PyTuple_SET_ITEM(tmp_right_name_1, 0, tmp_tuple_element_1); CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_type_arg_1 = tmp_class_creation_1__prepared; tmp_expression_name_4 = BUILTIN_TYPE1(tmp_type_arg_1); assert(!(tmp_expression_name_4 == NULL)); tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_name_4, mod_consts[166]); Py_DECREF(tmp_expression_name_4); if (tmp_tuple_element_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto tuple_build_exception_1; } PyTuple_SET_ITEM(tmp_right_name_1, 1, tmp_tuple_element_1); } goto tuple_build_noexception_1; // Exception handling pass through code for tuple_build: tuple_build_exception_1:; Py_DECREF(tmp_right_name_1); goto try_except_handler_1; // Finished with no exception for tuple_build: tuple_build_noexception_1:; tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_1, tmp_right_name_1); Py_DECREF(tmp_right_name_1); if (tmp_raise_value_1 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_1; } exception_type = tmp_raise_type_1; Py_INCREF(tmp_raise_type_1); exception_value = tmp_raise_value_1; exception_lineno = 38; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_1; } branch_no_3:; goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_24; tmp_assign_source_24 = PyDict_New(); assert(tmp_class_creation_1__prepared == NULL); tmp_class_creation_1__prepared = tmp_assign_source_24; } branch_end_2:; { PyObject *tmp_assign_source_25; { PyObject *tmp_set_locals_1; CHECK_OBJECT(tmp_class_creation_1__prepared); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38 = tmp_set_locals_1; Py_INCREF(tmp_set_locals_1); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[166]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[166]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38, mod_consts[168], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_3; } tmp_dictset_value = mod_consts[169]; tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38, mod_consts[170], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_3; } if (isFrameUnusable(cache_frame_c4266b88ebda23201522fdf805d2c1a0_2)) { Py_XDECREF(cache_frame_c4266b88ebda23201522fdf805d2c1a0_2); #if _DEBUG_REFCOUNTS if (cache_frame_c4266b88ebda23201522fdf805d2c1a0_2 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_c4266b88ebda23201522fdf805d2c1a0_2 = MAKE_FUNCTION_FRAME(codeobj_c4266b88ebda23201522fdf805d2c1a0, module_models$unet3d$predictor, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_c4266b88ebda23201522fdf805d2c1a0_2->m_type_description == NULL); frame_c4266b88ebda23201522fdf805d2c1a0_2 = cache_frame_c4266b88ebda23201522fdf805d2c1a0_2; // Push the new frame as the currently active one. pushFrameStack(frame_c4266b88ebda23201522fdf805d2c1a0_2); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_c4266b88ebda23201522fdf805d2c1a0_2) == 2); // Frame stack // Framed code: tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__4___init__(); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38, mod_consts[25], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 39; type_description_2 = "o"; goto frame_exception_exit_2; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_staticmethod_arg_1; tmp_res = MAPPING_HAS_ITEM(locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38, mod_consts[172]); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 45; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_5 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; tmp_called_name_3 = PyObject_GetItem(locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38, mod_consts[172]); if (unlikely(tmp_called_name_3 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) { FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[172]); NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb); CHAIN_EXCEPTION(exception_value); exception_lineno = 45; type_description_2 = "o"; goto frame_exception_exit_2; } if (tmp_called_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 45; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_1 = MAKE_FUNCTION_models$unet3d$predictor$$$function__5_volume_shape(); frame_c4266b88ebda23201522fdf805d2c1a0_2->m_frame.f_lineno = 45; tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_3, tmp_args_element_name_1); Py_DECREF(tmp_called_name_3); Py_DECREF(tmp_args_element_name_1); if (tmp_dictset_value == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 45; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_2; condexpr_false_2:; tmp_staticmethod_arg_1 = MAKE_FUNCTION_models$unet3d$predictor$$$function__5_volume_shape(); tmp_dictset_value = BUILTIN_STATICMETHOD(tmp_staticmethod_arg_1); Py_DECREF(tmp_staticmethod_arg_1); assert(!(tmp_dictset_value == NULL)); condexpr_end_2:; tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38, mod_consts[41], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 46; type_description_2 = "o"; goto frame_exception_exit_2; } } tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__6___call__(); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38, mod_consts[174], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 53; type_description_2 = "o"; goto frame_exception_exit_2; } #if 0 RESTORE_FRAME_EXCEPTION(frame_c4266b88ebda23201522fdf805d2c1a0_2); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION(frame_c4266b88ebda23201522fdf805d2c1a0_2); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_c4266b88ebda23201522fdf805d2c1a0_2, exception_lineno); } else if (exception_tb->tb_frame != &frame_c4266b88ebda23201522fdf805d2c1a0_2->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_c4266b88ebda23201522fdf805d2c1a0_2, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_c4266b88ebda23201522fdf805d2c1a0_2, type_description_2, outline_0_var___class__ ); // Release cached frame if used for exception. if (frame_c4266b88ebda23201522fdf805d2c1a0_2 == cache_frame_c4266b88ebda23201522fdf805d2c1a0_2) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_c4266b88ebda23201522fdf805d2c1a0_2); cache_frame_c4266b88ebda23201522fdf805d2c1a0_2 = NULL; } assertFrameObject(frame_c4266b88ebda23201522fdf805d2c1a0_2); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; goto try_except_handler_3; skip_nested_handling_1:; { PyObject *tmp_assign_source_26; PyObject *tmp_called_name_4; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_kwargs_name_2; CHECK_OBJECT(tmp_class_creation_1__metaclass); tmp_called_name_4 = tmp_class_creation_1__metaclass; tmp_tuple_element_2 = mod_consts[169]; tmp_args_name_2 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_2, 0, tmp_tuple_element_2); tmp_tuple_element_2 = mod_consts[161]; PyTuple_SET_ITEM0(tmp_args_name_2, 1, tmp_tuple_element_2); tmp_tuple_element_2 = locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38; PyTuple_SET_ITEM0(tmp_args_name_2, 2, tmp_tuple_element_2); CHECK_OBJECT(tmp_class_creation_1__class_decl_dict); tmp_kwargs_name_2 = tmp_class_creation_1__class_decl_dict; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 38; tmp_assign_source_26 = CALL_FUNCTION(tmp_called_name_4, tmp_args_name_2, tmp_kwargs_name_2); Py_DECREF(tmp_args_name_2); if (tmp_assign_source_26 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 38; goto try_except_handler_3; } assert(outline_0_var___class__ == NULL); outline_0_var___class__ = tmp_assign_source_26; } CHECK_OBJECT(outline_0_var___class__); tmp_assign_source_25 = outline_0_var___class__; Py_INCREF(tmp_assign_source_25); goto try_return_handler_3; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_3:; Py_DECREF(locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38); locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38 = NULL; goto try_return_handler_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38); locals_models$unet3d$predictor$$$class__1__AbstractPredictor_38 = NULL; // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_2; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_2:; CHECK_OBJECT(outline_0_var___class__); Py_DECREF(outline_0_var___class__); outline_0_var___class__ = NULL; goto outline_result_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_1:; exception_lineno = 38; goto try_except_handler_1; outline_result_1:; UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[169], tmp_assign_source_25); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_1__class_decl_dict); tmp_class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_1__metaclass); tmp_class_creation_1__metaclass = NULL; Py_XDECREF(tmp_class_creation_1__prepared); tmp_class_creation_1__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; // End of try: try_end_1:; Py_XDECREF(tmp_class_creation_1__class_decl_dict); tmp_class_creation_1__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_1__metaclass); tmp_class_creation_1__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_1__prepared); Py_DECREF(tmp_class_creation_1__prepared); tmp_class_creation_1__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_27; PyObject *tmp_tuple_element_3; tmp_tuple_element_3 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[169]); if (unlikely(tmp_tuple_element_3 == NULL)) { tmp_tuple_element_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[169]); } if (tmp_tuple_element_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } tmp_assign_source_27 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_27, 0, tmp_tuple_element_3); assert(tmp_class_creation_2__bases_orig == NULL); tmp_class_creation_2__bases_orig = tmp_assign_source_27; } { PyObject *tmp_assign_source_28; PyObject *tmp_dircall_arg1_1; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_dircall_arg1_1 = tmp_class_creation_2__bases_orig; Py_INCREF(tmp_dircall_arg1_1); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_28 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_28 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } assert(tmp_class_creation_2__bases == NULL); tmp_class_creation_2__bases = tmp_assign_source_28; } { PyObject *tmp_assign_source_29; tmp_assign_source_29 = PyDict_New(); assert(tmp_class_creation_2__class_decl_dict == NULL); tmp_class_creation_2__class_decl_dict = tmp_assign_source_29; } { PyObject *tmp_assign_source_30; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_6; PyObject *tmp_key_name_4; PyObject *tmp_dict_arg_name_4; PyObject *tmp_dict_arg_name_5; PyObject *tmp_key_name_5; nuitka_bool tmp_condition_result_7; int tmp_truth_name_1; PyObject *tmp_type_arg_2; PyObject *tmp_expression_name_5; PyObject *tmp_subscript_name_1; PyObject *tmp_bases_name_2; tmp_key_name_4 = mod_consts[160]; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_name_4 = tmp_class_creation_2__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_4, tmp_key_name_4); assert(!(tmp_res == -1)); tmp_condition_result_6 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_name_5 = tmp_class_creation_2__class_decl_dict; tmp_key_name_5 = mod_consts[160]; tmp_metaclass_name_2 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_5, tmp_key_name_5); if (tmp_metaclass_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } goto condexpr_end_3; condexpr_false_3:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_truth_name_1 = CHECK_IF_TRUE(tmp_class_creation_2__bases); if (tmp_truth_name_1 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } tmp_condition_result_7 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_expression_name_5 = tmp_class_creation_2__bases; tmp_subscript_name_1 = mod_consts[7]; tmp_type_arg_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_5, tmp_subscript_name_1, 0); if (tmp_type_arg_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } tmp_metaclass_name_2 = BUILTIN_TYPE1(tmp_type_arg_2); Py_DECREF(tmp_type_arg_2); if (tmp_metaclass_name_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } goto condexpr_end_4; condexpr_false_4:; tmp_metaclass_name_2 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_2); condexpr_end_4:; condexpr_end_3:; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_bases_name_2 = tmp_class_creation_2__bases; tmp_assign_source_30 = SELECT_METACLASS(tmp_metaclass_name_2, tmp_bases_name_2); Py_DECREF(tmp_metaclass_name_2); if (tmp_assign_source_30 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } assert(tmp_class_creation_2__metaclass == NULL); tmp_class_creation_2__metaclass = tmp_assign_source_30; } { nuitka_bool tmp_condition_result_8; PyObject *tmp_key_name_6; PyObject *tmp_dict_arg_name_6; tmp_key_name_6 = mod_consts[160]; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dict_arg_name_6 = tmp_class_creation_2__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_6, tmp_key_name_6); assert(!(tmp_res == -1)); tmp_condition_result_8 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) { goto branch_yes_4; } else { goto branch_no_4; } } branch_yes_4:; CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict; tmp_dictdel_key = mod_consts[160]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } branch_no_4:; { nuitka_bool tmp_condition_result_9; PyObject *tmp_expression_name_6; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_expression_name_6 = tmp_class_creation_2__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_6, mod_consts[162]); tmp_condition_result_9 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) { goto branch_yes_5; } else { goto branch_no_5; } } branch_yes_5:; { PyObject *tmp_assign_source_31; PyObject *tmp_called_name_5; PyObject *tmp_expression_name_7; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kwargs_name_3; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_expression_name_7 = tmp_class_creation_2__metaclass; tmp_called_name_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_7, mod_consts[162]); if (tmp_called_name_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } tmp_tuple_element_4 = mod_consts[176]; tmp_args_name_3 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_3, 0, tmp_tuple_element_4); CHECK_OBJECT(tmp_class_creation_2__bases); tmp_tuple_element_4 = tmp_class_creation_2__bases; PyTuple_SET_ITEM0(tmp_args_name_3, 1, tmp_tuple_element_4); CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_kwargs_name_3 = tmp_class_creation_2__class_decl_dict; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 57; tmp_assign_source_31 = CALL_FUNCTION(tmp_called_name_5, tmp_args_name_3, tmp_kwargs_name_3); Py_DECREF(tmp_called_name_5); Py_DECREF(tmp_args_name_3); if (tmp_assign_source_31 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } assert(tmp_class_creation_2__prepared == NULL); tmp_class_creation_2__prepared = tmp_assign_source_31; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_operand_name_2; PyObject *tmp_expression_name_8; CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_expression_name_8 = tmp_class_creation_2__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_8, mod_consts[164]); tmp_operand_name_2 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_2); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } tmp_condition_result_10 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) { goto branch_yes_6; } else { goto branch_no_6; } } branch_yes_6:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_5; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_2 = mod_consts[165]; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_getattr_target_2 = tmp_class_creation_2__metaclass; tmp_getattr_attr_2 = mod_consts[166]; tmp_getattr_default_2 = mod_consts[167]; tmp_tuple_element_5 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2); if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } tmp_right_name_2 = PyTuple_New(2); { PyObject *tmp_expression_name_9; PyObject *tmp_type_arg_3; PyTuple_SET_ITEM(tmp_right_name_2, 0, tmp_tuple_element_5); CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_type_arg_3 = tmp_class_creation_2__prepared; tmp_expression_name_9 = BUILTIN_TYPE1(tmp_type_arg_3); assert(!(tmp_expression_name_9 == NULL)); tmp_tuple_element_5 = LOOKUP_ATTRIBUTE(tmp_expression_name_9, mod_consts[166]); Py_DECREF(tmp_expression_name_9); if (tmp_tuple_element_5 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto tuple_build_exception_2; } PyTuple_SET_ITEM(tmp_right_name_2, 1, tmp_tuple_element_5); } goto tuple_build_noexception_2; // Exception handling pass through code for tuple_build: tuple_build_exception_2:; Py_DECREF(tmp_right_name_2); goto try_except_handler_4; // Finished with no exception for tuple_build: tuple_build_noexception_2:; tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_2, tmp_right_name_2); Py_DECREF(tmp_right_name_2); if (tmp_raise_value_2 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_4; } exception_type = tmp_raise_type_2; Py_INCREF(tmp_raise_type_2); exception_value = tmp_raise_value_2; exception_lineno = 57; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_4; } branch_no_6:; goto branch_end_5; branch_no_5:; { PyObject *tmp_assign_source_32; tmp_assign_source_32 = PyDict_New(); assert(tmp_class_creation_2__prepared == NULL); tmp_class_creation_2__prepared = tmp_assign_source_32; } branch_end_5:; { PyObject *tmp_assign_source_33; { PyObject *tmp_set_locals_2; CHECK_OBJECT(tmp_class_creation_2__prepared); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_models$unet3d$predictor$$$class__2_StandardPredictor_57 = tmp_set_locals_2; Py_INCREF(tmp_set_locals_2); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[166]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[166]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__2_StandardPredictor_57, mod_consts[168], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_6; } tmp_dictset_value = mod_consts[177]; tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__2_StandardPredictor_57, mod_consts[137], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_6; } tmp_dictset_value = mod_consts[176]; tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__2_StandardPredictor_57, mod_consts[170], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_6; } if (isFrameUnusable(cache_frame_654ac4e36b1ceb797e7f7b084a3adade_3)) { Py_XDECREF(cache_frame_654ac4e36b1ceb797e7f7b084a3adade_3); #if _DEBUG_REFCOUNTS if (cache_frame_654ac4e36b1ceb797e7f7b084a3adade_3 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_654ac4e36b1ceb797e7f7b084a3adade_3 = MAKE_FUNCTION_FRAME(codeobj_654ac4e36b1ceb797e7f7b084a3adade, module_models$unet3d$predictor, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_654ac4e36b1ceb797e7f7b084a3adade_3->m_type_description == NULL); frame_654ac4e36b1ceb797e7f7b084a3adade_3 = cache_frame_654ac4e36b1ceb797e7f7b084a3adade_3; // Push the new frame as the currently active one. pushFrameStack(frame_654ac4e36b1ceb797e7f7b084a3adade_3); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_654ac4e36b1ceb797e7f7b084a3adade_3) == 2); // Frame stack // Framed code: { struct Nuitka_CellObject *tmp_closure_1[1]; tmp_closure_1[0] = outline_1_var___class__; Py_INCREF(tmp_closure_1[0]); tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__7___init__(tmp_closure_1); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__2_StandardPredictor_57, mod_consts[25], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 72; type_description_2 = "c"; goto frame_exception_exit_3; } } tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__8___call__(); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__2_StandardPredictor_57, mod_consts[174], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 75; type_description_2 = "c"; goto frame_exception_exit_3; } tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__9__allocate_prediction_maps(); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__2_StandardPredictor_57, mod_consts[52], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 161; type_description_2 = "c"; goto frame_exception_exit_3; } tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__10__save_results(); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__2_StandardPredictor_57, mod_consts[85], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 168; type_description_2 = "c"; goto frame_exception_exit_3; } #if 0 RESTORE_FRAME_EXCEPTION(frame_654ac4e36b1ceb797e7f7b084a3adade_3); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION(frame_654ac4e36b1ceb797e7f7b084a3adade_3); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_654ac4e36b1ceb797e7f7b084a3adade_3, exception_lineno); } else if (exception_tb->tb_frame != &frame_654ac4e36b1ceb797e7f7b084a3adade_3->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_654ac4e36b1ceb797e7f7b084a3adade_3, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_654ac4e36b1ceb797e7f7b084a3adade_3, type_description_2, outline_1_var___class__ ); // Release cached frame if used for exception. if (frame_654ac4e36b1ceb797e7f7b084a3adade_3 == cache_frame_654ac4e36b1ceb797e7f7b084a3adade_3) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_654ac4e36b1ceb797e7f7b084a3adade_3); cache_frame_654ac4e36b1ceb797e7f7b084a3adade_3 = NULL; } assertFrameObject(frame_654ac4e36b1ceb797e7f7b084a3adade_3); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_2; frame_no_exception_2:; goto skip_nested_handling_2; nested_frame_exit_2:; goto try_except_handler_6; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_11; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT(tmp_class_creation_2__bases); tmp_compexpr_left_1 = tmp_class_creation_2__bases; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_compexpr_right_1 = tmp_class_creation_2__bases_orig; tmp_condition_result_11 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_1, tmp_compexpr_right_1); if (tmp_condition_result_11 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_6; } if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) { goto branch_yes_7; } else { goto branch_no_7; } assert(tmp_condition_result_11 != NUITKA_BOOL_UNASSIGNED); } branch_yes_7:; CHECK_OBJECT(tmp_class_creation_2__bases_orig); tmp_dictset_value = tmp_class_creation_2__bases_orig; tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__2_StandardPredictor_57, mod_consts[182], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_6; } branch_no_7:; { PyObject *tmp_assign_source_34; PyObject *tmp_called_name_6; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_6; PyObject *tmp_kwargs_name_4; CHECK_OBJECT(tmp_class_creation_2__metaclass); tmp_called_name_6 = tmp_class_creation_2__metaclass; tmp_tuple_element_6 = mod_consts[176]; tmp_args_name_4 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_4, 0, tmp_tuple_element_6); CHECK_OBJECT(tmp_class_creation_2__bases); tmp_tuple_element_6 = tmp_class_creation_2__bases; PyTuple_SET_ITEM0(tmp_args_name_4, 1, tmp_tuple_element_6); tmp_tuple_element_6 = locals_models$unet3d$predictor$$$class__2_StandardPredictor_57; PyTuple_SET_ITEM0(tmp_args_name_4, 2, tmp_tuple_element_6); CHECK_OBJECT(tmp_class_creation_2__class_decl_dict); tmp_kwargs_name_4 = tmp_class_creation_2__class_decl_dict; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 57; tmp_assign_source_34 = CALL_FUNCTION(tmp_called_name_6, tmp_args_name_4, tmp_kwargs_name_4); Py_DECREF(tmp_args_name_4); if (tmp_assign_source_34 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 57; goto try_except_handler_6; } { PyObject *old = Nuitka_Cell_GET(outline_1_var___class__); PyCell_SET(outline_1_var___class__, tmp_assign_source_34); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_1_var___class__)); tmp_assign_source_33 = Nuitka_Cell_GET(outline_1_var___class__); Py_INCREF(tmp_assign_source_33); goto try_return_handler_6; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_6:; Py_DECREF(locals_models$unet3d$predictor$$$class__2_StandardPredictor_57); locals_models$unet3d$predictor$$$class__2_StandardPredictor_57 = NULL; goto try_return_handler_5; // Exception handler code: try_except_handler_6:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$unet3d$predictor$$$class__2_StandardPredictor_57); locals_models$unet3d$predictor$$$class__2_StandardPredictor_57 = NULL; // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_5; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_5:; CHECK_OBJECT(outline_1_var___class__); Py_DECREF(outline_1_var___class__); outline_1_var___class__ = NULL; goto outline_result_2; // Exception handler code: try_except_handler_5:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_1_var___class__); Py_DECREF(outline_1_var___class__); outline_1_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto outline_exception_2; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_2:; exception_lineno = 57; goto try_except_handler_4; outline_result_2:; UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[176], tmp_assign_source_33); } goto try_end_2; // Exception handler code: try_except_handler_4:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_2__bases_orig); tmp_class_creation_2__bases_orig = NULL; Py_XDECREF(tmp_class_creation_2__bases); tmp_class_creation_2__bases = NULL; Py_XDECREF(tmp_class_creation_2__class_decl_dict); tmp_class_creation_2__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_2__metaclass); tmp_class_creation_2__metaclass = NULL; Py_XDECREF(tmp_class_creation_2__prepared); tmp_class_creation_2__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; // End of try: try_end_2:; CHECK_OBJECT(tmp_class_creation_2__bases_orig); Py_DECREF(tmp_class_creation_2__bases_orig); tmp_class_creation_2__bases_orig = NULL; Py_XDECREF(tmp_class_creation_2__bases); tmp_class_creation_2__bases = NULL; Py_XDECREF(tmp_class_creation_2__class_decl_dict); tmp_class_creation_2__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_2__metaclass); tmp_class_creation_2__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_2__prepared); Py_DECREF(tmp_class_creation_2__prepared); tmp_class_creation_2__prepared = NULL; { PyObject *tmp_assign_source_35; tmp_assign_source_35 = MAKE_FUNCTION_models$unet3d$predictor$$$function__11__pad(); UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[62], tmp_assign_source_35); } { PyObject *tmp_assign_source_36; tmp_assign_source_36 = MAKE_FUNCTION_models$unet3d$predictor$$$function__12__unpad(); UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[67], tmp_assign_source_36); } // Tried code: { PyObject *tmp_assign_source_37; PyObject *tmp_tuple_element_7; tmp_tuple_element_7 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[176]); if (unlikely(tmp_tuple_element_7 == NULL)) { tmp_tuple_element_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[176]); } if (tmp_tuple_element_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } tmp_assign_source_37 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_37, 0, tmp_tuple_element_7); assert(tmp_class_creation_3__bases_orig == NULL); tmp_class_creation_3__bases_orig = tmp_assign_source_37; } { PyObject *tmp_assign_source_38; PyObject *tmp_dircall_arg1_2; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_dircall_arg1_2 = tmp_class_creation_3__bases_orig; Py_INCREF(tmp_dircall_arg1_2); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_38 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_38 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } assert(tmp_class_creation_3__bases == NULL); tmp_class_creation_3__bases = tmp_assign_source_38; } { PyObject *tmp_assign_source_39; tmp_assign_source_39 = PyDict_New(); assert(tmp_class_creation_3__class_decl_dict == NULL); tmp_class_creation_3__class_decl_dict = tmp_assign_source_39; } { PyObject *tmp_assign_source_40; PyObject *tmp_metaclass_name_3; nuitka_bool tmp_condition_result_12; PyObject *tmp_key_name_7; PyObject *tmp_dict_arg_name_7; PyObject *tmp_dict_arg_name_8; PyObject *tmp_key_name_8; nuitka_bool tmp_condition_result_13; int tmp_truth_name_2; PyObject *tmp_type_arg_4; PyObject *tmp_expression_name_10; PyObject *tmp_subscript_name_2; PyObject *tmp_bases_name_3; tmp_key_name_7 = mod_consts[160]; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_name_7 = tmp_class_creation_3__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_7, tmp_key_name_7); assert(!(tmp_res == -1)); tmp_condition_result_12 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_name_8 = tmp_class_creation_3__class_decl_dict; tmp_key_name_8 = mod_consts[160]; tmp_metaclass_name_3 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_8, tmp_key_name_8); if (tmp_metaclass_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } goto condexpr_end_5; condexpr_false_5:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_3__bases); if (tmp_truth_name_2 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } tmp_condition_result_13 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_expression_name_10 = tmp_class_creation_3__bases; tmp_subscript_name_2 = mod_consts[7]; tmp_type_arg_4 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_10, tmp_subscript_name_2, 0); if (tmp_type_arg_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } tmp_metaclass_name_3 = BUILTIN_TYPE1(tmp_type_arg_4); Py_DECREF(tmp_type_arg_4); if (tmp_metaclass_name_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } goto condexpr_end_6; condexpr_false_6:; tmp_metaclass_name_3 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_3); condexpr_end_6:; condexpr_end_5:; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_bases_name_3 = tmp_class_creation_3__bases; tmp_assign_source_40 = SELECT_METACLASS(tmp_metaclass_name_3, tmp_bases_name_3); Py_DECREF(tmp_metaclass_name_3); if (tmp_assign_source_40 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } assert(tmp_class_creation_3__metaclass == NULL); tmp_class_creation_3__metaclass = tmp_assign_source_40; } { nuitka_bool tmp_condition_result_14; PyObject *tmp_key_name_9; PyObject *tmp_dict_arg_name_9; tmp_key_name_9 = mod_consts[160]; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dict_arg_name_9 = tmp_class_creation_3__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_9, tmp_key_name_9); assert(!(tmp_res == -1)); tmp_condition_result_14 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) { goto branch_yes_8; } else { goto branch_no_8; } } branch_yes_8:; CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict; tmp_dictdel_key = mod_consts[160]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } branch_no_8:; { nuitka_bool tmp_condition_result_15; PyObject *tmp_expression_name_11; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_expression_name_11 = tmp_class_creation_3__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_11, mod_consts[162]); tmp_condition_result_15 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) { goto branch_yes_9; } else { goto branch_no_9; } } branch_yes_9:; { PyObject *tmp_assign_source_41; PyObject *tmp_called_name_7; PyObject *tmp_expression_name_12; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_8; PyObject *tmp_kwargs_name_5; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_expression_name_12 = tmp_class_creation_3__metaclass; tmp_called_name_7 = LOOKUP_ATTRIBUTE(tmp_expression_name_12, mod_consts[162]); if (tmp_called_name_7 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } tmp_tuple_element_8 = mod_consts[183]; tmp_args_name_5 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_5, 0, tmp_tuple_element_8); CHECK_OBJECT(tmp_class_creation_3__bases); tmp_tuple_element_8 = tmp_class_creation_3__bases; PyTuple_SET_ITEM0(tmp_args_name_5, 1, tmp_tuple_element_8); CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_kwargs_name_5 = tmp_class_creation_3__class_decl_dict; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 191; tmp_assign_source_41 = CALL_FUNCTION(tmp_called_name_7, tmp_args_name_5, tmp_kwargs_name_5); Py_DECREF(tmp_called_name_7); Py_DECREF(tmp_args_name_5); if (tmp_assign_source_41 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } assert(tmp_class_creation_3__prepared == NULL); tmp_class_creation_3__prepared = tmp_assign_source_41; } { nuitka_bool tmp_condition_result_16; PyObject *tmp_operand_name_3; PyObject *tmp_expression_name_13; CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_expression_name_13 = tmp_class_creation_3__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_13, mod_consts[164]); tmp_operand_name_3 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_3); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } tmp_condition_result_16 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) { goto branch_yes_10; } else { goto branch_no_10; } } branch_yes_10:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_9; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; tmp_raise_type_3 = PyExc_TypeError; tmp_left_name_3 = mod_consts[165]; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_getattr_target_3 = tmp_class_creation_3__metaclass; tmp_getattr_attr_3 = mod_consts[166]; tmp_getattr_default_3 = mod_consts[167]; tmp_tuple_element_9 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3); if (tmp_tuple_element_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } tmp_right_name_3 = PyTuple_New(2); { PyObject *tmp_expression_name_14; PyObject *tmp_type_arg_5; PyTuple_SET_ITEM(tmp_right_name_3, 0, tmp_tuple_element_9); CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_type_arg_5 = tmp_class_creation_3__prepared; tmp_expression_name_14 = BUILTIN_TYPE1(tmp_type_arg_5); assert(!(tmp_expression_name_14 == NULL)); tmp_tuple_element_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_14, mod_consts[166]); Py_DECREF(tmp_expression_name_14); if (tmp_tuple_element_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto tuple_build_exception_3; } PyTuple_SET_ITEM(tmp_right_name_3, 1, tmp_tuple_element_9); } goto tuple_build_noexception_3; // Exception handling pass through code for tuple_build: tuple_build_exception_3:; Py_DECREF(tmp_right_name_3); goto try_except_handler_7; // Finished with no exception for tuple_build: tuple_build_noexception_3:; tmp_raise_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_3, tmp_right_name_3); Py_DECREF(tmp_right_name_3); if (tmp_raise_value_3 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_7; } exception_type = tmp_raise_type_3; Py_INCREF(tmp_raise_type_3); exception_value = tmp_raise_value_3; exception_lineno = 191; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_7; } branch_no_10:; goto branch_end_9; branch_no_9:; { PyObject *tmp_assign_source_42; tmp_assign_source_42 = PyDict_New(); assert(tmp_class_creation_3__prepared == NULL); tmp_class_creation_3__prepared = tmp_assign_source_42; } branch_end_9:; { PyObject *tmp_assign_source_43; { PyObject *tmp_set_locals_3; CHECK_OBJECT(tmp_class_creation_3__prepared); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_models$unet3d$predictor$$$class__3_LazyPredictor_191 = tmp_set_locals_3; Py_INCREF(tmp_set_locals_3); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[166]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[166]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__3_LazyPredictor_191, mod_consts[168], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_9; } tmp_dictset_value = mod_consts[184]; tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__3_LazyPredictor_191, mod_consts[137], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_9; } tmp_dictset_value = mod_consts[183]; tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__3_LazyPredictor_191, mod_consts[170], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_9; } if (isFrameUnusable(cache_frame_fe4d8960e59865f68d63911a210b309b_4)) { Py_XDECREF(cache_frame_fe4d8960e59865f68d63911a210b309b_4); #if _DEBUG_REFCOUNTS if (cache_frame_fe4d8960e59865f68d63911a210b309b_4 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_fe4d8960e59865f68d63911a210b309b_4 = MAKE_FUNCTION_FRAME(codeobj_fe4d8960e59865f68d63911a210b309b, module_models$unet3d$predictor, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_fe4d8960e59865f68d63911a210b309b_4->m_type_description == NULL); frame_fe4d8960e59865f68d63911a210b309b_4 = cache_frame_fe4d8960e59865f68d63911a210b309b_4; // Push the new frame as the currently active one. pushFrameStack(frame_fe4d8960e59865f68d63911a210b309b_4); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_fe4d8960e59865f68d63911a210b309b_4) == 2); // Frame stack // Framed code: { struct Nuitka_CellObject *tmp_closure_2[1]; tmp_closure_2[0] = outline_2_var___class__; Py_INCREF(tmp_closure_2[0]); tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__13___init__(tmp_closure_2); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__3_LazyPredictor_191, mod_consts[25], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 207; type_description_2 = "c"; goto frame_exception_exit_4; } } tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__14__allocate_prediction_maps(); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__3_LazyPredictor_191, mod_consts[52], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 210; type_description_2 = "c"; goto frame_exception_exit_4; } tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__15__save_results(); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__3_LazyPredictor_191, mod_consts[85], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 220; type_description_2 = "c"; goto frame_exception_exit_4; } #if 0 RESTORE_FRAME_EXCEPTION(frame_fe4d8960e59865f68d63911a210b309b_4); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_exception_exit_4:; #if 0 RESTORE_FRAME_EXCEPTION(frame_fe4d8960e59865f68d63911a210b309b_4); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_fe4d8960e59865f68d63911a210b309b_4, exception_lineno); } else if (exception_tb->tb_frame != &frame_fe4d8960e59865f68d63911a210b309b_4->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_fe4d8960e59865f68d63911a210b309b_4, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_fe4d8960e59865f68d63911a210b309b_4, type_description_2, outline_2_var___class__ ); // Release cached frame if used for exception. if (frame_fe4d8960e59865f68d63911a210b309b_4 == cache_frame_fe4d8960e59865f68d63911a210b309b_4) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_fe4d8960e59865f68d63911a210b309b_4); cache_frame_fe4d8960e59865f68d63911a210b309b_4 = NULL; } assertFrameObject(frame_fe4d8960e59865f68d63911a210b309b_4); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_3; frame_no_exception_3:; goto skip_nested_handling_3; nested_frame_exit_3:; goto try_except_handler_9; skip_nested_handling_3:; { nuitka_bool tmp_condition_result_17; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT(tmp_class_creation_3__bases); tmp_compexpr_left_2 = tmp_class_creation_3__bases; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_compexpr_right_2 = tmp_class_creation_3__bases_orig; tmp_condition_result_17 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_2, tmp_compexpr_right_2); if (tmp_condition_result_17 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_9; } if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) { goto branch_yes_11; } else { goto branch_no_11; } assert(tmp_condition_result_17 != NUITKA_BOOL_UNASSIGNED); } branch_yes_11:; CHECK_OBJECT(tmp_class_creation_3__bases_orig); tmp_dictset_value = tmp_class_creation_3__bases_orig; tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__3_LazyPredictor_191, mod_consts[182], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_9; } branch_no_11:; { PyObject *tmp_assign_source_44; PyObject *tmp_called_name_8; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_10; PyObject *tmp_kwargs_name_6; CHECK_OBJECT(tmp_class_creation_3__metaclass); tmp_called_name_8 = tmp_class_creation_3__metaclass; tmp_tuple_element_10 = mod_consts[183]; tmp_args_name_6 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_6, 0, tmp_tuple_element_10); CHECK_OBJECT(tmp_class_creation_3__bases); tmp_tuple_element_10 = tmp_class_creation_3__bases; PyTuple_SET_ITEM0(tmp_args_name_6, 1, tmp_tuple_element_10); tmp_tuple_element_10 = locals_models$unet3d$predictor$$$class__3_LazyPredictor_191; PyTuple_SET_ITEM0(tmp_args_name_6, 2, tmp_tuple_element_10); CHECK_OBJECT(tmp_class_creation_3__class_decl_dict); tmp_kwargs_name_6 = tmp_class_creation_3__class_decl_dict; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 191; tmp_assign_source_44 = CALL_FUNCTION(tmp_called_name_8, tmp_args_name_6, tmp_kwargs_name_6); Py_DECREF(tmp_args_name_6); if (tmp_assign_source_44 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 191; goto try_except_handler_9; } { PyObject *old = Nuitka_Cell_GET(outline_2_var___class__); PyCell_SET(outline_2_var___class__, tmp_assign_source_44); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_2_var___class__)); tmp_assign_source_43 = Nuitka_Cell_GET(outline_2_var___class__); Py_INCREF(tmp_assign_source_43); goto try_return_handler_9; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_9:; Py_DECREF(locals_models$unet3d$predictor$$$class__3_LazyPredictor_191); locals_models$unet3d$predictor$$$class__3_LazyPredictor_191 = NULL; goto try_return_handler_8; // Exception handler code: try_except_handler_9:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$unet3d$predictor$$$class__3_LazyPredictor_191); locals_models$unet3d$predictor$$$class__3_LazyPredictor_191 = NULL; // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_8; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_8:; CHECK_OBJECT(outline_2_var___class__); Py_DECREF(outline_2_var___class__); outline_2_var___class__ = NULL; goto outline_result_3; // Exception handler code: try_except_handler_8:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_2_var___class__); Py_DECREF(outline_2_var___class__); outline_2_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto outline_exception_3; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_3:; exception_lineno = 191; goto try_except_handler_7; outline_result_3:; UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[183], tmp_assign_source_43); } goto try_end_3; // Exception handler code: try_except_handler_7:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_3__bases_orig); tmp_class_creation_3__bases_orig = NULL; Py_XDECREF(tmp_class_creation_3__bases); tmp_class_creation_3__bases = NULL; Py_XDECREF(tmp_class_creation_3__class_decl_dict); tmp_class_creation_3__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_3__metaclass); tmp_class_creation_3__metaclass = NULL; Py_XDECREF(tmp_class_creation_3__prepared); tmp_class_creation_3__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto frame_exception_exit_1; // End of try: try_end_3:; CHECK_OBJECT(tmp_class_creation_3__bases_orig); Py_DECREF(tmp_class_creation_3__bases_orig); tmp_class_creation_3__bases_orig = NULL; Py_XDECREF(tmp_class_creation_3__bases); tmp_class_creation_3__bases = NULL; Py_XDECREF(tmp_class_creation_3__class_decl_dict); tmp_class_creation_3__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_3__metaclass); tmp_class_creation_3__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_3__prepared); Py_DECREF(tmp_class_creation_3__prepared); tmp_class_creation_3__prepared = NULL; // Tried code: { PyObject *tmp_assign_source_45; PyObject *tmp_tuple_element_11; tmp_tuple_element_11 = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[169]); if (unlikely(tmp_tuple_element_11 == NULL)) { tmp_tuple_element_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[169]); } if (tmp_tuple_element_11 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } tmp_assign_source_45 = PyTuple_New(1); PyTuple_SET_ITEM0(tmp_assign_source_45, 0, tmp_tuple_element_11); assert(tmp_class_creation_4__bases_orig == NULL); tmp_class_creation_4__bases_orig = tmp_assign_source_45; } { PyObject *tmp_assign_source_46; PyObject *tmp_dircall_arg1_3; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_dircall_arg1_3 = tmp_class_creation_4__bases_orig; Py_INCREF(tmp_dircall_arg1_3); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_46 = impl_models$$$function__1__mro_entries_conversion(dir_call_args); } if (tmp_assign_source_46 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } assert(tmp_class_creation_4__bases == NULL); tmp_class_creation_4__bases = tmp_assign_source_46; } { PyObject *tmp_assign_source_47; tmp_assign_source_47 = PyDict_New(); assert(tmp_class_creation_4__class_decl_dict == NULL); tmp_class_creation_4__class_decl_dict = tmp_assign_source_47; } { PyObject *tmp_assign_source_48; PyObject *tmp_metaclass_name_4; nuitka_bool tmp_condition_result_18; PyObject *tmp_key_name_10; PyObject *tmp_dict_arg_name_10; PyObject *tmp_dict_arg_name_11; PyObject *tmp_key_name_11; nuitka_bool tmp_condition_result_19; int tmp_truth_name_3; PyObject *tmp_type_arg_6; PyObject *tmp_expression_name_15; PyObject *tmp_subscript_name_3; PyObject *tmp_bases_name_4; tmp_key_name_10 = mod_consts[160]; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dict_arg_name_10 = tmp_class_creation_4__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_10, tmp_key_name_10); assert(!(tmp_res == -1)); tmp_condition_result_18 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dict_arg_name_11 = tmp_class_creation_4__class_decl_dict; tmp_key_name_11 = mod_consts[160]; tmp_metaclass_name_4 = DICT_GET_ITEM_WITH_ERROR(tmp_dict_arg_name_11, tmp_key_name_11); if (tmp_metaclass_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } goto condexpr_end_7; condexpr_false_7:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_4__bases); if (tmp_truth_name_3 == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } tmp_condition_result_19 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE; if (tmp_condition_result_19 == NUITKA_BOOL_TRUE) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_expression_name_15 = tmp_class_creation_4__bases; tmp_subscript_name_3 = mod_consts[7]; tmp_type_arg_6 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_name_15, tmp_subscript_name_3, 0); if (tmp_type_arg_6 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } tmp_metaclass_name_4 = BUILTIN_TYPE1(tmp_type_arg_6); Py_DECREF(tmp_type_arg_6); if (tmp_metaclass_name_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } goto condexpr_end_8; condexpr_false_8:; tmp_metaclass_name_4 = (PyObject *)&PyType_Type; Py_INCREF(tmp_metaclass_name_4); condexpr_end_8:; condexpr_end_7:; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_bases_name_4 = tmp_class_creation_4__bases; tmp_assign_source_48 = SELECT_METACLASS(tmp_metaclass_name_4, tmp_bases_name_4); Py_DECREF(tmp_metaclass_name_4); if (tmp_assign_source_48 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } assert(tmp_class_creation_4__metaclass == NULL); tmp_class_creation_4__metaclass = tmp_assign_source_48; } { nuitka_bool tmp_condition_result_20; PyObject *tmp_key_name_12; PyObject *tmp_dict_arg_name_12; tmp_key_name_12 = mod_consts[160]; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dict_arg_name_12 = tmp_class_creation_4__class_decl_dict; tmp_res = DICT_HAS_ITEM(tmp_dict_arg_name_12, tmp_key_name_12); assert(!(tmp_res == -1)); tmp_condition_result_20 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) { goto branch_yes_12; } else { goto branch_no_12; } } branch_yes_12:; CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict; tmp_dictdel_key = mod_consts[160]; tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key); if (tmp_result == false) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } branch_no_12:; { nuitka_bool tmp_condition_result_21; PyObject *tmp_expression_name_16; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_expression_name_16 = tmp_class_creation_4__metaclass; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_16, mod_consts[162]); tmp_condition_result_21 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) { goto branch_yes_13; } else { goto branch_no_13; } } branch_yes_13:; { PyObject *tmp_assign_source_49; PyObject *tmp_called_name_9; PyObject *tmp_expression_name_17; PyObject *tmp_args_name_7; PyObject *tmp_tuple_element_12; PyObject *tmp_kwargs_name_7; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_expression_name_17 = tmp_class_creation_4__metaclass; tmp_called_name_9 = LOOKUP_ATTRIBUTE(tmp_expression_name_17, mod_consts[162]); if (tmp_called_name_9 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } tmp_tuple_element_12 = mod_consts[188]; tmp_args_name_7 = PyTuple_New(2); PyTuple_SET_ITEM0(tmp_args_name_7, 0, tmp_tuple_element_12); CHECK_OBJECT(tmp_class_creation_4__bases); tmp_tuple_element_12 = tmp_class_creation_4__bases; PyTuple_SET_ITEM0(tmp_args_name_7, 1, tmp_tuple_element_12); CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_kwargs_name_7 = tmp_class_creation_4__class_decl_dict; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 233; tmp_assign_source_49 = CALL_FUNCTION(tmp_called_name_9, tmp_args_name_7, tmp_kwargs_name_7); Py_DECREF(tmp_called_name_9); Py_DECREF(tmp_args_name_7); if (tmp_assign_source_49 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } assert(tmp_class_creation_4__prepared == NULL); tmp_class_creation_4__prepared = tmp_assign_source_49; } { nuitka_bool tmp_condition_result_22; PyObject *tmp_operand_name_4; PyObject *tmp_expression_name_18; CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_expression_name_18 = tmp_class_creation_4__prepared; tmp_result = HAS_ATTR_BOOL(tmp_expression_name_18, mod_consts[164]); tmp_operand_name_4 = (tmp_result) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE(tmp_operand_name_4); if (tmp_res == -1) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } tmp_condition_result_22 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) { goto branch_yes_14; } else { goto branch_no_14; } } branch_yes_14:; { PyObject *tmp_raise_type_4; PyObject *tmp_raise_value_4; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_13; PyObject *tmp_getattr_target_4; PyObject *tmp_getattr_attr_4; PyObject *tmp_getattr_default_4; tmp_raise_type_4 = PyExc_TypeError; tmp_left_name_4 = mod_consts[165]; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_getattr_target_4 = tmp_class_creation_4__metaclass; tmp_getattr_attr_4 = mod_consts[166]; tmp_getattr_default_4 = mod_consts[167]; tmp_tuple_element_13 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4); if (tmp_tuple_element_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } tmp_right_name_4 = PyTuple_New(2); { PyObject *tmp_expression_name_19; PyObject *tmp_type_arg_7; PyTuple_SET_ITEM(tmp_right_name_4, 0, tmp_tuple_element_13); CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_type_arg_7 = tmp_class_creation_4__prepared; tmp_expression_name_19 = BUILTIN_TYPE1(tmp_type_arg_7); assert(!(tmp_expression_name_19 == NULL)); tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_name_19, mod_consts[166]); Py_DECREF(tmp_expression_name_19); if (tmp_tuple_element_13 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto tuple_build_exception_4; } PyTuple_SET_ITEM(tmp_right_name_4, 1, tmp_tuple_element_13); } goto tuple_build_noexception_4; // Exception handling pass through code for tuple_build: tuple_build_exception_4:; Py_DECREF(tmp_right_name_4); goto try_except_handler_10; // Finished with no exception for tuple_build: tuple_build_noexception_4:; tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_left_name_4, tmp_right_name_4); Py_DECREF(tmp_right_name_4); if (tmp_raise_value_4 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_10; } exception_type = tmp_raise_type_4; Py_INCREF(tmp_raise_type_4); exception_value = tmp_raise_value_4; exception_lineno = 233; RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb); goto try_except_handler_10; } branch_no_14:; goto branch_end_13; branch_no_13:; { PyObject *tmp_assign_source_50; tmp_assign_source_50 = PyDict_New(); assert(tmp_class_creation_4__prepared == NULL); tmp_class_creation_4__prepared = tmp_assign_source_50; } branch_end_13:; { PyObject *tmp_assign_source_51; { PyObject *tmp_set_locals_4; CHECK_OBJECT(tmp_class_creation_4__prepared); tmp_set_locals_4 = tmp_class_creation_4__prepared; locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233 = tmp_set_locals_4; Py_INCREF(tmp_set_locals_4); } // Tried code: // Tried code: tmp_dictset_value = GET_STRING_DICT_VALUE(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[166]); if (unlikely(tmp_dictset_value == NULL)) { tmp_dictset_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[166]); } assert(!(tmp_dictset_value == NULL)); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233, mod_consts[168], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_12; } tmp_dictset_value = mod_consts[188]; tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233, mod_consts[170], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_12; } if (isFrameUnusable(cache_frame_5e0c7d03dd4bae0660fe38f64d474d39_5)) { Py_XDECREF(cache_frame_5e0c7d03dd4bae0660fe38f64d474d39_5); #if _DEBUG_REFCOUNTS if (cache_frame_5e0c7d03dd4bae0660fe38f64d474d39_5 == NULL) { count_active_frame_cache_instances += 1; } else { count_released_frame_cache_instances += 1; } count_allocated_frame_cache_instances += 1; #endif cache_frame_5e0c7d03dd4bae0660fe38f64d474d39_5 = MAKE_FUNCTION_FRAME(codeobj_5e0c7d03dd4bae0660fe38f64d474d39, module_models$unet3d$predictor, sizeof(void *)); #if _DEBUG_REFCOUNTS } else { count_hit_frame_cache_instances += 1; #endif } assert(cache_frame_5e0c7d03dd4bae0660fe38f64d474d39_5->m_type_description == NULL); frame_5e0c7d03dd4bae0660fe38f64d474d39_5 = cache_frame_5e0c7d03dd4bae0660fe38f64d474d39_5; // Push the new frame as the currently active one. pushFrameStack(frame_5e0c7d03dd4bae0660fe38f64d474d39_5); // Mark the frame object as in use, ref count 1 will be up for reuse. assert(Py_REFCNT(frame_5e0c7d03dd4bae0660fe38f64d474d39_5) == 2); // Frame stack // Framed code: { PyObject *tmp_defaults_3; struct Nuitka_CellObject *tmp_closure_3[1]; tmp_defaults_3 = mod_consts[189]; Py_INCREF(tmp_defaults_3); tmp_closure_3[0] = outline_3_var___class__; Py_INCREF(tmp_closure_3[0]); tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__16___init__(tmp_defaults_3, tmp_closure_3); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233, mod_consts[25], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 234; type_description_2 = "c"; goto frame_exception_exit_5; } } tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__17__slice_from_pad(); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233, mod_consts[191], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 239; type_description_2 = "c"; goto frame_exception_exit_5; } tmp_dictset_value = MAKE_FUNCTION_models$unet3d$predictor$$$function__18___call__(); tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233, mod_consts[174], tmp_dictset_value); Py_DECREF(tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 245; type_description_2 = "c"; goto frame_exception_exit_5; } #if 0 RESTORE_FRAME_EXCEPTION(frame_5e0c7d03dd4bae0660fe38f64d474d39_5); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_4; frame_exception_exit_5:; #if 0 RESTORE_FRAME_EXCEPTION(frame_5e0c7d03dd4bae0660fe38f64d474d39_5); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_5e0c7d03dd4bae0660fe38f64d474d39_5, exception_lineno); } else if (exception_tb->tb_frame != &frame_5e0c7d03dd4bae0660fe38f64d474d39_5->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_5e0c7d03dd4bae0660fe38f64d474d39_5, exception_lineno); } // Attaches locals to frame if any. Nuitka_Frame_AttachLocals( frame_5e0c7d03dd4bae0660fe38f64d474d39_5, type_description_2, outline_3_var___class__ ); // Release cached frame if used for exception. if (frame_5e0c7d03dd4bae0660fe38f64d474d39_5 == cache_frame_5e0c7d03dd4bae0660fe38f64d474d39_5) { #if _DEBUG_REFCOUNTS count_active_frame_cache_instances -= 1; count_released_frame_cache_instances += 1; #endif Py_DECREF(cache_frame_5e0c7d03dd4bae0660fe38f64d474d39_5); cache_frame_5e0c7d03dd4bae0660fe38f64d474d39_5 = NULL; } assertFrameObject(frame_5e0c7d03dd4bae0660fe38f64d474d39_5); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_4; frame_no_exception_4:; goto skip_nested_handling_4; nested_frame_exit_4:; goto try_except_handler_12; skip_nested_handling_4:; { nuitka_bool tmp_condition_result_23; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT(tmp_class_creation_4__bases); tmp_compexpr_left_3 = tmp_class_creation_4__bases; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_compexpr_right_3 = tmp_class_creation_4__bases_orig; tmp_condition_result_23 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_compexpr_left_3, tmp_compexpr_right_3); if (tmp_condition_result_23 == NUITKA_BOOL_EXCEPTION) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_12; } if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) { goto branch_yes_15; } else { goto branch_no_15; } assert(tmp_condition_result_23 != NUITKA_BOOL_UNASSIGNED); } branch_yes_15:; CHECK_OBJECT(tmp_class_creation_4__bases_orig); tmp_dictset_value = tmp_class_creation_4__bases_orig; tmp_res = PyObject_SetItem(locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233, mod_consts[182], tmp_dictset_value); if (tmp_res != 0) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_12; } branch_no_15:; { PyObject *tmp_assign_source_52; PyObject *tmp_called_name_10; PyObject *tmp_args_name_8; PyObject *tmp_tuple_element_14; PyObject *tmp_kwargs_name_8; CHECK_OBJECT(tmp_class_creation_4__metaclass); tmp_called_name_10 = tmp_class_creation_4__metaclass; tmp_tuple_element_14 = mod_consts[188]; tmp_args_name_8 = PyTuple_New(3); PyTuple_SET_ITEM0(tmp_args_name_8, 0, tmp_tuple_element_14); CHECK_OBJECT(tmp_class_creation_4__bases); tmp_tuple_element_14 = tmp_class_creation_4__bases; PyTuple_SET_ITEM0(tmp_args_name_8, 1, tmp_tuple_element_14); tmp_tuple_element_14 = locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233; PyTuple_SET_ITEM0(tmp_args_name_8, 2, tmp_tuple_element_14); CHECK_OBJECT(tmp_class_creation_4__class_decl_dict); tmp_kwargs_name_8 = tmp_class_creation_4__class_decl_dict; frame_63b960195e39bc165f63de7fa2cab847->m_frame.f_lineno = 233; tmp_assign_source_52 = CALL_FUNCTION(tmp_called_name_10, tmp_args_name_8, tmp_kwargs_name_8); Py_DECREF(tmp_args_name_8); if (tmp_assign_source_52 == NULL) { assert(ERROR_OCCURRED()); FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); exception_lineno = 233; goto try_except_handler_12; } { PyObject *old = Nuitka_Cell_GET(outline_3_var___class__); PyCell_SET(outline_3_var___class__, tmp_assign_source_52); Py_XDECREF(old); } } CHECK_OBJECT(Nuitka_Cell_GET(outline_3_var___class__)); tmp_assign_source_51 = Nuitka_Cell_GET(outline_3_var___class__); Py_INCREF(tmp_assign_source_51); goto try_return_handler_12; NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_12:; Py_DECREF(locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233); locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233 = NULL; goto try_return_handler_11; // Exception handler code: try_except_handler_12:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_DECREF(locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233); locals_models$unet3d$predictor$$$class__4_DSB2018Predictor_233 = NULL; // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto try_except_handler_11; // End of try: NUITKA_CANNOT_GET_HERE("tried codes exits in all cases"); return NULL; // Return handler code: try_return_handler_11:; CHECK_OBJECT(outline_3_var___class__); Py_DECREF(outline_3_var___class__); outline_3_var___class__ = NULL; goto outline_result_4; // Exception handler code: try_except_handler_11:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; CHECK_OBJECT(outline_3_var___class__); Py_DECREF(outline_3_var___class__); outline_3_var___class__ = NULL; // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto outline_exception_4; // End of try: NUITKA_CANNOT_GET_HERE("Return statement must have exited already."); return NULL; outline_exception_4:; exception_lineno = 233; goto try_except_handler_10; outline_result_4:; UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[188], tmp_assign_source_51); } goto try_end_4; // Exception handler code: try_except_handler_10:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; Py_XDECREF(tmp_class_creation_4__bases_orig); tmp_class_creation_4__bases_orig = NULL; Py_XDECREF(tmp_class_creation_4__bases); tmp_class_creation_4__bases = NULL; Py_XDECREF(tmp_class_creation_4__class_decl_dict); tmp_class_creation_4__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_4__metaclass); tmp_class_creation_4__metaclass = NULL; Py_XDECREF(tmp_class_creation_4__prepared); tmp_class_creation_4__prepared = NULL; // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto frame_exception_exit_1; // End of try: try_end_4:; // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION(frame_63b960195e39bc165f63de7fa2cab847); #endif popFrameStack(); assertFrameObject(frame_63b960195e39bc165f63de7fa2cab847); goto frame_no_exception_5; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION(frame_63b960195e39bc165f63de7fa2cab847); #endif if (exception_tb == NULL) { exception_tb = MAKE_TRACEBACK(frame_63b960195e39bc165f63de7fa2cab847, exception_lineno); } else if (exception_tb->tb_frame != &frame_63b960195e39bc165f63de7fa2cab847->m_frame) { exception_tb = ADD_TRACEBACK(exception_tb, frame_63b960195e39bc165f63de7fa2cab847, exception_lineno); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_5:; CHECK_OBJECT(tmp_class_creation_4__bases_orig); Py_DECREF(tmp_class_creation_4__bases_orig); tmp_class_creation_4__bases_orig = NULL; Py_XDECREF(tmp_class_creation_4__bases); tmp_class_creation_4__bases = NULL; Py_XDECREF(tmp_class_creation_4__class_decl_dict); tmp_class_creation_4__class_decl_dict = NULL; Py_XDECREF(tmp_class_creation_4__metaclass); tmp_class_creation_4__metaclass = NULL; CHECK_OBJECT(tmp_class_creation_4__prepared); Py_DECREF(tmp_class_creation_4__prepared); tmp_class_creation_4__prepared = NULL; { PyObject *tmp_assign_source_53; PyObject *tmp_defaults_4; tmp_defaults_4 = mod_consts[189]; Py_INCREF(tmp_defaults_4); tmp_assign_source_53 = MAKE_FUNCTION_models$unet3d$predictor$$$function__19_dsb_save_batch(tmp_defaults_4); UPDATE_STRING_DICT1(moduledict_models$unet3d$predictor, (Nuitka_StringObject *)mod_consts[120], tmp_assign_source_53); } return module_models$unet3d$predictor; module_exception_exit: RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb); return NULL; }