以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ### 直接看 dtd_hdr_mix 的狀況 ################################################################################################################################################################################################################# ana_name = "1_ch" ch_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[mask_bce_sobel_k5_s100_ch[:4], mask_bce_sobel_k5_s100_ch[4:]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ############################################ ana_name = "2_ep" ep_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[mask_bce_sobel_k5_s100_ep[:8], mask_bce_sobel_k5_s100_ep[8:]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ############################################ ana_name = "3_noC" noC_and_add_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[mask_bce_sobel_k5_s100_noC_and_add[:3] + [mask_bce_sobel_k5_s100_ch[2]], mask_bce_sobel_k5_s100_noC_and_add[3:] + [mask_bce_sobel_k5_s100_ch[2]]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\
ana_dir = template_dir ############################################################################################################################################################################################################# """ 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ana_name = "Layer_Ch" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="flow", row_col_results=mae_block1_flow_s001_L345678, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ .Gather_all_see_final_img() ###################################### ana_name = "2c_block1_rec_L345678_2-ch128,64,32,16,8,4,2,1_mae_s001" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="rec", row_col_results=mae_block1_rec_s001_L345678, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ .Gather_all_see_final_img()
########################################################################################################################################################################################################################################################################################## """ 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ### 直接看 dtd_hdr_mix 的狀況 ################################################################################################################################################################################################################# ana_name = "step20" step20_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=mask_ch032_bce_s001_100_sobel_k5_s001_100, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ana_name = "step40" step40_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=mask_ch032_bce_s001_100_sobel_k5_s001_100[::2, ::2], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)
""" 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ################################################################################ ana_name = "L2345_block1_3_E_relu-bce_s001_100" L2345_block1_E_relu_bce_s001_100_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=L2345_block1_bce_E_lrelu_vs_E_relu[::2], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() ana_name = "L2345_block1_3_E_lrelu_vs_E_relu-bce_s001_100" L2345_block1_E_relu_bce_s001_100_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=L2345_block1_bce_E_lrelu_vs_E_relu, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() ana_name = "L34_block1_3_E_lrelu_vs_E_relu-bce_s001_100" L34_block1_E_relu_bce_s001_100_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=L2345_block1_bce_E_lrelu_vs_E_relu[2:6], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\
""" 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ana_name = "Layer_Ch_see" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="mask", row_col_results=block1_mask_L2345678, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() ############################################################################ ana_name = "Normal_vs_Limit_see" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="mask", row_col_results=block1_mask_L45678_normal_vs_limit, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() ######################################################################################################################################################## ana_name = "Layer_Ch_test"
############################################################################################################################################################################################################# """ 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ana_name = "I_w_Mgt_to_C_compare_L5" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="rec", row_col_results=I_w_Mgt_to_C_compare_L5, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="flow", row_col_results=I_w_Mgt_to_C_compare_L5, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() ######################################################################################################################################################## ana_name = "I_w_Mgt_to_C_compare_L5_test" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="test", ana_what="rec",
""" 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ana_name = "L2345678_Ch" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="rec", row_col_results=Layer2345678_Ch, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="flow", row_col_results=Layer2345678_Ch, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() ############################################################################ ana_name = "L345678_Ch" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="rec", row_col_results=Layer2345678_Ch[1:], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\
所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ### 直接看 dtd_hdr_mix 的狀況 ################################################################################################################################################################################################################# ana_name = "1_ch-1_row" mask_L7_ch_analyze = Col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", col_results=mask_L7_block1_ch, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ .analyze_col_results_all_single_see(single_see_multiprocess=True) ############################################ ana_name = "1_ch-2_row" mask_layer_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[mask_L7_block1_ch[:4], mask_L7_block1_ch[4:]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ######################################################################################## ana_name = "2_layer-1_row" mask_L7_ch_analyze = Col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", col_results=mask_L7_block1_layer, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ .analyze_col_results_all_single_see(single_see_multiprocess=True) ############################################ ana_name = "2_layer-2_row" mask_layer_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[mask_L7_block1_layer[:4], mask_L7_block1_layer[4:]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)
""" 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ana_name = "L2345678_Ch" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="rec", row_col_results=Layer2345678_Ch, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="flow", row_col_results=Layer2345678_Ch, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="Cx", row_col_results=Layer2345678_Ch, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\
########################################################################################################################################################################################################################################################################################## ana_dir = template_dir ########################################################################################################################################################################################################################################################################################## """ 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ############################### ana_name = "L2345678_block1_5_coord_conv-bce_s001_100" L2345_block1_coord_conv_bce_s001_100_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=L2345678_block1_bce_coord_conv, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() ana_name = "L23456_block1_5_coord_conv-bce_s001_100" L2345_block1_coord_conv_bce_s001_100_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=L23456_block1_bce_coord_conv, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img()
task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ################################################################################################################################################################################################################# ### 覺得l2好像不用細看 ################################################################################ ana_name = "2c_block2_l2_2-ch128,64,32,16,8,4_bce_s001_100" l2_ch64_32_16_8_block2_bce_s001_100_analyze = Row_col_results_analyzer(ana_describe=f"{mask_ana_dir}/{ana_name}", ana_what="mask", row_col_results=[bce_block2_L2_ch128, bce_block2_L2_ch064, bce_block2_L2_ch032, bce_block2_L2_ch016, bce_block2_L2_ch008, bce_block2_L2_ch004], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() ################################################################################################################################################################################################################# ### 覺得l3好像不用細看 ################################################################################ ana_name = "2c_block2_l3_2-ch128,64,32,16,8,4_bce_s001_100" l3_ch64_32_16_8_block2_bce_s001_100_analyze = Row_col_results_analyzer(ana_describe=f"{mask_ana_dir}/{ana_name}", ana_what="mask", row_col_results=[bce_block2_L3_ch128, bce_block2_L3_ch064, bce_block2_L3_ch032,
single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ### 直接看 dtd_hdr_mix 的狀況 ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ana_name = "sobel_k5_s1,20,40,60,80,100-1_ch" mask_L6_bce_s1_10_20_ch_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[ mask_sobel_k5_s001_ch[:3] + mask_sobel_k5_s060_ch[:3], mask_sobel_k5_s020_ch[:3] + mask_sobel_k5_s080_ch[:3], mask_sobel_k5_s040_ch[:3] + mask_sobel_k5_s100_ch[:3], ], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ############################################ ana_name = "sobel_k5_s1,20,40,60,80,100-4_no_concat_and_add" mask_L6_bce_s1_10_20_ch_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[ [mask_sobel_k5_s001_ch[2]] + mask_sobel_k5_s001_noC_and_add + [mask_sobel_k5_s001_ch[2]], [mask_sobel_k5_s020_ch[2]] + mask_sobel_k5_s020_noC_and_add + [mask_sobel_k5_s020_ch[2]], [mask_sobel_k5_s040_ch[2]] + mask_sobel_k5_s040_noC_and_add + [mask_sobel_k5_s040_ch[2]], [mask_sobel_k5_s060_ch[2]] + mask_sobel_k5_s060_noC_and_add + [mask_sobel_k5_s060_ch[2]], [mask_sobel_k5_s080_ch[2]] + mask_sobel_k5_s080_noC_and_add + [mask_sobel_k5_s080_ch[2]], [mask_sobel_k5_s100_ch[2]] + mask_sobel_k5_s100_noC_and_add + [mask_sobel_k5_s100_ch[2]]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)
########################################################################################################################################################################################################################################################################################## """ 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ### 直接看 dtd_hdr_mix 的狀況 ################################################################################################################################################################################################################# ana_name = "step20" step20_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=mask_ch032_tv_s001_100_sobel_k5_s001_100, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ana_name = "step40" step40_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=mask_ch032_tv_s001_100_sobel_k5_s001_100[::2, ::2], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False)\ .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)
""" 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ### 直接看 dtd_hdr_mix 的狀況 ################################################################################################################################################################################################################# ana_name = "L4_block1_1-tv_s001_bce_s001-1_ch" L4_block1_tv_s001_bce_s001_ch_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[tv_bce_L4_block1_ch[:4], tv_bce_L4_block1_ch[4:]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ################################################################### ana_name = "L4_block1_1b1-ch032_tv_s001_bce_s001~100" ### 6個結果 L4_block1_tv_s001_bce_s001_100_chh032_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[tv_bce_L4_block1_ch032_tv_s001_bce_s001_100[:3], tv_bce_L4_block1_ch032_tv_s001_bce_s001_100[3:]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ana_name = "L4_block1_1b1-ch032_tv_s020_bce_s020~140" ### 5個結果 L4_block1_tv_s020_bce_s020_100_chh032_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[tv_bce_L4_block1_ch032_tv_s020_bce_s020_140[:4],
""" 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ### 直接看 dtd_hdr_mix 的狀況 ################################################################################################################################################################################################################# ana_name = "1_ch" ch_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[mask_tv_s001_sobel_k5_s080_ch[:4], mask_tv_s001_sobel_k5_s080_ch[4:]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ############################################ ana_name = "2_ep" ep_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[mask_tv_s001_sobel_k5_s080_ep[:8], mask_tv_s001_sobel_k5_s080_ep[8:]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ############################################ ana_name = "3_noC" noC_and_add_analyze = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what="mask", row_col_results=[mask_tv_s001_sobel_k5_s080_noC_and_add[:3] + [mask_tv_s001_sobel_k5_s080_ch[2]], mask_tv_s001_sobel_k5_s080_noC_and_add[3:] + [mask_tv_s001_sobel_k5_s080_ch[2]]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\
""" 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ana_name = "L2345678_Ch" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="wc", row_col_results=block1_mask_L2345678, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="wx", row_col_results=block1_mask_L2345678, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="wy", row_col_results=block1_mask_L2345678, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img()
""" 以下留下一些example這樣子 core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ ################################################################################################################################################################################################################# ################################################################################################################################################################################################################# ana_name = "Layer_Ch_see" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="mask", row_col_results=block1_mask_L2345678, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() ############################################################################ ana_name = "Normal_vs_Limit_see" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="see", ana_what="mask", row_col_results=block1_mask_L45678_normal_vs_limit, show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False, img_h=512, img_w=512)\ # .analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6)\ # .Gather_all_see_final_img() ######################################################################################################################################################## ana_name = "Layer_Ch_test" analyzer = Row_col_results_analyzer(ana_describe=f"{ana_dir}/0_ana_{ana_name}", ana_what_sees="test",
# epoch300_500_analyze.analyze_col_results_all_single_see_multiprocess(core_amount=2, task_amount=7, single_see_multiprocess=True, single_see_core_amount=8) """ core_amount == 7 是因為 目前 see_amount == 7 ,想 一個core 一個see task_amount == 7 是因為 目前 see_amount == 7 single_see_multiprocess == True 代表 see內 還要 切 multiprocess, single_see_core_amount == 2 代表切2分 所以總共會有 7*2 = 14 份 process 要同時處理, 但建議不要用,已經測過,爆記憶體了 """ # epoch300_500_analyze.analyze_col_results_multi_see(see_nums=[0, 1], save_name="see_1_and_2", multiprocess=True, core_amount=8) ############################################ epoch300_500_analyze_2row_all = Row_col_results_analyzer(ana_describe="2row_ep300_500_a020", ana_what = "flow", row_col_results=[epoch300_500_results[:5], epoch300_500_results[5:10]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False) epoch300_500_analyze_2row_all.analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) epoch300_500_analyze_2row_ep300_500_a060 = Row_col_results_analyzer(ana_describe="2row_ep300_500_a060", ana_what = "rec", row_col_results=[[epoch300_500_results[0], epoch300_500_results[3]], [epoch300_500_results[6], epoch300_500_results[9]]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False) epoch300_500_analyze_2row_ep300_500_a060.analyze_row_col_results_all_single_see(single_see_multiprocess=True, single_see_core_amount=6) ################################################################################################################################################################## ################################################################################################################################################################## epoch200_500_results = [exp.result_obj for exp in epoch200_500_exps] epoch200_500_analyze_2row_ep200_500_a100 = Row_col_results_analyzer(ana_describe="2row_ep200_500_a100", ana_what = "rec", row_col_results=[[epoch200_500_results [0], epoch200_500_results [5]], [epoch200_500_results[10], epoch200_500_results[15]]], show_in_img=False, show_gt_img=False, bgr2rgb=True, add_loss=False)