temp/1744030168_822513_1350327689_a3602758967950573d2101a5ceb6e49b.jpg temp/1744030168_822513_1350327684_98af9525262beb2695c0cc67f6289896.jpg temp/1744030168_822513_1350327624_2b42de53e202fd4d51405cddaa9446c1.jpg temp/1744030168_822513_1350327619_55dfa03a770cab07b1dc11500bad1a87.jpg temp/1744030168_822513_1350327613_0a281ef0fe401bd7d90b6faa9c25faf4.jpg temp/1744030168_822513_1350327607_9a7878973af4630185645626d9f25756.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.1618008613586426 (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.05041790008544922 storage_type for insertDescriptorsMulti : 3 To insert : 1350327689 To insert : 1350327684 To insert : 1350327624 To insert : 1350327619 To insert : 1350327613 To insert : 1350327607 time to insert the descriptors : 3.694340944290161 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.889052867889404 time used to load_weights : 0.11934661865234375 0it [00:00, ?it/s] 6it [00:00, 2981.73it/s]temp/1744030168_822513_1350327689_a3602758967950573d2101a5ceb6e49b.jpg temp/1744030168_822513_1350327684_98af9525262beb2695c0cc67f6289896.jpg temp/1744030168_822513_1350327624_2b42de53e202fd4d51405cddaa9446c1.jpg temp/1744030168_822513_1350327619_55dfa03a770cab07b1dc11500bad1a87.jpg temp/1744030168_822513_1350327613_0a281ef0fe401bd7d90b6faa9c25faf4.jpg temp/1744030168_822513_1350327607_9a7878973af4630185645626d9f25756.jpg Found 6 images belonging to 1 classes. begin to do the prediction : time used to do the prediction : 1.2593927383422852 (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.06515026092529297 storage_type for insertDescriptorsMulti : 3 To insert : 1350327689 To insert : 1350327684 To insert : 1350327624 To insert : 1350327619 To insert : 1350327613 To insert : 1350327607 time to insert the descriptors : 2.4530153274536133 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : tfhub_classification2 we use saveGeneral [1350327689, 1350327684, 1350327624, 1350327619, 1350327613, 1350327607] Looping around the photos to save general results len do output : 6 /1350327689Didn't retrieve data . /1350327684Didn't retrieve data . /1350327624Didn't retrieve data . /1350327619Didn't retrieve data . /1350327613Didn't retrieve data . /1350327607Didn'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, '2727226') ('533', '22083388', '1350327689', None, None, None, None, None, '2727226') ('533', None, None, None, None, None, None, None, '2727226') ('533', '22083388', '1350327684', None, None, None, None, None, '2727226') ('533', None, None, None, None, None, None, None, '2727226') ('533', '22083388', '1350327624', None, None, None, None, None, '2727226') ('533', None, None, None, None, None, None, None, '2727226') ('533', '22083388', '1350327619', None, None, None, None, None, '2727226') ('533', None, None, None, None, None, None, None, '2727226') ('533', '22083388', '1350327613', None, None, None, None, None, '2727226') ('533', None, None, None, None, None, None, None, '2727226') ('533', '22083388', '1350327607', None, None, None, None, None, '2727226') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.014538288116455078 save_final save missing photos in datou_result : time spend for datou_step_exec : 46.757373332977295 time spend to save output : 0.01495361328125 total time spend for step 1 : 46.772326946258545 step2:argmax Mon Apr 7 14:50:16 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 : 1350327689 output[photo_id] : [[(1350327689, '05102018_Papier_non_papier_tres_dense', 0.41233858, 4557, 3513), (1350327689, 'jrm', 0.3366833, 4374, 3379), (1350327689, 'film_pedb', 0.26970702, 4932, 3847)], 'temp/1744030168_822513_1350327689_a3602758967950573d2101a5ceb6e49b.jpg'] photo_id : 1350327684 output[photo_id] : [[(1350327684, '05102018_Papier_non_papier_presque_vide', 0.5508051, 4557, 3513), (1350327684, 'film_pedb', 0.52319914, 4374, 3379), (1350327684, 'film_pedb', 0.81621283, 4932, 3847)], 'temp/1744030168_822513_1350327684_98af9525262beb2695c0cc67f6289896.jpg'] photo_id : 1350327624 output[photo_id] : [[(1350327624, '05102018_Papier_non_papier_presque_vide', 0.5343846, 4557, 3513), (1350327624, 'refus', 0.24391694, 4374, 3379), (1350327624, 'jrm', 0.29938564, 4932, 3847)], 'temp/1744030168_822513_1350327624_2b42de53e202fd4d51405cddaa9446c1.jpg'] photo_id : 1350327619 output[photo_id] : [[(1350327619, '05102018_Papier_non_papier_presque_vide', 0.4458214, 4557, 3513), (1350327619, 'jrm', 0.6755535, 4374, 3379), (1350327619, 'jrm', 0.5640167, 4932, 3847)], 'temp/1744030168_822513_1350327619_55dfa03a770cab07b1dc11500bad1a87.jpg'] photo_id : 1350327613 output[photo_id] : [[(1350327613, '05102018_Papier_non_papier_presque_vide', 0.5669897, 4557, 3513), (1350327613, 'refus', 0.26274577, 4374, 3379), (1350327613, 'film_pedb', 0.4006214, 4932, 3847)], 'temp/1744030168_822513_1350327613_0a281ef0fe401bd7d90b6faa9c25faf4.jpg'] photo_id : 1350327607 output[photo_id] : [[(1350327607, '05102018_Papier_non_papier_presque_vide', 0.44148538, 4557, 3513), (1350327607, 'film_pedb', 0.67943, 4374, 3379), (1350327607, 'film_pedb', 0.77316344, 4932, 3847)], 'temp/1744030168_822513_1350327607_9a7878973af4630185645626d9f25756.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.018027067184448242 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.015168905258178711 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.014577150344848633 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.015533924102783203 save missing photos in datou_result : time spend for datou_step_exec : 0.008820056915283203 time spend to save output : 0.09466075897216797 total time spend for step 2 : 0.10348081588745117 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 34.40user 6.50system 0:53.22elapsed 76%CPU (0avgtext+0avgdata 2845844maxresident)k 503912inputs+10512outputs (506major+1648800minor)pagefaults 0swaps