python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4249 ' -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 : 1388048 load datou : 4249 # 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 11590 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11591 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11588 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11588 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11595 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11589 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11592 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11593 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11594 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11596 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 11590 have datatype=11 whereas input 0 of step 11588 have datatype=2 WARNING : type of output 1 of step 11591 doesn't seem to be define in the database( WARNING : type of input 3 of step 11589 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 11591 doesn't seem to be define in the database( WARNING : type of input 1 of step 11588 doesn't seem to be define in the database( WARNING : output 0 of step 11595 have datatype=10 whereas input 3 of step 11594 have datatype=6 WARNING : type of input 1 of step 11595 doesn't seem to be define in the database( WARNING : output 1 of step 11588 have datatype=7 whereas input 1 of step 11595 have datatype=None WARNING : type of output 1 of step 11595 doesn't seem to be define in the database( WARNING : type of input 4 of step 11589 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11590 doesn't seem to be define in the database( WARNING : type of input 1 of step 11591 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 : 4249, datou_cur_ids : ['4076900'] with mtr_portfolio_ids : ['28006924'] and first list_photo_ids : [] new path : /proc/1388048/ 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 11590 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11591 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11588 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11588 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11595 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11589 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11592 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11593 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11594 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11596 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 11590 have datatype=11 whereas input 0 of step 11588 have datatype=2 WARNING : type of output 1 of step 11591 doesn't seem to be define in the database( WARNING : type of input 3 of step 11589 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 11591 doesn't seem to be define in the database( WARNING : type of input 1 of step 11588 doesn't seem to be define in the database( WARNING : output 0 of step 11595 have datatype=10 whereas input 3 of step 11594 have datatype=6 WARNING : type of input 1 of step 11595 doesn't seem to be define in the database( WARNING : output 1 of step 11588 have datatype=7 whereas input 1 of step 11595 have datatype=None WARNING : type of output 1 of step 11595 doesn't seem to be define in the database( WARNING : type of input 4 of step 11589 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11590 doesn't seem to be define in the database( WARNING : type of input 1 of step 11591 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 24 ; length of list_pids : 24 ; length of list_args : 24 time to download the photos : 7.6292219161987305 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 Wed Nov 19 11:06:38 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 154 chid ids of type : 4209 batch 1 Loaded 143 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 68 chid ids of type : 4209 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 [1390998246, 1390998241, 1390998238, 1390998234, 1390998219, 1390998215, 1390998210, 1390998206, 1390998202, 1390998095, 1390997976, 1390997973, 1390997969, 1390997947, 1390997940, 1390997913, 1390997888, 1390997864, 1390997863, 1390997762, 1390997721, 1390997681, 1390997645, 1390997640] Looping around the photos to save general results len do output : 24 /1390998246Didn't retrieve data . /1390998241Didn't retrieve data . /1390998238Didn't retrieve data . /1390998234Didn't retrieve data . /1390998219Didn't retrieve data . /1390998215Didn't retrieve data . /1390998210Didn't retrieve data . /1390998206Didn't retrieve data . /1390998202Didn't retrieve data . /1390998095Didn't retrieve data . /1390997976Didn't retrieve data . /1390997973Didn't retrieve data . /1390997969Didn't retrieve data . /1390997947Didn't retrieve data . /1390997940Didn't retrieve data . /1390997913Didn't retrieve data . /1390997888Didn't retrieve data . /1390997864Didn't retrieve data . /1390997863Didn't retrieve data . /1390997762Didn't retrieve data . /1390997721Didn't retrieve data . /1390997681Didn't retrieve data . /1390997645Didn't retrieve data . /1390997640Didn'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 ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998246', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998241', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998238', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998234', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998219', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998215', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998210', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998206', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998202', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998095', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997976', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997973', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997969', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997947', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997940', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997913', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997888', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997864', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997863', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997762', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997721', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997681', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997645', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997640', None, None, None, None, None, '4076900') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 time used for this insertion : 0.017120361328125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.14147138595581055 time spend to save output : 0.017868995666503906 total time spend for step 1 : 0.15934038162231445 step2:consolidate_hashtags_from_manual_portfolio Wed Nov 19 11:06:38 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 : 28006924 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`=28006924 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) 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`=28006924 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) 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`=28006924 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007366 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007367 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 153 chid ids of type : 4209 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007368 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 78 chid ids of type : 4209 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007369 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007370 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 211 chid ids of type : 4209 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007371 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007372 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 204 chid ids of type : 4209 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007373 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007374 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 5 chid ids of type : 4209 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007375 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007376 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007377 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007378 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 51 chid ids of type : 4209 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007379 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 157 chid ids of type : 4209 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007380 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28007381 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_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28703361 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 [1390998246, 1390998241, 1390998238, 1390998234, 1390998219, 1390998215, 1390998210, 1390998206, 1390998202, 1390998095, 1390997976, 1390997973, 1390997969, 1390997947, 1390997940, 1390997913, 1390997888, 1390997864, 1390997863, 1390997762, 1390997721, 1390997681, 1390997645, 1390997640] 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 : 24 time used for this insertion : 0.015804767608642578 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.2300541400909424 time spend to save output : 0.01601862907409668 total time spend for step 2 : 3.246072769165039 step3:rle_unique_nms_with_priority Wed Nov 19 11:06:41 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 135 chid ids of type : 4209 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.023983478546142578 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.026729822158813477 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.025856971740722656 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02533578872680664 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.025851726531982422 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031142473220825195 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02671957015991211 seulement à utiliser dans la step consolidation batch 1 Loaded 15 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029864788055419922 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02659893035888672 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.023980140686035156 seulement à utiliser dans la step consolidation batch 1 Loaded 12 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02857828140258789 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.026590585708618164 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.025696516036987305 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.027524232864379883 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.026671648025512695 seulement à utiliser dans la step consolidation batch 1 Loaded 18 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02745819091796875 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.027005672454833984 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028978824615478516 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028842449188232422 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028316259384155273 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.025199413299560547 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028328895568847656 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02609705924987793 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.026370763778686523 map_output_result : {1390998246: (0.0, 'Should be the crop_list due to order', 0), 1390998241: (0.0, 'Should be the crop_list due to order', 0), 1390998238: (0.0, 'Should be the crop_list due to order', 0), 1390998234: (0.0, 'Should be the crop_list due to order', 0), 1390998219: (0.0, 'Should be the crop_list due to order', 0), 1390998215: (0.0, 'Should be the crop_list due to order', 0), 1390998210: (0.0, 'Should be the crop_list due to order', 0), 1390998206: (0.0, 'Should be the crop_list due to order', 0), 1390998202: (0.0, 'Should be the crop_list due to order', 0), 1390998095: (0.0, 'Should be the crop_list due to order', 0), 1390997976: (0.0, 'Should be the crop_list due to order', 0), 1390997973: (0.0, 'Should be the crop_list due to order', 0), 1390997969: (0.0, 'Should be the crop_list due to order', 0), 1390997947: (0.0, 'Should be the crop_list due to order', 0), 1390997940: (0.0, 'Should be the crop_list due to order', 0), 1390997913: (0.0, 'Should be the crop_list due to order', 0), 1390997888: (0.0, 'Should be the crop_list due to order', 0), 1390997864: (0.0, 'Should be the crop_list due to order', 0), 1390997863: (0.0, 'Should be the crop_list due to order', 0), 1390997762: (0.0, 'Should be the crop_list due to order', 0), 1390997721: (0.0, 'Should be the crop_list due to order', 0), 1390997681: (0.0, 'Should be the crop_list due to order', 0), 1390997645: (0.0, 'Should be the crop_list due to order', 0), 1390997640: (0.0, 'Should be the crop_list due to order', 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 [1390998246, 1390998241, 1390998238, 1390998234, 1390998219, 1390998215, 1390998210, 1390998206, 1390998202, 1390998095, 1390997976, 1390997973, 1390997969, 1390997947, 1390997940, 1390997913, 1390997888, 1390997864, 1390997863, 1390997762, 1390997721, 1390997681, 1390997645, 1390997640] Looping around the photos to save general results len do output : 24 /1390998246.Didn't retrieve data . /1390998241.Didn't retrieve data . /1390998238.Didn't retrieve data . /1390998234.Didn't retrieve data . /1390998219.Didn't retrieve data . /1390998215.Didn't retrieve data . /1390998210.Didn't retrieve data . /1390998206.Didn't retrieve data . /1390998202.Didn't retrieve data . /1390998095.Didn't retrieve data . /1390997976.Didn't retrieve data . /1390997973.Didn't retrieve data . /1390997969.Didn't retrieve data . /1390997947.Didn't retrieve data . /1390997940.Didn't retrieve data . /1390997913.Didn't retrieve data . /1390997888.Didn't retrieve data . /1390997864.Didn't retrieve data . /1390997863.Didn't retrieve data . /1390997762.Didn't retrieve data . /1390997721.Didn't retrieve data . /1390997681.Didn't retrieve data . /1390997645.Didn't retrieve data . /1390997640.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 ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998246', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998241', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998238', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998234', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998219', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998215', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998210', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998206', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998202', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998095', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997976', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997973', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997969', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997947', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997940', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997913', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997888', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997864', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997863', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997762', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997721', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997681', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997645', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997640', None, None, None, None, None, '4076900') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 72 time used for this insertion : 0.016042470932006836 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4451024532318115 time spend to save output : 0.01682901382446289 total time spend for step 3 : 3.4619314670562744 step4:ventilate_hashtags_in_portfolio Wed Nov 19 11:06: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 : 28006924 get user id for portfolio 28006924 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`=28006924 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) 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`=28006924 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28007366,28007367,28007368,28007369,28007370,28007371,28007372,28007373,28007374,28007375,28007376,28007377,28007378,28007379,28007380,28007381?tags=kraft,papier,flou,metal,environnement,pet_clair,mal_croppe,ela,film_plastique,pehd,pet_opaque,pet_fonce,barquette_opaque,carton,etiquette,textiles_sanitaires Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1390998246, 1390998241, 1390998238, 1390998234, 1390998219, 1390998215, 1390998210, 1390998206, 1390998202, 1390998095, 1390997976, 1390997973, 1390997969, 1390997947, 1390997940, 1390997913, 1390997888, 1390997864, 1390997863, 1390997762, 1390997721, 1390997681, 1390997645, 1390997640] Looping around the photos to save general results len do output : 1 /28006924. 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 ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998246', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998241', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998238', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998234', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998219', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998215', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998210', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998206', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998202', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998095', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997976', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997973', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997969', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997947', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997940', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997913', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997888', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997864', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997863', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997762', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997721', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997681', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997645', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997640', None, None, None, None, None, '4076900') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 time used for this insertion : 0.016619443893432617 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3372528553009033 time spend to save output : 0.016924381256103516 total time spend for step 4 : 0.35417723655700684 step5:final Wed Nov 19 11:06: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 ! 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 : {1390998246: ('0.38039988502866173',), 1390998241: ('0.38039988502866173',), 1390998238: ('0.38039988502866173',), 1390998234: ('0.38039988502866173',), 1390998219: ('0.38039988502866173',), 1390998215: ('0.38039988502866173',), 1390998210: ('0.38039988502866173',), 1390998206: ('0.38039988502866173',), 1390998202: ('0.38039988502866173',), 1390998095: ('0.38039988502866173',), 1390997976: ('0.38039988502866173',), 1390997973: ('0.38039988502866173',), 1390997969: ('0.38039988502866173',), 1390997947: ('0.38039988502866173',), 1390997940: ('0.38039988502866173',), 1390997913: ('0.38039988502866173',), 1390997888: ('0.38039988502866173',), 1390997864: ('0.38039988502866173',), 1390997863: ('0.38039988502866173',), 1390997762: ('0.38039988502866173',), 1390997721: ('0.38039988502866173',), 1390997681: ('0.38039988502866173',), 1390997645: ('0.38039988502866173',), 1390997640: ('0.38039988502866173',)} new output for save of step final : {1390998246: ('0.38039988502866173',), 1390998241: ('0.38039988502866173',), 1390998238: ('0.38039988502866173',), 1390998234: ('0.38039988502866173',), 1390998219: ('0.38039988502866173',), 1390998215: ('0.38039988502866173',), 1390998210: ('0.38039988502866173',), 1390998206: ('0.38039988502866173',), 1390998202: ('0.38039988502866173',), 1390998095: ('0.38039988502866173',), 1390997976: ('0.38039988502866173',), 1390997973: ('0.38039988502866173',), 1390997969: ('0.38039988502866173',), 1390997947: ('0.38039988502866173',), 1390997940: ('0.38039988502866173',), 1390997913: ('0.38039988502866173',), 1390997888: ('0.38039988502866173',), 1390997864: ('0.38039988502866173',), 1390997863: ('0.38039988502866173',), 1390997762: ('0.38039988502866173',), 1390997721: ('0.38039988502866173',), 1390997681: ('0.38039988502866173',), 1390997645: ('0.38039988502866173',), 1390997640: ('0.38039988502866173',)} [1390998246, 1390998241, 1390998238, 1390998234, 1390998219, 1390998215, 1390998210, 1390998206, 1390998202, 1390998095, 1390997976, 1390997973, 1390997969, 1390997947, 1390997940, 1390997913, 1390997888, 1390997864, 1390997863, 1390997762, 1390997721, 1390997681, 1390997645, 1390997640] Looping around the photos to save general results len do output : 24 /1390998246.Didn't retrieve data . /1390998241.Didn't retrieve data . /1390998238.Didn't retrieve data . /1390998234.Didn't retrieve data . /1390998219.Didn't retrieve data . /1390998215.Didn't retrieve data . /1390998210.Didn't retrieve data . /1390998206.Didn't retrieve data . /1390998202.Didn't retrieve data . /1390998095.Didn't retrieve data . /1390997976.Didn't retrieve data . /1390997973.Didn't retrieve data . /1390997969.Didn't retrieve data . /1390997947.Didn't retrieve data . /1390997940.Didn't retrieve data . /1390997913.Didn't retrieve data . /1390997888.Didn't retrieve data . /1390997864.Didn't retrieve data . /1390997863.Didn't retrieve data . /1390997762.Didn't retrieve data . /1390997721.Didn't retrieve data . /1390997681.Didn't retrieve data . /1390997645.Didn't retrieve data . /1390997640.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 ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998246', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998241', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998238', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998234', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998219', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998215', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998210', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998206', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998202', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998095', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997976', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997973', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997969', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997947', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997940', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997913', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997888', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997864', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997863', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997762', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997721', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997681', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997645', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997640', None, None, None, None, None, '4076900') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 72 time used for this insertion : 0.016213417053222656 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0359344482421875 time spend to save output : 0.01715540885925293 total time spend for step 5 : 0.05308985710144043 step6:blur_detection Wed Nov 19 11:06: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 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 : 24 time used for this insertion : 0.0107421875 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 24 time used for this insertion : 0.014064311981201172 save missing photos in datou_result : time spend for datou_step_exec : 0.02416253089904785 time spend to save output : 0.02970266342163086 total time spend for step 6 : 0.05386519432067871 step7:brightness Wed Nov 19 11:06: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 : 24 time used for this insertion : 0.010559320449829102 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 24 time used for this insertion : 0.010105371475219727 save missing photos in datou_result : time spend for datou_step_exec : 0.02648615837097168 time spend to save output : 0.025493621826171875 total time spend for step 7 : 0.051979780197143555 step8:send_mail_cod Wed Nov 19 11:06: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_P28006924_19-11-2025_11_06_45.pdf 28007366 imagette280073661763546805 28007369 imagette280073691763546805 28007371 imagette280073711763546805 28007373 imagette280073731763546805 28007374 change filename to text .imagette280073741763546805 28007375 imagette280073751763546805 28007376 imagette280073761763546805 28007377 imagette280073771763546805 28007378 change filename to text .change filename to text .change filename to text .change filename to text .imagette280073781763546805 28007379 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette280073791763546806 28007380 imagette280073801763546808 28007381 imagette280073811763546808 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28006924 and hashtag_type = 4209 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28007366,28007367,28007368,28007369,28007370,28007371,28007372,28007373,28007374,28007375,28007376,28007377,28007378,28007379,28007380,28007381?tags=kraft,papier,flou,metal,environnement,pet_clair,mal_croppe,ela,film_plastique,pehd,pet_opaque,pet_fonce,barquette_opaque,carton,etiquette,textiles_sanitaires your option no_mail is active, we will not send the real mail to your client args[1390998246] : ((1390998246, -6.042728968826018, 492609224), (1390998246, -0.3926397064241612, 496442774), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390998241] : ((1390998241, -7.045205647628569, 492609224), (1390998241, 0.3921479139651666, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390998238] : ((1390998238, -7.015329987448551, 492609224), (1390998238, 0.3771643350152539, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390998234] : ((1390998234, -6.890530441021319, 492609224), (1390998234, 0.4055768075182557, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390998219] : ((1390998219, -7.027822847152918, 492609224), (1390998219, 0.9938343403584899, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390998215] : ((1390998215, -6.755117716448683, 492609224), (1390998215, 0.38263538650102236, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390998210] : ((1390998210, -7.053630917246796, 492609224), (1390998210, 0.8474865956054701, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390998206] : ((1390998206, -7.034888141890702, 492609224), (1390998206, 0.8441954386401586, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390998202] : ((1390998202, -6.832099648578121, 492609224), (1390998202, 0.596705685148449, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390998095] : ((1390998095, -6.863685543349514, 492609224), (1390998095, 0.3528510322469446, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997976] : ((1390997976, -7.592111683163669, 492609224), (1390997976, 1.1143437425947174, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997973] : ((1390997973, -6.849903398771699, 492609224), (1390997973, 0.3310139744446994, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997969] : ((1390997969, -6.798177920925596, 492609224), (1390997969, 0.5443633352814308, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997947] : ((1390997947, -6.231178880829985, 492609224), (1390997947, 0.2828163125082466, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997940] : ((1390997940, -6.239012316800639, 492609224), (1390997940, 0.16970340110101262, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997913] : ((1390997913, -6.184775825657498, 492609224), (1390997913, 0.1552546586302539, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997888] : ((1390997888, -7.041270348734635, 492609224), (1390997888, 0.8487574177133984, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997864] : ((1390997864, -6.877030253251196, 492609224), (1390997864, 0.576147501115636, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997863] : ((1390997863, -6.843888696040818, 492609224), (1390997863, 0.45560608803340796, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997762] : ((1390997762, -7.055566713277333, 492609224), (1390997762, 0.5217932994606843, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997721] : ((1390997721, -6.741790642872344, 492609224), (1390997721, 0.2586441246389689, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997681] : ((1390997681, -6.2920829388992106, 492609224), (1390997681, 0.0876424819703381, 2107752395), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997645] : ((1390997645, -6.054498901703781, 492609224), (1390997645, -0.2503541734432596, 496442774), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com args[1390997640] : ((1390997640, -3.987790093697244, 492609224), (1390997640, -1.5162638236590824, 501862349), '0.38039988502866173') We are sending mail with results at kexin@fotonower.com refus_total : 0.38039988502866173 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28006924 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_P28006924_19-11-2025_11_06_45.pdf results_COD_P28006924_19-11-2025_11_06_45.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28006924_19-11-2025_11_06_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 ('4249','28006924','results_COD_P28006924_19-11-2025_11_06_45.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28006924_19-11-2025_11_06_45.pdf','pdf','','0.74','0.38039988502866173') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1390998246, 1390998241, 1390998238, 1390998234, 1390998219, 1390998215, 1390998210, 1390998206, 1390998202, 1390998095, 1390997976, 1390997973, 1390997969, 1390997947, 1390997940, 1390997913, 1390997888, 1390997864, 1390997863, 1390997762, 1390997721, 1390997681, 1390997645, 1390997640] 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 ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998246', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998241', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998238', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998234', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998219', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998215', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998210', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998206', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998202', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998095', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997976', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997973', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997969', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997947', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997940', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997913', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997888', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997864', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997863', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997762', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997721', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997681', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997645', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997640', None, None, None, None, None, '4076900') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.018802165985107422 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.850667238235474 time spend to save output : 0.0190732479095459 total time spend for step 8 : 6.8697404861450195 step9:split_time_score Wed Nov 19 11:06:52 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'}] (('07', 24),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31102025 28006924 Nombre de photos uploadées : 24 / 23040 (0%) 31102025 28006924 Nombre de photos taguées (types de déchets): 0 / 24 (0%) 31102025 28006924 Nombre de photos taguées (volume) : 0 / 24 (0%) elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ???????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011303424835205078 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24187707901000977 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_P28001975_31-10-2025_07_32_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28001975 order by id desc limit 1 Qualite : 0.15213090598842502 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28001990_10-11-2025_09_44_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28001990 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 11481 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11482 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11479 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11479 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11486 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11480 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11483 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11484 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11485 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11487 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 11481 have datatype=11 whereas input 0 of step 11479 have datatype=2 WARNING : type of output 1 of step 11482 doesn't seem to be define in the database( WARNING : type of input 3 of step 11480 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 11482 doesn't seem to be define in the database( WARNING : type of input 1 of step 11479 doesn't seem to be define in the database( WARNING : output 0 of step 11486 have datatype=10 whereas input 3 of step 11485 have datatype=6 WARNING : type of input 1 of step 11486 doesn't seem to be define in the database( WARNING : output 1 of step 11479 have datatype=7 whereas input 1 of step 11486 have datatype=None WARNING : type of output 1 of step 11486 doesn't seem to be define in the database( WARNING : type of input 4 of step 11480 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11481 doesn't seem to be define in the database( WARNING : type of input 1 of step 11482 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`=28001990 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28001993_31-10-2025_07_22_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28001993 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28001996_31-10-2025_07_17_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28001996 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28002001_31-10-2025_07_48_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28002001 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28002005_31-10-2025_18_06_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28002005 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28002005_31-10-2025_18_06_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28002005 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28002007_31-10-2025_07_05_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28002007 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28002011_10-11-2025_12_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28002011 order by id desc limit 1 Qualite : 0.04803551191165124 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28051287_01-11-2025_02_16_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28051287 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`=28051287 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024234_31-10-2025_18_23_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024234 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024235_31-10-2025_13_50_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024235 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28020396_31-10-2025_12_32_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28020396 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28014421_31-10-2025_12_53_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28014421 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28006918_31-10-2025_08_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28006918 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28006921_31-10-2025_20_14_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28006921 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28006921_31-10-2025_20_14_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28006921 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28006924_19-11-2025_11_06_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28006924 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28006926_31-10-2025_08_57_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28006926 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28006928_31-10-2025_08_52_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28006928 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28008635_01-11-2025_13_47_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28008635 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28008637_31-10-2025_20_46_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28008637 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28008641_31-10-2025_20_49_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28008641 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28008644_31-10-2025_20_46_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28008644 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28008644_31-10-2025_20_46_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28008644 order by id desc limit 1 Qualite : 0.15272659384094836 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28008659_10-11-2025_09_48_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28008659 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 11481 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11482 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11479 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11479 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11486 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11480 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11483 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11484 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11485 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11487 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 11481 have datatype=11 whereas input 0 of step 11479 have datatype=2 WARNING : type of output 1 of step 11482 doesn't seem to be define in the database( WARNING : type of input 3 of step 11480 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 11482 doesn't seem to be define in the database( WARNING : type of input 1 of step 11479 doesn't seem to be define in the database( WARNING : output 0 of step 11486 have datatype=10 whereas input 3 of step 11485 have datatype=6 WARNING : type of input 1 of step 11486 doesn't seem to be define in the database( WARNING : output 1 of step 11479 have datatype=7 whereas input 1 of step 11486 have datatype=None WARNING : type of output 1 of step 11486 doesn't seem to be define in the database( WARNING : type of input 4 of step 11480 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11481 doesn't seem to be define in the database( WARNING : type of input 1 of step 11482 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`=28008659 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28008686_07-11-2025_16_59_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28008686 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012537_31-10-2025_10_21_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012537 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012539_01-11-2025_11_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012539 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012539_01-11-2025_11_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012539 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012553_31-10-2025_10_52_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012553 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012555_31-10-2025_10_10_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012555 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012557_31-10-2025_10_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012557 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012559_31-10-2025_10_25_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012559 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28012577_31-10-2025_10_16_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28012577 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28014449_01-11-2025_11_56_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28014449 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28014449_01-11-2025_11_56_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28014449 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28014463_31-10-2025_17_01_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28014463 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28014466_31-10-2025_10_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28014466 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28014469_31-10-2025_10_44_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28014469 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28018616_31-10-2025_13_11_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28018616 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28018619_31-10-2025_12_31_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28018619 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28018636_31-10-2025_11_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28018636 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28018639_01-11-2025_15_14_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28018639 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28018639_01-11-2025_15_14_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28018639 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28018642_31-10-2025_11_46_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28018642 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28018656_31-10-2025_11_57_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28018656 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28020423_31-10-2025_12_17_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28020423 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28020455_31-10-2025_13_33_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28020455 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28020458_31-10-2025_12_21_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28020458 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28020479_31-10-2025_12_09_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28020479 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28020482_01-11-2025_20_48_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28020482 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28020482_01-11-2025_20_48_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28020482 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28020487_31-10-2025_12_10_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28020487 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28020507_31-10-2025_12_28_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28020507 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024236_31-10-2025_14_05_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024236 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024237_31-10-2025_13_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024237 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024238_31-10-2025_13_45_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024238 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024252_31-10-2025_13_50_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024252 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024257_31-10-2025_13_42_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024257 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024258_01-11-2025_20_00_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024258 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024258_01-11-2025_20_00_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024258 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024259_31-10-2025_13_50_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024259 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024260_31-10-2025_17_20_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024260 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024261_31-10-2025_13_59_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024261 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024262_31-10-2025_14_14_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024262 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024263_31-10-2025_13_37_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024263 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024264_01-11-2025_19_40_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024264 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024264_01-11-2025_19_40_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024264 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024265_01-11-2025_06_28_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024265 order by id desc limit 1 Qualite : 0.05446751724054783 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28024266_31-10-2025_14_53_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28024266 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`=28024266 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28051300_01-11-2025_02_22_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28051300 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28026382_31-10-2025_14_42_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28026382 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28026384_31-10-2025_15_57_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28026384 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28026386_31-10-2025_15_10_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28026386 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28051336_01-11-2025_05_57_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28051336 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28051355_01-11-2025_02_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28051355 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28051355_01-11-2025_02_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28051355 order by id desc limit 1 Qualite : 0.06818460648148147 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041173_31-10-2025_20_19_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041173 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`=28041173 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28034589_31-10-2025_21_19_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28034589 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28032978_31-10-2025_17_10_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28032978 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28032980_31-10-2025_18_14_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28032980 order by id desc limit 1 Qualite : 0.11523376606184005 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28029995_19-11-2025_07_22_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28029995 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 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 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 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 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 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 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`=28029995 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28029998_02-11-2025_11_57_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28029998 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28029998_02-11-2025_11_57_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28029998 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28030000_31-10-2025_16_31_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28030000 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28030003_31-10-2025_16_39_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28030003 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28030023_31-10-2025_20_06_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28030023 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28030044_01-11-2025_06_23_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28030044 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28030044_01-11-2025_06_23_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28030044 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28030047_31-10-2025_16_16_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28030047 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28030061_31-10-2025_16_10_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28030061 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28032982_31-10-2025_17_28_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28032982 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28032990_31-10-2025_17_13_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28032990 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28033002_31-10-2025_18_03_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28033002 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28033004_31-10-2025_17_09_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28033004 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28033004_31-10-2025_17_09_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28033004 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28034592_10-11-2025_12_51_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28034592 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28034598_31-10-2025_21_58_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28034598 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28034604_31-10-2025_17_57_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28034604 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28034609_31-10-2025_17_37_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28034609 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28034611_31-10-2025_17_41_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28034611 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041187_01-11-2025_01_08_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041187 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041189_01-11-2025_02_37_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041189 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041191_31-10-2025_21_55_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041191 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041192_31-10-2025_20_21_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041192 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041206_31-10-2025_20_24_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041206 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041220_31-10-2025_20_17_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041220 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041221_02-11-2025_11_01_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041221 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041221_02-11-2025_11_01_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041221 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041239_31-10-2025_23_21_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041239 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041241_31-10-2025_20_47_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041241 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041243_31-10-2025_20_27_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041243 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041244_31-10-2025_20_20_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041244 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041246_31-10-2025_23_51_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041246 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041248_31-10-2025_21_50_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041248 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041250_01-11-2025_00_19_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041250 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041252_31-10-2025_21_51_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041252 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041270_31-10-2025_20_20_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041270 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041273_31-10-2025_20_31_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041273 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041275_31-10-2025_20_42_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041275 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28041286_31-10-2025_20_14_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28041286 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28046918_31-10-2025_22_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28046918 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28044256_31-10-2025_21_34_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28044256 order by id desc limit 1 Qualite : 0.048129240990377624 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28044270_31-10-2025_21_36_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28044270 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`=28044270 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28044272_31-10-2025_21_14_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28044272 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28044274_31-10-2025_22_44_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28044274 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28044276_31-10-2025_21_11_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28044276 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28046919_31-10-2025_23_02_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28046919 order by id desc limit 1 Qualite : 0.05766037442423788 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28046920_14-11-2025_11_23_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28046920 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 11635 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11636 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11633 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11633 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11640 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11634 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11637 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11638 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11639 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11641 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 11635 have datatype=11 whereas input 0 of step 11633 have datatype=2 WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 3 of step 11634 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 11636 doesn't seem to be define in the database( WARNING : type of input 1 of step 11633 doesn't seem to be define in the database( WARNING : output 0 of step 11640 have datatype=10 whereas input 3 of step 11639 have datatype=6 WARNING : type of input 1 of step 11640 doesn't seem to be define in the database( WARNING : output 1 of step 11633 have datatype=7 whereas input 1 of step 11640 have datatype=None WARNING : type of output 1 of step 11640 doesn't seem to be define in the database( WARNING : type of input 4 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11635 doesn't seem to be define in the database( WARNING : type of input 1 of step 11636 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`=28046920 AND mptpi.`type`=4200 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28046921_31-10-2025_22_46_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28046921 order by id desc limit 1 Qualite : 0.043251844618055556 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28046922_31-10-2025_23_05_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28046922 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`=28046922 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31102025': {'nb_upload': 24, '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 [1390998246, 1390998241, 1390998238, 1390998234, 1390998219, 1390998215, 1390998210, 1390998206, 1390998202, 1390998095, 1390997976, 1390997973, 1390997969, 1390997947, 1390997940, 1390997913, 1390997888, 1390997864, 1390997863, 1390997762, 1390997721, 1390997681, 1390997645, 1390997640] Looping around the photos to save general results len do output : 1 /28006924Didn'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 ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998246', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998241', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998238', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998234', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998219', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998215', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998210', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998206', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998202', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390998095', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997976', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997973', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997969', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997947', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997940', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997913', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997888', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997864', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997863', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997762', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997721', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997681', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997645', None, None, None, None, None, '4076900') ('4249', None, None, None, None, None, None, None, '4076900') ('4249', '28006924', '1390997640', None, None, None, None, None, '4076900') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 time used for this insertion : 0.018740415573120117 save_final save missing photos in datou_result : time spend for datou_step_exec : 73.33169627189636 time spend to save output : 0.019201278686523438 total time spend for step 9 : 73.35089755058289 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 24 set_done_treatment 6.26user 1.50system 1:39.47elapsed 7%CPU (0avgtext+0avgdata 222420maxresident)k 224inputs+73312outputs (1major+194365minor)pagefaults 0swaps