temp/1745261008_3399243_1352454825_069bef96f38db37c7739eb49b1721b29.jpg temp/1745261008_3399243_1352454823_2704c4f3ce90c1f3648606e330f609f7.jpg temp/1745261008_3399243_1352454817_af0457fe40594e464a4e597388cedd06.jpg temp/1745261008_3399243_1352454788_81cdc0cdd691f9bf1c2cab3a4b8e8fea.jpg temp/1745261008_3399243_1352454759_e7377213e0b9d252e51e887d082ee986.jpg temp/1745261008_3399243_1352454728_a1f14455af7a3c24e38209ce9c7a3c7c.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 2.5537328720092773 (6,) (6, 5) (6, 2048) shape of features : (6, 2048) shape of new features : (1, 6, 2048) save descriptor for thcl : 3513 time to traite the descriptors : 0.033437490463256836 storage_type for insertDescriptorsMulti : 3 To insert : 1352454825 To insert : 1352454823 To insert : 1352454817 To insert : 1352454788 To insert : 1352454759 To insert : 1352454728 time to insert the descriptors : 1.4208769798278809 tagging for thcl : 3379 To do loadFromThcl(), then load ParamDescType : thcl3379 thcls : [{'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcl {'id': 3379, 'mtr_user_id': 31, 'name': 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '5515864,5515840,5515844,5515850,6244400,6237996,6237998,5515847,5515841,5515868,5515866', 'photo_hashtag_type': 4374, 'photo_desc_type': 5680, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'} Update svm_hashtag_type_desc : 5680 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (5680, 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 1280, 1280, 'learn_classif_flux_maj_generique_effnet_v2_s_02062022', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2022, 6, 4, 1, 31, 10), datetime.datetime(2022, 6, 4, 1, 31, 10)) model_name : learn_classif_flux_maj_generique_effnet_v2_s_02062022 model_param file didn't exist model_name : learn_classif_flux_maj_generique_effnet_v2_s_02062022 model_type : tf_classification2 list file need : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file exist in s3 : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00002', 'model_checkpoint.ckpt.data-00001-of-00002', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file manque in s3 : [] local folder : /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022 /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Confusion_Matrix.png size_local : 82527 size in s3 : 82527 create time local : 2022-06-06 13:01:24 create time in s3 : 2022-06-03 23:31:09 Confusion_Matrix.png already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_aluminium.jpg size_local : 67602 size in s3 : 67602 create time local : 2022-06-06 13:01:24 create time in s3 : 2022-06-03 23:23:41 Precision_Recall_aluminium.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_ela.jpg size_local : 67189 size in s3 : 67189 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:26:13 Precision_Recall_ela.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_film_pedb.jpg size_local : 71280 size in s3 : 71280 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:26:14 Precision_Recall_film_pedb.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_flux_dev.jpg size_local : 59936 size in s3 : 59936 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:23:41 Precision_Recall_flux_dev.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_jrm.jpg size_local : 67657 size in s3 : 67657 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:31:06 Precision_Recall_jrm.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pcm.jpg size_local : 83042 size in s3 : 83042 create time local : 2022-06-06 13:01:25 create time in s3 : 2022-06-03 23:23:40 Precision_Recall_pcm.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pcnc.jpg size_local : 69972 size in s3 : 69972 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:05 Precision_Recall_pcnc.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pehd_pp.jpg size_local : 67313 size in s3 : 67313 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:45 Precision_Recall_pehd_pp.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_pet_clair.jpg size_local : 67320 size in s3 : 67320 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:04 Precision_Recall_pet_clair.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_refus.jpg size_local : 59936 size in s3 : 59936 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:08 Precision_Recall_refus.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Precision_Recall_tapis_vide.jpg size_local : 80244 size in s3 : 80244 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:45 Precision_Recall_tapis_vide.jpg already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/Result_Summary.txt size_local : 1018 size in s3 : 1018 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:08 Result_Summary.txt already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/checkpoint size_local : 99 size in s3 : 99 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:31:06 checkpoint already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.data-00000-of-00002 size_local : 216640 size in s3 : 216640 create time local : 2022-06-06 13:01:27 create time in s3 : 2022-06-03 23:23:43 model_checkpoint.ckpt.data-00000-of-00002 already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.data-00001-of-00002 size_local : 32341196 size in s3 : 32341196 create time local : 2022-06-06 13:01:28 create time in s3 : 2022-06-03 23:26:15 model_checkpoint.ckpt.data-00001-of-00002 already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_checkpoint.ckpt.index size_local : 43546 size in s3 : 43546 create time local : 2022-06-06 13:01:28 create time in s3 : 2022-06-03 23:26:13 model_checkpoint.ckpt.index already exist and didn't need to update /data/models_weight/learn_classif_flux_maj_generique_effnet_v2_s_02062022/model_weights.h5 size_local : 16531224 size in s3 : 16531224 create time local : 2022-06-06 13:01:29 create time in s3 : 2022-06-03 23:23:46 model_weights.h5 already exist and didn't need to update desc size : 1280 Model: "sequential" _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= module (KerasLayer) (None, 1280) 4049564 _________________________________________________________________ learn_classif_flux_maj_gener (None, 11) 14091 ================================================================= Total params: 4,063,655 Trainable params: 14,091 Non-trainable params: 4,049,564 _________________________________________________________________ Loading Weights... time used to create the model : 7.376490354537964 time used to load_weights : 0.11972618103027344 0it [00:00, ?it/s] 6it [00:00, 1160.30it/s]temp/1745261008_3399243_1352454825_069bef96f38db37c7739eb49b1721b29.jpg temp/1745261008_3399243_1352454823_2704c4f3ce90c1f3648606e330f609f7.jpg temp/1745261008_3399243_1352454817_af0457fe40594e464a4e597388cedd06.jpg temp/1745261008_3399243_1352454788_81cdc0cdd691f9bf1c2cab3a4b8e8fea.jpg temp/1745261008_3399243_1352454759_e7377213e0b9d252e51e887d082ee986.jpg temp/1745261008_3399243_1352454728_a1f14455af7a3c24e38209ce9c7a3c7c.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.1084873676300049 (6,) (6, 11) (6, 1280) shape of features : (6, 1280) shape of new features : (1, 6, 1280) save descriptor for thcl : 3379 time to traite the descriptors : 0.045822858810424805 storage_type for insertDescriptorsMulti : 3 To insert : 1352454825 To insert : 1352454823 To insert : 1352454817 To insert : 1352454788 To insert : 1352454759 To insert : 1352454728 time to insert the descriptors : 1.0735054016113281 tagging for thcl : 3847 To do loadFromThcl(), then load ParamDescType : thcl3847 thcls : [{'id': 3847, 'mtr_user_id': 31, 'name': 'learn_MM_generique_050224', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,emr,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '13096157,13096155,13096163,13096159,13301956,13095886,13096162,13096160,13358264,13096158,5515868,13276803', 'photo_hashtag_type': 4932, 'photo_desc_type': 6032, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,616987804,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'}] thcl {'id': 3847, 'mtr_user_id': 31, 'name': 'learn_MM_generique_050224', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'aluminium,ela,emr,film_pedb,flux_dev,jrm,pcm,pcnc,pehd_pp,pet_clair,refus,tapis_vide', 'svm_portfolios_learning': '13096157,13096155,13096163,13096159,13301956,13095886,13096162,13096160,13358264,13096158,5515868,13276803', 'photo_hashtag_type': 4932, 'photo_desc_type': 6032, 'type_classification': 'tf_classification2', 'hashtag_id_list': '493546845,492741797,616987804,2107760237,2107760238,495916461,560181804,1284539308,2107760239,2107755846,538914404,2107748999'} Update svm_hashtag_type_desc : 6032 FOUND : 1 Here is data_from_sql_as_vec to set the ParamDescriptorType : (6032, 'learn_MM_generique_050224', 1280, 1280, 'learn_MM_generique_050224', 'pool5', 10.0, None, None, 256, None, 0, None, 8, None, None, -1000.0, 3, datetime.datetime(2024, 2, 5, 21, 42, 4), datetime.datetime(2024, 2, 5, 21, 42, 4)) model_name : learn_MM_generique_050224 model_param file didn't exist model_name : learn_MM_generique_050224 model_type : tf_classification2 list file need : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_emr.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00001', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file exist in s3 : ['Confusion_Matrix.png', 'Precision_Recall_aluminium.jpg', 'Precision_Recall_ela.jpg', 'Precision_Recall_emr.jpg', 'Precision_Recall_film_pedb.jpg', 'Precision_Recall_flux_dev.jpg', 'Precision_Recall_jrm.jpg', 'Precision_Recall_pcm.jpg', 'Precision_Recall_pcnc.jpg', 'Precision_Recall_pehd_pp.jpg', 'Precision_Recall_pet_clair.jpg', 'Precision_Recall_refus.jpg', 'Precision_Recall_tapis_vide.jpg', 'Result_Summary.txt', 'checkpoint', 'model_checkpoint.ckpt.data-00000-of-00001', 'model_checkpoint.ckpt.index', 'model_weights.h5'] file manque in s3 : [] local folder : /data/models_weight/learn_MM_generique_050224 /data/models_weight/learn_MM_generique_050224/Confusion_Matrix.png size_local : 88145 size in s3 : 88145 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:41:54 Confusion_Matrix.png already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_aluminium.jpg size_local : 67983 size in s3 : 67983 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:42:02 Precision_Recall_aluminium.jpg already exist and didn't need to update /data/models_weight/learn_MMtemp/1745261008_3399243_1352454825_069bef96f38db37c7739eb49b1721b29.jpg temp/1745261008_3399243_1352454823_2704c4f3ce90c1f3648606e330f609f7.jpg temp/1745261008_3399243_1352454817_af0457fe40594e464a4e597388cedd06.jpg temp/1745261008_3399243_1352454788_81cdc0cdd691f9bf1c2cab3a4b8e8fea.jpg temp/1745261008_3399243_1352454759_e7377213e0b9d252e51e887d082ee986.jpg temp/1745261008_3399243_1352454728_a1f14455af7a3c24e38209ce9c7a3c7c.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 0.9157416820526123 (6,) (6, 12) (6, 1280) shape of features : (6, 1280) shape of new features : (1, 6, 1280) save descriptor for thcl : 3847 time to traite the descriptors : 0.05741119384765625 storage_type for insertDescriptorsMulti : 3 To insert : 1352454825 To insert : 1352454823 To insert : 1352454817 To insert : 1352454788 To insert : 1352454759 To insert : 1352454728 time to insert the descriptors : 1.2984576225280762 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1352454825, 1352454823, 1352454817, 1352454788, 1352454759, 1352454728] Looping around the photos to save general results len do output : 6 /1352454825Didn't retrieve data . /1352454823Didn't retrieve data . /1352454817Didn't retrieve data . /1352454788Didn't retrieve data . /1352454759Didn't retrieve data . /1352454728Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('533', None, None, None, None, None, None, None, '2739099') ('533', '22228700', '1352454825', None, None, None, None, None, '2739099') ('533', None, None, None, None, None, None, None, '2739099') ('533', '22228700', '1352454823', None, None, None, None, None, '2739099') ('533', None, None, None, None, None, None, None, '2739099') ('533', '22228700', '1352454817', None, None, None, None, None, '2739099') ('533', None, None, None, None, None, None, None, '2739099') ('533', '22228700', '1352454788', None, None, None, None, None, '2739099') ('533', None, None, None, None, None, None, None, '2739099') ('533', '22228700', '1352454759', None, None, None, None, None, '2739099') ('533', None, None, None, None, None, None, None, '2739099') ('533', '22228700', '1352454728', None, None, None, None, None, '2739099') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.012063264846801758 save_final save missing photos in datou_result : time spend for datou_step_exec : 39.84540629386902 time spend to save output : 0.01244497299194336 total time spend for step 1 : 39.85785126686096 step2:argmax Mon Apr 21 20:44:09 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou_step Argmax ! Inside saveOutput : final : True verbose : 0 photo_id : 1352454825 output[photo_id] : [[(1352454825, '05102018_Papier_non_papier_presque_vide', 0.78956205, 4557, 3513), (1352454825, 'pcm', 0.18544953, 4374, 3379), (1352454825, 'aluminium', 0.57700217, 4932, 3847)], 'temp/1745261008_3399243_1352454825_069bef96f38db37c7739eb49b1721b29.jpg'] photo_id : 1352454823 output[photo_id] : [[(1352454823, '05102018_Papier_non_papier_presque_vide', 0.7877255, 4557, 3513), (1352454823, 'pcm', 0.19427337, 4374, 3379), (1352454823, 'aluminium', 0.5947277, 4932, 3847)], 'temp/1745261008_3399243_1352454823_2704c4f3ce90c1f3648606e330f609f7.jpg'] photo_id : 1352454817 output[photo_id] : [[(1352454817, '05102018_Papier_non_papier_presque_vide', 0.77996284, 4557, 3513), (1352454817, 'jrm', 0.1962851, 4374, 3379), (1352454817, 'aluminium', 0.5682871, 4932, 3847)], 'temp/1745261008_3399243_1352454817_af0457fe40594e464a4e597388cedd06.jpg'] photo_id : 1352454788 output[photo_id] : [[(1352454788, '05102018_Papier_non_papier_presque_vide', 0.80616945, 4557, 3513), (1352454788, 'jrm', 0.19020991, 4374, 3379), (1352454788, 'aluminium', 0.5969365, 4932, 3847)], 'temp/1745261008_3399243_1352454788_81cdc0cdd691f9bf1c2cab3a4b8e8fea.jpg'] photo_id : 1352454759 output[photo_id] : [[(1352454759, '05102018_Papier_non_papier_presque_vide', 0.7790994, 4557, 3513), (1352454759, 'pcm', 0.18551464, 4374, 3379), (1352454759, 'aluminium', 0.60078555, 4932, 3847)], 'temp/1745261008_3399243_1352454759_e7377213e0b9d252e51e887d082ee986.jpg'] photo_id : 1352454728 output[photo_id] : [[(1352454728, '05102018_Papier_non_papier_presque_vide', 0.7343939, 4557, 3513), (1352454728, 'jrm', 0.191227, 4374, 3379), (1352454728, 'aluminium', 0.5769203, 4932, 3847)], 'temp/1745261008_3399243_1352454728_a1f14455af7a3c24e38209ce9c7a3c7c.jpg'] begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012830972671508789 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 18 time used for this insertion : 0.012606382369995117 len list_finale : 18, len picture : 6 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01204991340637207 saving photo_ids in datou_result begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.012278556823730469 save missing photos in datou_result : time spend for datou_step_exec : 0.0077440738677978516 time spend to save output : 0.06954169273376465 total time spend for step 2 : 0.0772857666015625 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 6 set_done_treatment 32.31user 5.47system 0:45.90elapsed 82%CPU (0avgtext+0avgdata 2898436maxresident)k 56inputs+26168outputs (12major+1654789minor)pagefaults 0swaps