python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4255 ' -s datou_consolidate -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1346634 load datou : 4255 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4255, datou_cur_ids : ['3664597'] with mtr_portfolio_ids : ['25395614'] and first list_photo_ids : [] new path : /proc/1346634/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 27 ; length of list_pids : 27 ; length of list_args : 27 time to download the photos : 5.243077039718628 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Thu Sep 4 17:28:33 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 Begin step datou_step_copy_crop batch 1 Loaded 676 chid ids of type : 3327 batch 1 Loaded 210 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 230 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 229 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 206 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 294 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 218 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 106 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1374112876, 1374112845, 1374112813, 1374112803, 1374112787, 1374112697, 1374112696, 1374112695, 1374112687, 1374112663, 1374112661, 1374112657, 1374112654, 1374112652, 1374112650, 1374112627, 1374112623, 1374112616, 1374112602, 1374112591, 1374112586, 1374112520, 1374112518, 1374112515, 1374112492, 1374112459, 1374112425] Looping around the photos to save general results len do output : 27 /1374112876Didn't retrieve data . /1374112845Didn't retrieve data . /1374112813Didn't retrieve data . /1374112803Didn't retrieve data . /1374112787Didn't retrieve data . /1374112697Didn't retrieve data . /1374112696Didn't retrieve data . /1374112695Didn't retrieve data . /1374112687Didn't retrieve data . /1374112663Didn't retrieve data . /1374112661Didn't retrieve data . /1374112657Didn't retrieve data . /1374112654Didn't retrieve data . /1374112652Didn't retrieve data . /1374112650Didn't retrieve data . /1374112627Didn't retrieve data . /1374112623Didn't retrieve data . /1374112616Didn't retrieve data . /1374112602Didn't retrieve data . /1374112591Didn't retrieve data . /1374112586Didn't retrieve data . /1374112520Didn't retrieve data . /1374112518Didn't retrieve data . /1374112515Didn't retrieve data . /1374112492Didn't retrieve data . /1374112459Didn't retrieve data . /1374112425Didn'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 ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112876', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112845', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112813', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112803', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112787', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112697', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112696', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112695', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112687', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112663', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112661', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112657', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112654', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112652', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112650', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112627', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112623', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112616', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112602', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112591', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112586', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112520', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112518', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112515', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112492', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112459', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112425', None, None, None, None, None, '3664597') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.038407087326049805 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9809615612030029 time spend to save output : 0.039260149002075195 total time spend for step 1 : 1.0202217102050781 step2:consolidate_hashtags_from_manual_portfolio Thu Sep 4 17:28:34 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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 25395614 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25395614 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25395614 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25395614 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396378 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396379 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396380 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 232 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396383 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1444 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396384 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 115 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396385 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1493 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396386 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396387 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396388 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 56 chid ids of type : 3327 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396389 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396390 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25396391 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26533426 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26533427 AND mpp.hide_status=0 ORDER BY ph.size desc To test ! Use context local managing function ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : consolidate_hashtags_from_manual_portfolio we use saveGeneral [1374112876, 1374112845, 1374112813, 1374112803, 1374112787, 1374112697, 1374112696, 1374112695, 1374112687, 1374112663, 1374112661, 1374112657, 1374112654, 1374112652, 1374112650, 1374112627, 1374112623, 1374112616, 1374112602, 1374112591, 1374112586, 1374112520, 1374112518, 1374112515, 1374112492, 1374112459, 1374112425] Looping around the photos to save general results len do output : 6 /Tassign value string error string indices must be integers invalid literal for int() with base 10: 'T' begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.016503095626831055 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.13914155960083 time spend to save output : 0.016721725463867188 total time spend for step 2 : 6.155863285064697 step3:rle_unique_nms_with_priority Thu Sep 4 17:28:40 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 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 571 chid ids of type : 3327 seulement à utiliser dans la step consolidation batch 1 Loaded 47 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02895641326904297 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03341269493103027 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03897809982299805 seulement à utiliser dans la step consolidation batch 1 Loaded 56 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03450417518615723 seulement à utiliser dans la step consolidation batch 1 Loaded 62 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03184151649475098 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03207731246948242 seulement à utiliser dans la step consolidation batch 1 Loaded 60 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.036991119384765625 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.042966604232788086 seulement à utiliser dans la step consolidation batch 1 Loaded 62 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.043967247009277344 seulement à utiliser dans la step consolidation batch 1 Loaded 58 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03640031814575195 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04148530960083008 seulement à utiliser dans la step consolidation batch 1 Loaded 52 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.043886661529541016 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029737234115600586 seulement à utiliser dans la step consolidation batch 1 Loaded 56 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030863523483276367 seulement à utiliser dans la step consolidation batch 1 Loaded 42 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0308682918548584 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032002925872802734 seulement à utiliser dans la step consolidation batch 1 Loaded 59 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029504060745239258 seulement à utiliser dans la step consolidation batch 1 Loaded 67 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030200481414794922 seulement à utiliser dans la step consolidation batch 1 Loaded 56 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0308990478515625 seulement à utiliser dans la step consolidation batch 1 Loaded 59 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03038311004638672 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02962636947631836 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03004312515258789 seulement à utiliser dans la step consolidation batch 1 Loaded 54 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031844139099121094 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03288984298706055 seulement à utiliser dans la step consolidation batch 1 Loaded 59 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031958818435668945 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030932188034057617 seulement à utiliser dans la step consolidation batch 1 Loaded 49 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03061985969543457 map_output_result : {1374112876: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112845: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112813: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112803: (0.0016907730352245503, 'Should be the crop_list due to order', 0.004753832553963631), 1374112787: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112697: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112696: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112695: (0.0016907730352245503, 'Should be the crop_list due to order', 0.001984873644404327), 1374112687: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112663: (0.0016907730352245503, 'Should be the crop_list due to order', 0.009614964021386119), 1374112661: (0.0016907730352245503, 'Should be the crop_list due to order', 0.024663864472357164), 1374112657: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112654: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112652: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112650: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112627: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0008231170054646457), 1374112623: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0024430263240244193), 1374112616: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112602: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112591: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0008619972453063906), 1374112586: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112520: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112518: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112515: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0003265776492321437), 1374112492: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0), 1374112459: (0.0016907730352245503, 'Should be the crop_list due to order', 0.00017861903492402022), 1374112425: (0.0016907730352245503, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1374112876, 1374112845, 1374112813, 1374112803, 1374112787, 1374112697, 1374112696, 1374112695, 1374112687, 1374112663, 1374112661, 1374112657, 1374112654, 1374112652, 1374112650, 1374112627, 1374112623, 1374112616, 1374112602, 1374112591, 1374112586, 1374112520, 1374112518, 1374112515, 1374112492, 1374112459, 1374112425] Looping around the photos to save general results len do output : 27 /1374112876.Didn't retrieve data . /1374112845.Didn't retrieve data . /1374112813.Didn't retrieve data . /1374112803.Didn't retrieve data . /1374112787.Didn't retrieve data . /1374112697.Didn't retrieve data . /1374112696.Didn't retrieve data . /1374112695.Didn't retrieve data . /1374112687.Didn't retrieve data . /1374112663.Didn't retrieve data . /1374112661.Didn't retrieve data . /1374112657.Didn't retrieve data . /1374112654.Didn't retrieve data . /1374112652.Didn't retrieve data . /1374112650.Didn't retrieve data . /1374112627.Didn't retrieve data . /1374112623.Didn't retrieve data . /1374112616.Didn't retrieve data . /1374112602.Didn't retrieve data . /1374112591.Didn't retrieve data . /1374112586.Didn't retrieve data . /1374112520.Didn't retrieve data . /1374112518.Didn't retrieve data . /1374112515.Didn't retrieve data . /1374112492.Didn't retrieve data . /1374112459.Didn't retrieve data . /1374112425.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112876', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112845', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112813', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112803', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112787', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112697', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112696', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112695', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112687', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112663', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112661', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112657', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112654', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112652', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112650', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112627', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112623', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112616', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112602', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112591', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112586', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112520', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112518', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112515', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112492', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112459', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112425', None, None, None, None, None, '3664597') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 81 time used for this insertion : 0.014816045761108398 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5463922023773193 time spend to save output : 0.015805959701538086 total time spend for step 3 : 3.5621981620788574 step4:ventilate_hashtags_in_portfolio Thu Sep 4 17:28:44 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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 25395614 get user id for portfolio 25395614 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25395614 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25395614 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25395614 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/25396378,25396379,25396380,25396383,25396384,25396385,25396386,25396387,25396388,25396389,25396390,25396391,26533436?tags=pehd,verre,flou,mal_croppe,carton,pet_clair,metal,pet_fonce,papier,etiquette,bouchon,barquette_avec_film,emr Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374112876, 1374112845, 1374112813, 1374112803, 1374112787, 1374112697, 1374112696, 1374112695, 1374112687, 1374112663, 1374112661, 1374112657, 1374112654, 1374112652, 1374112650, 1374112627, 1374112623, 1374112616, 1374112602, 1374112591, 1374112586, 1374112520, 1374112518, 1374112515, 1374112492, 1374112459, 1374112425] Looping around the photos to save general results len do output : 1 /25395614. 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 ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112876', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112845', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112813', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112803', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112787', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112697', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112696', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112695', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112687', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112663', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112661', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112657', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112654', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112652', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112650', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112627', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112623', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112616', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112602', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112591', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112586', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112520', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112518', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112515', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112492', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112459', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112425', None, None, None, None, None, '3664597') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.018072128295898438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3822762966156006 time spend to save output : 0.01833176612854004 total time spend for step 4 : 0.4006080627441406 step5:final Thu Sep 4 17:28:44 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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1374112876: ('0.004830616905155053',), 1374112845: ('0.004830616905155053',), 1374112813: ('0.004830616905155053',), 1374112803: ('0.004830616905155053',), 1374112787: ('0.004830616905155053',), 1374112697: ('0.004830616905155053',), 1374112696: ('0.004830616905155053',), 1374112695: ('0.004830616905155053',), 1374112687: ('0.004830616905155053',), 1374112663: ('0.004830616905155053',), 1374112661: ('0.004830616905155053',), 1374112657: ('0.004830616905155053',), 1374112654: ('0.004830616905155053',), 1374112652: ('0.004830616905155053',), 1374112650: ('0.004830616905155053',), 1374112627: ('0.004830616905155053',), 1374112623: ('0.004830616905155053',), 1374112616: ('0.004830616905155053',), 1374112602: ('0.004830616905155053',), 1374112591: ('0.004830616905155053',), 1374112586: ('0.004830616905155053',), 1374112520: ('0.004830616905155053',), 1374112518: ('0.004830616905155053',), 1374112515: ('0.004830616905155053',), 1374112492: ('0.004830616905155053',), 1374112459: ('0.004830616905155053',), 1374112425: ('0.004830616905155053',)} new output for save of step final : {1374112876: ('0.004830616905155053',), 1374112845: ('0.004830616905155053',), 1374112813: ('0.004830616905155053',), 1374112803: ('0.004830616905155053',), 1374112787: ('0.004830616905155053',), 1374112697: ('0.004830616905155053',), 1374112696: ('0.004830616905155053',), 1374112695: ('0.004830616905155053',), 1374112687: ('0.004830616905155053',), 1374112663: ('0.004830616905155053',), 1374112661: ('0.004830616905155053',), 1374112657: ('0.004830616905155053',), 1374112654: ('0.004830616905155053',), 1374112652: ('0.004830616905155053',), 1374112650: ('0.004830616905155053',), 1374112627: ('0.004830616905155053',), 1374112623: ('0.004830616905155053',), 1374112616: ('0.004830616905155053',), 1374112602: ('0.004830616905155053',), 1374112591: ('0.004830616905155053',), 1374112586: ('0.004830616905155053',), 1374112520: ('0.004830616905155053',), 1374112518: ('0.004830616905155053',), 1374112515: ('0.004830616905155053',), 1374112492: ('0.004830616905155053',), 1374112459: ('0.004830616905155053',), 1374112425: ('0.004830616905155053',)} [1374112876, 1374112845, 1374112813, 1374112803, 1374112787, 1374112697, 1374112696, 1374112695, 1374112687, 1374112663, 1374112661, 1374112657, 1374112654, 1374112652, 1374112650, 1374112627, 1374112623, 1374112616, 1374112602, 1374112591, 1374112586, 1374112520, 1374112518, 1374112515, 1374112492, 1374112459, 1374112425] Looping around the photos to save general results len do output : 27 /1374112876.Didn't retrieve data . /1374112845.Didn't retrieve data . /1374112813.Didn't retrieve data . /1374112803.Didn't retrieve data . /1374112787.Didn't retrieve data . /1374112697.Didn't retrieve data . /1374112696.Didn't retrieve data . /1374112695.Didn't retrieve data . /1374112687.Didn't retrieve data . /1374112663.Didn't retrieve data . /1374112661.Didn't retrieve data . /1374112657.Didn't retrieve data . /1374112654.Didn't retrieve data . /1374112652.Didn't retrieve data . /1374112650.Didn't retrieve data . /1374112627.Didn't retrieve data . /1374112623.Didn't retrieve data . /1374112616.Didn't retrieve data . /1374112602.Didn't retrieve data . /1374112591.Didn't retrieve data . /1374112586.Didn't retrieve data . /1374112520.Didn't retrieve data . /1374112518.Didn't retrieve data . /1374112515.Didn't retrieve data . /1374112492.Didn't retrieve data . /1374112459.Didn't retrieve data . /1374112425.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112876', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112845', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112813', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112803', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112787', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112697', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112696', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112695', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112687', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112663', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112661', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112657', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112654', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112652', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112650', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112627', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112623', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112616', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112602', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112591', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112586', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112520', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112518', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112515', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112492', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112459', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112425', None, None, None, None, None, '3664597') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 81 time used for this insertion : 0.017515897750854492 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0330662727355957 time spend to save output : 0.018645286560058594 total time spend for step 5 : 0.0517115592956543 step6:blur_detection Thu Sep 4 17:28:44 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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 27 time used for this insertion : 0.010651826858520508 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 27 time used for this insertion : 0.019026756286621094 save missing photos in datou_result : time spend for datou_step_exec : 0.02856159210205078 time spend to save output : 0.034522294998168945 total time spend for step 6 : 0.06308388710021973 step7:brightness Thu Sep 4 17:28:45 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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 27 time used for this insertion : 0.012324810028076172 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 27 time used for this insertion : 0.011706829071044922 save missing photos in datou_result : time spend for datou_step_exec : 0.03170633316040039 time spend to save output : 0.029059648513793945 total time spend for step 7 : 0.060765981674194336 step8:send_mail_cod Thu Sep 4 17:28:45 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 complete output_args for input 1 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_COD_P25395614_04-09-2025_17_28_45.pdf 25396378 imagette253963781756999725 25396379 imagette253963791756999725 25396384 change filename to text .change filename to text .imagette253963841756999725 25396386 imagette253963861756999725 25396387 imagette253963871756999725 25396388 change filename to text .imagette253963881756999725 25396389 imagette253963891756999725 25396390 imagette253963901756999725 25396391 imagette253963911756999725 26533436 imagette265334361756999725 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25395614 and hashtag_type = 3327 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25396378,25396379,25396380,25396383,25396384,25396385,25396386,25396387,25396388,25396389,25396390,25396391,26533436?tags=pehd,verre,flou,mal_croppe,carton,pet_clair,metal,pet_fonce,papier,etiquette,bouchon,barquette_avec_film,emr your option no_mail is active, we will not send the real mail to your client args[1374112876] : ((1374112876, -7.1171515548630655, 492609224), (1374112876, -0.32868081067657146, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112845] : ((1374112845, -7.048238214886755, 492609224), (1374112845, -0.24796102346271495, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112813] : ((1374112813, -7.0487205184013195, 492609224), (1374112813, -0.3033166913753518, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112803] : ((1374112803, -7.149881350916546, 492609224), (1374112803, -0.3717748970666649, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112787] : ((1374112787, -7.073090460097059, 492609224), (1374112787, -0.3772471442536274, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112697] : ((1374112697, -7.03784611415676, 492609224), (1374112697, -0.44671892239733835, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112696] : ((1374112696, -7.279320763452093, 492609224), (1374112696, -0.235496439682739, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112695] : ((1374112695, -7.074757957222339, 492609224), (1374112695, -0.37394978791263317, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112687] : ((1374112687, -7.256935931171145, 492609224), (1374112687, -0.46002065669741654, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112663] : ((1374112663, -7.16476002330173, 492609224), (1374112663, -0.357571006635988, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112661] : ((1374112661, -7.057640750142819, 492609224), (1374112661, -0.2119066195180074, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112657] : ((1374112657, -6.724167791009428, 492609224), (1374112657, -0.5281618137460441, 501862349), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112654] : ((1374112654, -7.2398817502717066, 492609224), (1374112654, -0.3056635229029336, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112652] : ((1374112652, -7.162664990931307, 492609224), (1374112652, -0.3486930586639064, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112650] : ((1374112650, -7.051096629539345, 492609224), (1374112650, -0.33681342225251726, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112627] : ((1374112627, -6.994916519885686, 492609224), (1374112627, -0.3766473326965324, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112623] : ((1374112623, -6.468772600832711, 492609224), (1374112623, -0.4547302212170589, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112616] : ((1374112616, -7.036078162181755, 492609224), (1374112616, -0.3135629770035549, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112602] : ((1374112602, -6.280301124194574, 492609224), (1374112602, -0.6818081731049379, 501862349), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112591] : ((1374112591, -5.997503017316645, 492609224), (1374112591, -0.9916400818107974, 501862349), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112586] : ((1374112586, -6.417854170185305, 492609224), (1374112586, -0.7409725375817108, 501862349), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112520] : ((1374112520, -6.878764560218356, 492609224), (1374112520, -0.5079563090827314, 501862349), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112518] : ((1374112518, -7.1457334141359095, 492609224), (1374112518, -0.22793043433466986, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112515] : ((1374112515, -6.356043548205865, 492609224), (1374112515, -0.4364443510216251, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112492] : ((1374112492, -7.096991968825534, 492609224), (1374112492, -0.3345627748523381, 496442774), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112459] : ((1374112459, -6.230124967930842, 492609224), (1374112459, -0.6033819615417603, 501862349), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com args[1374112425] : ((1374112425, -4.491289569512376, 492609224), (1374112425, -1.72462940297878, 501862349), '0.004830616905155053') We are sending mail with results at kexin@fotonower.com refus_total : 0.004830616905155053 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25395614 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25395614_04-09-2025_17_28_45.pdf results_COD_P25395614_04-09-2025_17_28_45.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25395614_04-09-2025_17_28_45.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4255','25395614','results_COD_P25395614_04-09-2025_17_28_45.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25395614_04-09-2025_17_28_45.pdf','pdf','','0.73','0.004830616905155053') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1374112876, 1374112845, 1374112813, 1374112803, 1374112787, 1374112697, 1374112696, 1374112695, 1374112687, 1374112663, 1374112661, 1374112657, 1374112654, 1374112652, 1374112650, 1374112627, 1374112623, 1374112616, 1374112602, 1374112591, 1374112586, 1374112520, 1374112518, 1374112515, 1374112492, 1374112459, 1374112425] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112876', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112845', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112813', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112803', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112787', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112697', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112696', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112695', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112687', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112663', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112661', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112657', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112654', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112652', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112650', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112627', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112623', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112616', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112602', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112591', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112586', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112520', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112518', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112515', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112492', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112459', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112425', None, None, None, None, None, '3664597') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.019147157669067383 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.233990430831909 time spend to save output : 0.019494295120239258 total time spend for step 8 : 5.253484725952148 step9:split_time_score Thu Sep 4 17:28:50 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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 27),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28072025 25395614 Nombre de photos uploadées : 27 / 23040 (0%) 28072025 25395614 Nombre de photos taguées (types de déchets): 0 / 27 (0%) 28072025 25395614 Nombre de photos taguées (volume) : 0 / 27 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 1.1205673217773438e-05 ??????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014567375183105469 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.26750731468200684 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25395602_28-07-2025_10_37_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25395602 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25390335_28-07-2025_08_20_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25390335 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25390338_28-07-2025_20_45_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25390338 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25390341_28-07-2025_16_15_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25390341 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25390341_28-07-2025_16_15_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25390341 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391505_28-07-2025_10_11_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391505 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391519_28-07-2025_09_36_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391519 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391533_28-07-2025_08_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391533 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391533_28-07-2025_08_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391533 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391536_28-07-2025_08_48_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391536 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25394243_28-07-2025_09_46_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25394243 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25394246_28-07-2025_09_51_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25394246 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25394250_28-07-2025_09_52_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25394250 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25395610_28-07-2025_10_28_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25395610 order by id desc limit 1 Qualite : 0.004830616905155053 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25395614_04-09-2025_17_28_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25395614 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25395614 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25418197_28-07-2025_22_57_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25418197 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25418197_28-07-2025_22_57_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25418197 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25418199_28-07-2025_19_31_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25418199 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25405681_28-07-2025_14_28_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25405681 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25403194_28-07-2025_22_53_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25403194 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25403194_28-07-2025_22_53_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25403194 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25401953_28-07-2025_12_50_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25401953 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25399175_28-07-2025_11_55_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25399175 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25399177_28-07-2025_19_26_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25399177 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25399177_28-07-2025_19_26_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25399177 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25399179_28-07-2025_11_48_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25399179 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25401957_28-07-2025_12_44_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25401957 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25401971_28-07-2025_13_23_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25401971 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25401986_28-07-2025_20_40_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25401986 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25401989_28-07-2025_12_57_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25401989 order by id desc limit 1 Qualite : 0.10750159143518523 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25401991_28-07-2025_12_43_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25401991 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25401991 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25403210_28-07-2025_13_10_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25403210 order by id desc limit 1 Qualite : 0.11873973489858906 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25403226_28-07-2025_14_25_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25403226 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25403226 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25403228_28-07-2025_17_51_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25403228 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25403228_28-07-2025_17_51_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25403228 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25403237_28-07-2025_13_38_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25403237 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25403251_28-07-2025_13_22_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25403251 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25405682_28-07-2025_15_00_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25405682 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25405683_28-07-2025_21_22_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25405683 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25405683_28-07-2025_21_22_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25405683 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25405684_28-07-2025_14_19_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25405684 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28072025': {'nb_upload': 27, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1374112876, 1374112845, 1374112813, 1374112803, 1374112787, 1374112697, 1374112696, 1374112695, 1374112687, 1374112663, 1374112661, 1374112657, 1374112654, 1374112652, 1374112650, 1374112627, 1374112623, 1374112616, 1374112602, 1374112591, 1374112586, 1374112520, 1374112518, 1374112515, 1374112492, 1374112459, 1374112425] Looping around the photos to save general results len do output : 1 /25395614Didn'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 ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112876', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112845', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112813', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112803', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112787', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112697', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112696', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112695', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112687', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112663', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112661', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112657', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112654', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112652', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112650', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112627', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112623', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112616', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112602', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112591', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112586', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112520', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112518', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112515', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112492', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112459', None, None, None, None, None, '3664597') ('4255', None, None, None, None, None, None, None, '3664597') ('4255', '25395614', '1374112425', None, None, None, None, None, '3664597') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.03675079345703125 save_final save missing photos in datou_result : time spend for datou_step_exec : 21.238614320755005 time spend to save output : 0.03708028793334961 total time spend for step 9 : 21.275694608688354 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 27 set_done_treatment 7.06user 0.96system 0:46.90elapsed 17%CPU (0avgtext+0avgdata 178168maxresident)k 5240inputs+72528outputs (200major+126250minor)pagefaults 0swaps