temp/1745173706_2432308_1352267405_f6d33ee0c61b8bc14570ff5eff4f8d2c.jpg temp/1745173706_2432308_1352267399_32221956df7f01e0f74241404c450c9d.jpg temp/1745173706_2432308_1352267397_8efdd7e0fdeea1587dad4beece2fd6b8.jpg temp/1745173706_2432308_1352267394_d19d541674fbe61ceee27ec3a5ca3680.jpg temp/1745173706_2432308_1352267392_73fa778668f8fdb158890a9dbeae3132.jpg temp/1745173706_2432308_1352267390_74f135026135e674e41374ee25aec488.jpg temp/1745173706_2432308_1352267386_14241c62716614e2ddef2d30cbdd21db.jpg temp/1745173706_2432308_1352267384_a237b72ba4e084c2689031e644ff9dad.jpg temp/1745173706_2432308_1352267382_04325e14dd0fcf5be45cd861e67a10b0.jpg temp/1745173706_2432308_1352267378_899ba1fce89955e7d97fc6414c555dac.jpg temp/1745173706_2432308_1352267375_508c07047211a3684f1891995dae17d3.jpg temp/1745173706_2432308_1352267373_a58b401019a63af268367a690c2c3319.jpg Found 12 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.2888944149017334 (12,) (12, 11) (12, 1280) shape of features : (12, 1280) shape of new features : (1, 12, 1280) save descriptor for thcl : 3379 time to traite the descriptors : 0.06520342826843262 storage_type for insertDescriptorsMulti : 3 To insert : 1352267405 To insert : 1352267399 To insert : 1352267397 To insert : 1352267394 To insert : 1352267392 To insert : 1352267390 To insert : 1352267386 To insert : 1352267384 To insert : 1352267382 To insert : 1352267378 To insert : 1352267375 To insert : 1352267373 time to insert the descriptors : 2.2731118202209473 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_MM_generique_050224/Precision_Recall_ela.jpg size_local : 68484 size in s3 : 68484 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_ela.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_emr.jpg size_local : 77930 size in s3 : 77930 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:41:55 Precision_Recall_emr.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_film_pedb.jpg size_local : 66701 size in s3 : 66701 create time local : 2024-04-08 09:17:48 create time in s3 : 2024-02-05 20:41:55 Precision_Recall_film_pedb.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_flux_dev.jpg size_local : 59936 size in s3 : 59936 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_flux_dev.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_jrm.jpg size_local : 72890 size in s3 : 72890 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_jrm.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pcm.jpg size_local : 93916 size in s3 : 93916 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:02 Precision_Recall_pcm.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pcnc.jpg size_local : 74701 size in s3 : 74701 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:04 Precision_Recall_pcnc.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pehd_pp.jpg size_local : 68765 size in s3 : 68765 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:03 Precision_Recall_pehd_pp.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_pet_clair.jpg size_local : 69649 size in s3 : 69649 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:03 Precision_Recall_pet_clair.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_refus.jpg size_local : 59936 size in s3 : 59936 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:41:59 Precision_Recall_refus.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Precision_Recall_tapis_vide.jpg size_local : 71529 size in s3 : 71529 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:41:54 Precision_Recall_tapis_vide.jpg already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/Result_Summary.txt size_local : 1076 size in s3 : 1076 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:41:55 Result_Summary.txt already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/checkpoint size_local : 99 size in s3 : 99 create time local : 2024-04-08 09:17:49 create time in s3 : 2024-02-05 20:42:00 checkpoint already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/model_checkpoint.ckpt.data-00000-of-00001 size_local : 32591049 size in s3 : 32591049 create time local : 2024-04-08 09:17:50 create time in s3 : 2024-02-05 20:42:02 model_checkpoint.ckpt.data-00000-of-00001 already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/model_checkpoint.ckpt.index size_local : 42495 size in s3 : 42495 create time local : 2024-04-08 09:17:50 create time in s3 : 2024-02-05 20:41:55 model_checkpoint.ckpt.index already exist and didn't need to update /data/models_weight/learn_MM_generique_050224/model_weights.h5 size_local : 16536200 size in s3 : 16536200 create time local : 2024-04-08 09:17:50 create time in s3 : 2024-02-05 20:42:00 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_MM_generique_050224den (None, 12) 15372 ================================================================= Total params: 4,064,936 Trainable params: 15,372 Non-trainable params: 4,049,564 _________________________________________________________________ Loading Weights... time used to create the model : 7.392087936401367 time used to load_weights : 0.10491704940795898 0it [00:00, ?it/s] 12it [00:00, 1451.19it/s]temp/1745173706_2432308_1352267405_f6d33ee0c61b8bc14570ff5eff4f8d2c.jpg temp/1745173706_2432308_1352267399_32221956df7f01e0f74241404c450c9d.jpg temp/1745173706_2432308_1352267397_8efdd7e0fdeea1587dad4beece2fd6b8.jpg temp/1745173706_2432308_1352267394_d19d541674fbe61ceee27ec3a5ca3680.jpg temp/1745173706_2432308_1352267392_73fa778668f8fdb158890a9dbeae3132.jpg temp/1745173706_2432308_1352267390_74f135026135e674e41374ee25aec488.jpg temp/1745173706_2432308_1352267386_14241c62716614e2ddef2d30cbdd21db.jpg temp/1745173706_2432308_1352267384_a237b72ba4e084c2689031e644ff9dad.jpg temp/1745173706_2432308_1352267382_04325e14dd0fcf5be45cd861e67a10b0.jpg temp/1745173706_2432308_1352267378_899ba1fce89955e7d97fc6414c555dac.jpg temp/1745173706_2432308_1352267375_508c07047211a3684f1891995dae17d3.jpg temp/1745173706_2432308_1352267373_a58b401019a63af268367a690c2c3319.jpg Found 12 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.0799860954284668 (12,) (12, 12) (12, 1280) shape of features : (12, 1280) shape of new features : (1, 12, 1280) save descriptor for thcl : 3847 time to traite the descriptors : 0.07834124565124512 storage_type for insertDescriptorsMulti : 3 To insert : 1352267405 To insert : 1352267399 To insert : 1352267397 To insert : 1352267394 To insert : 1352267392 To insert : 1352267390 To insert : 1352267386 To insert : 1352267384 To insert : 1352267382 To insert : 1352267378 To insert : 1352267375 To insert : 1352267373 time to insert the descriptors : 9.20585036277771 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1352267405, 1352267399, 1352267397, 1352267394, 1352267392, 1352267390, 1352267386, 1352267384, 1352267382, 1352267378, 1352267375, 1352267373] Looping around the photos to save general results len do output : 12 /1352267405Didn't retrieve data . /1352267399Didn't retrieve data . /1352267397Didn't retrieve data . /1352267394Didn't retrieve data . /1352267392Didn't retrieve data . /1352267390Didn't retrieve data . /1352267386Didn't retrieve data . /1352267384Didn't retrieve data . /1352267382Didn't retrieve data . /1352267378Didn't retrieve data . /1352267375Didn't retrieve data . /1352267373Didn'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, '2742473') ('533', '22256936', '1352267405', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267399', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267397', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267394', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267392', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267390', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267386', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267384', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267382', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267378', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267375', None, None, None, None, None, '2742473') ('533', None, None, None, None, None, None, None, '2742473') ('533', '22256936', '1352267373', None, None, None, None, None, '2742473') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.0193784236907959 save_final save missing photos in datou_result : time spend for datou_step_exec : 50.79987072944641 time spend to save output : 0.019937992095947266 total time spend for step 1 : 50.81980872154236 step2:argmax Sun Apr 20 20:29:19 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 : 1352267405 output[photo_id] : [[(1352267405, '05102018_Papier_non_papier_presque_vide', 0.7926195, 4557, 3513), (1352267405, 'pet_clair', 0.27920768, 4374, 3379), (1352267405, 'tapis_vide', 0.69267064, 4932, 3847)], 'temp/1745173706_2432308_1352267405_f6d33ee0c61b8bc14570ff5eff4f8d2c.jpg'] photo_id : 1352267399 output[photo_id] : [[(1352267399, '05102018_Papier_non_papier_presque_vide', 0.7450917, 4557, 3513), (1352267399, 'pet_clair', 0.27762276, 4374, 3379), (1352267399, 'tapis_vide', 0.67377967, 4932, 3847)], 'temp/1745173706_2432308_1352267399_32221956df7f01e0f74241404c450c9d.jpg'] photo_id : 1352267397 output[photo_id] : [[(1352267397, '05102018_Papier_non_papier_presque_vide', 0.7702569, 4557, 3513), (1352267397, 'pet_clair', 0.25870445, 4374, 3379), (1352267397, 'tapis_vide', 0.69198567, 4932, 3847)], 'temp/1745173706_2432308_1352267397_8efdd7e0fdeea1587dad4beece2fd6b8.jpg'] photo_id : 1352267394 output[photo_id] : [[(1352267394, '05102018_Papier_non_papier_presque_vide', 0.7569641, 4557, 3513), (1352267394, 'pet_clair', 0.27741396, 4374, 3379), (1352267394, 'tapis_vide', 0.6727151, 4932, 3847)], 'temp/1745173706_2432308_1352267394_d19d541674fbe61ceee27ec3a5ca3680.jpg'] photo_id : 1352267392 output[photo_id] : [[(1352267392, '05102018_Papier_non_papier_presque_vide', 0.7968937, 4557, 3513), (1352267392, 'pet_clair', 0.2605142, 4374, 3379), (1352267392, 'tapis_vide', 0.683605, 4932, 3847)], 'temp/1745173706_2432308_1352267392_73fa778668f8fdb158890a9dbeae3132.jpg'] photo_id : 1352267390 output[photo_id] : [[(1352267390, '05102018_Papier_non_papier_presque_vide', 0.75763565, 4557, 3513), (1352267390, 'pet_clair', 0.25149402, 4374, 3379), (1352267390, 'tapis_vide', 0.6920764, 4932, 3847)], 'temp/1745173706_2432308_1352267390_74f135026135e674e41374ee25aec488.jpg'] photo_id : 1352267386 output[photo_id] : [[(1352267386, '05102018_Papier_non_papier_presque_vide', 0.7630645, 4557, 3513), (1352267386, 'pet_clair', 0.2786065, 4374, 3379), (1352267386, 'tapis_vide', 0.68781483, 4932, 3847)], 'temp/1745173706_2432308_1352267386_14241c62716614e2ddef2d30cbdd21db.jpg'] photo_id : 1352267384 output[photo_id] : [[(1352267384, '05102018_Papier_non_papier_presque_vide', 0.77829796, 4557, 3513), (1352267384, 'pet_clair', 0.28913105, 4374, 3379), (1352267384, 'tapis_vide', 0.6796533, 4932, 3847)], 'temp/1745173706_2432308_1352267384_a237b72ba4e084c2689031e644ff9dad.jpg'] photo_id : 1352267382 output[photo_id] : [[(1352267382, '05102018_Papier_non_papier_presque_vide', 0.7700068, 4557, 3513), (1352267382, 'pet_clair', 0.2724714, 4374, 3379), (1352267382, 'tapis_vide', 0.67840314, 4932, 3847)], 'temp/1745173706_2432308_1352267382_04325e14dd0fcf5be45cd861e67a10b0.jpg'] photo_id : 1352267378 output[photo_id] : [[(1352267378, '05102018_Papier_non_papier_presque_vide', 0.7827634, 4557, 3513), (1352267378, 'pet_clair', 0.25786296, 4374, 3379), (1352267378, 'tapis_vide', 0.6977995, 4932, 3847)], 'temp/1745173706_2432308_1352267378_899ba1fce89955e7d97fc6414c555dac.jpg'] photo_id : 1352267375 output[photo_id] : [[(1352267375, '05102018_Papier_non_papier_presque_vide', 0.7935861, 4557, 3513), (1352267375, 'pet_clair', 0.28192398, 4374, 3379), (1352267375, 'tapis_vide', 0.6596524, 4932, 3847)], 'temp/1745173706_2432308_1352267375_508c07047211a3684f1891995dae17d3.jpg'] photo_id : 1352267373 output[photo_id] : [[(1352267373, '05102018_Papier_non_papier_presque_vide', 0.78968036, 4557, 3513), (1352267373, 'pet_clair', 0.27813944, 4374, 3379), (1352267373, 'tapis_vide', 0.6979962, 4932, 3847)], 'temp/1745173706_2432308_1352267373_a58b401019a63af268367a690c2c3319.jpg'] begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 36 time used for this insertion : 0.018406391143798828 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 36 time used for this insertion : 0.019051074981689453 len list_finale : 36, len picture : 12 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.01995706558227539 saving photo_ids in datou_result begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.018997907638549805 save missing photos in datou_result : time spend for datou_step_exec : 0.019250154495239258 time spend to save output : 0.09027433395385742 total time spend for step 2 : 0.10952448844909668 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 33.25user 5.60system 0:55.70elapsed 69%CPU (0avgtext+0avgdata 2901756maxresident)k 5144inputs+52384outputs (54major+1564709minor)pagefaults 0swaps