temp/1745364506_2808174_1352882870_bc81b3b4e051cb217a13cf73f63625fb.jpg temp/1745364506_2808174_1352882842_8789ce03ca198f729400c4615a2b8e34.jpg temp/1745364506_2808174_1352882814_169e2c2312c96e76b2a4ebb72941e9f3.jpg temp/1745364506_2808174_1352882787_4cb550866a3092604b34786f6d909170.jpg temp/1745364506_2808174_1352882758_b8dbd798e7b5d2c73b98e8f57daf8525.jpg temp/1745364506_2808174_1352882727_16f88c8f6ff2a55bda9717bca5f5a33c.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.0967161655426025 (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.04786324501037598 storage_type for insertDescriptorsMulti : 3 To insert : 1352882870 To insert : 1352882842 To insert : 1352882814 To insert : 1352882787 To insert : 1352882758 To insert : 1352882727 time to insert the descriptors : 1.5072379112243652 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.339295387268066 time used to load_weights : 0.13060808181762695 0it [00:00, ?it/s] 6it [00:00, 1745.44it/s]temp/1745364506_2808174_1352882870_bc81b3b4e051cb217a13cf73f63625fb.jpg temp/1745364506_2808174_1352882842_8789ce03ca198f729400c4615a2b8e34.jpg temp/1745364506_2808174_1352882814_169e2c2312c96e76b2a4ebb72941e9f3.jpg temp/1745364506_2808174_1352882787_4cb550866a3092604b34786f6d909170.jpg temp/1745364506_2808174_1352882758_b8dbd798e7b5d2c73b98e8f57daf8525.jpg temp/1745364506_2808174_1352882727_16f88c8f6ff2a55bda9717bca5f5a33c.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 0.9572582244873047 (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.0592648983001709 storage_type for insertDescriptorsMulti : 3 To insert : 1352882870 To insert : 1352882842 To insert : 1352882814 To insert : 1352882787 To insert : 1352882758 To insert : 1352882727 time to insert the descriptors : 1.2477552890777588 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1352882870, 1352882842, 1352882814, 1352882787, 1352882758, 1352882727] Looping around the photos to save general results len do output : 6 /1352882870Didn't retrieve data . /1352882842Didn't retrieve data . /1352882814Didn't retrieve data . /1352882787Didn't retrieve data . /1352882758Didn't retrieve data . /1352882727Didn'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, '2750418') ('533', '22322019', '1352882870', None, None, None, None, None, '2750418') ('533', None, None, None, None, None, None, None, '2750418') ('533', '22322019', '1352882842', None, None, None, None, None, '2750418') ('533', None, None, None, None, None, None, None, '2750418') ('533', '22322019', '1352882814', None, None, None, None, None, '2750418') ('533', None, None, None, None, None, None, None, '2750418') ('533', '22322019', '1352882787', None, None, None, None, None, '2750418') ('533', None, None, None, None, None, None, None, '2750418') ('533', '22322019', '1352882758', None, None, None, None, None, '2750418') ('533', None, None, None, None, None, None, None, '2750418') ('533', '22322019', '1352882727', None, None, None, None, None, '2750418') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.022431135177612305 save_final save missing photos in datou_result : time spend for datou_step_exec : 41.0471613407135 time spend to save output : 0.022747516632080078 total time spend for step 1 : 41.06990885734558 step2:argmax Wed Apr 23 01:29:08 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 : 1352882870 output[photo_id] : [[(1352882870, '05102018_Papier_non_papier_presque_vide', 0.8947042, 4557, 3513), (1352882870, 'jrm', 0.57933515, 4374, 3379), (1352882870, 'jrm', 0.57140726, 4932, 3847)], 'temp/1745364506_2808174_1352882870_bc81b3b4e051cb217a13cf73f63625fb.jpg'] photo_id : 1352882842 output[photo_id] : [[(1352882842, '05102018_Papier_non_papier_presque_vide', 0.89770454, 4557, 3513), (1352882842, 'jrm', 0.54765487, 4374, 3379), (1352882842, 'jrm', 0.55147445, 4932, 3847)], 'temp/1745364506_2808174_1352882842_8789ce03ca198f729400c4615a2b8e34.jpg'] photo_id : 1352882814 output[photo_id] : [[(1352882814, '05102018_Papier_non_papier_presque_vide', 0.9043428, 4557, 3513), (1352882814, 'jrm', 0.60924524, 4374, 3379), (1352882814, 'jrm', 0.60780615, 4932, 3847)], 'temp/1745364506_2808174_1352882814_169e2c2312c96e76b2a4ebb72941e9f3.jpg'] photo_id : 1352882787 output[photo_id] : [[(1352882787, '05102018_Papier_non_papier_presque_vide', 0.8948092, 4557, 3513), (1352882787, 'jrm', 0.5840155, 4374, 3379), (1352882787, 'jrm', 0.5254704, 4932, 3847)], 'temp/1745364506_2808174_1352882787_4cb550866a3092604b34786f6d909170.jpg'] photo_id : 1352882758 output[photo_id] : [[(1352882758, '05102018_Papier_non_papier_presque_vide', 0.8956271, 4557, 3513), (1352882758, 'jrm', 0.58226705, 4374, 3379), (1352882758, 'jrm', 0.5842505, 4932, 3847)], 'temp/1745364506_2808174_1352882758_b8dbd798e7b5d2c73b98e8f57daf8525.jpg'] photo_id : 1352882727 output[photo_id] : [[(1352882727, '05102018_Papier_non_papier_presque_vide', 0.88927627, 4557, 3513), (1352882727, 'jrm', 0.5967952, 4374, 3379), (1352882727, 'jrm', 0.5617694, 4932, 3847)], 'temp/1745364506_2808174_1352882727_16f88c8f6ff2a55bda9717bca5f5a33c.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.01578354835510254 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.013866186141967773 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.012041091918945312 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.01482081413269043 save missing photos in datou_result : time spend for datou_step_exec : 0.006505250930786133 time spend to save output : 0.06821894645690918 total time spend for step 2 : 0.07472419738769531 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.41user 5.77system 0:45.80elapsed 83%CPU (0avgtext+0avgdata 2866496maxresident)k 252488inputs+23040outputs (234major+1511530minor)pagefaults 0swaps