python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4241 ' -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 : 3596871 load datou : 4241 # 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 ! 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 : 4241, datou_cur_ids : ['4118586'] with mtr_portfolio_ids : ['28160921'] and first list_photo_ids : [] new path : /proc/3596871/ 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 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 ! 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 31 ; length of list_pids : 31 ; length of list_args : 31 time to download the photos : 9.448763608932495 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 26 06:50:37 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 119 chid ids of type : 3726 batch 1 Loaded 103 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 16 chid ids of type : 3726 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 [1392421757, 1392421249, 1392421246, 1392421215, 1392420972, 1392420876, 1392420526, 1392420410, 1392420368, 1392420300, 1392420297, 1392419820, 1392419793, 1392419782, 1392419465, 1392419426, 1392419386, 1392418737, 1392418670, 1392418507, 1392418318, 1392418308, 1392418302, 1392418296, 1392418289, 1392418264, 1392418262, 1392418261, 1392418259, 1392418256, 1392418254] Looping around the photos to save general results len do output : 30 /1392421757Didn't retrieve data . /1392421249Didn't retrieve data . /1392421246Didn't retrieve data . /1392421215Didn't retrieve data . /1392420972Didn't retrieve data . /1392420876Didn't retrieve data . /1392420526Didn't retrieve data . /1392420410Didn't retrieve data . /1392420368Didn't retrieve data . /1392420300Didn't retrieve data . /1392420297Didn't retrieve data . /1392419820Didn't retrieve data . /1392419793Didn't retrieve data . /1392419782Didn't retrieve data . /1392419465Didn't retrieve data . /1392419426Didn't retrieve data . /1392419386Didn't retrieve data . /1392418737Didn't retrieve data . /1392418670Didn't retrieve data . /1392418507Didn't retrieve data . /1392418318Didn't retrieve data . /1392418308Didn't retrieve data . /1392418296Didn't retrieve data . /1392418289Didn't retrieve data . /1392418264Didn't retrieve data . /1392418262Didn't retrieve data . /1392418261Didn't retrieve data . /1392418259Didn't retrieve data . /1392418256Didn't retrieve data . /1392418254Didn'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 ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421757', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421249', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421246', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421215', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420972', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420876', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420526', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420410', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420368', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420300', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420297', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419820', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419793', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419782', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419465', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419426', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419386', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418737', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418670', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418507', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418318', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418308', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418302', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418296', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418289', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418264', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418262', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418261', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418259', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418256', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418254', None, None, None, None, None, '4118586') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 61 time used for this insertion : 0.025641202926635742 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.21290206909179688 time spend to save output : 0.026750564575195312 total time spend for step 1 : 0.2396526336669922 step2:consolidate_hashtags_from_manual_portfolio Wed Nov 26 06:50:37 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 : 28160921 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`=28160921 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','Teint_Dans_La_Masse','autre_refus','cartonnette','environnement','kraft','metal','papier','plastique','mal_croppe','flou','papier','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`=28160921 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','Teint_Dans_La_Masse','autre_refus','cartonnette','environnement','kraft','metal','papier','plastique','mal_croppe','flou','papier','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`=28160921 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','Teint_Dans_La_Masse','autre_refus','cartonnette','environnement','kraft','metal','papier','plastique','mal_croppe','flou','papier','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=28161086 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=28161087 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 26 chid ids of type : 3726 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=28161088 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=28161090 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=28161091 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 20 chid ids of type : 3726 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=28161092 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 13 chid ids of type : 3726 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=28161093 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 6 chid ids of type : 3726 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=28161094 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 27 chid ids of type : 3726 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=28161095 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=28161096 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 3 chid ids of type : 3726 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=28161097 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 25 chid ids of type : 3726 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=28161098 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=28910616 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 [1392421757, 1392421249, 1392421246, 1392421215, 1392420972, 1392420876, 1392420526, 1392420410, 1392420368, 1392420300, 1392420297, 1392419820, 1392419793, 1392419782, 1392419465, 1392419426, 1392419386, 1392418737, 1392418670, 1392418507, 1392418318, 1392418308, 1392418302, 1392418296, 1392418289, 1392418264, 1392418262, 1392418261, 1392418259, 1392418256, 1392418254] 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 : 31 time used for this insertion : 0.021313190460205078 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3557744026184082 time spend to save output : 0.021486759185791016 total time spend for step 2 : 1.3772611618041992 step3:rle_unique_nms_with_priority Wed Nov 26 06:50: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 complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 89 chid ids of type : 3726 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04510498046875 seulement à utiliser dans la step consolidation batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02976679801940918 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03162789344787598 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0313563346862793 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03090357780456543 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.035948991775512695 seulement à utiliser dans la step consolidation batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030844688415527344 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04565167427062988 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04485511779785156 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032723426818847656 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03039860725402832 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.033602237701416016 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04603099822998047 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03720259666442871 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031679391860961914 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030325651168823242 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03168606758117676 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03136181831359863 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03161430358886719 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.06577754020690918 seulement à utiliser dans la step consolidation batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04036903381347656 seulement à utiliser dans la step consolidation batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0359041690826416 No data in photo_id : 1392418302 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03244638442993164 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03182625770568848 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030170679092407227 seulement à utiliser dans la step consolidation batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031668901443481445 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03220963478088379 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.06088566780090332 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04646492004394531 seulement à utiliser dans la step consolidation batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031804561614990234 Missing data for photo_id : 1392418302 in {1392421757: 0, 1392421249: 0, 1392421246: 0, 1392421215: 0, 1392420972: 0, 1392420876: 0, 1392420526: 0, 1392420410: 0, 1392420368: 0, 1392420300: 0, 1392420297: 0, 1392419820: 0, 1392419793: 0, 1392419782: 0, 1392419465: 0, 1392419426: 0, 1392419386: 0, 1392418737: 0, 1392418670: 0, 1392418507: 0, 1392418318: 0, 1392418308: 0, 1392418296: 0, 1392418289: 0, 1392418264: 0, 1392418262: 0, 1392418261: 0, 1392418259: 0, 1392418256: 0, 1392418254: 0} Missing data for photo_id : 1392418302 in {1392421757: 0, 1392421249: 0, 1392421246: 0, 1392421215: 0, 1392420972: 0, 1392420876: 0, 1392420526: 0, 1392420410: 0, 1392420368: 0, 1392420300: 0, 1392420297: 0, 1392419820: 0, 1392419793: 0, 1392419782: 0, 1392419465: 0, 1392419426: 0, 1392419386: 0, 1392418737: 0, 1392418670: 0, 1392418507: 0, 1392418318: 0, 1392418308: 0, 1392418296: 0, 1392418289: 0, 1392418264: 0, 1392418262: 0, 1392418261: 0, 1392418259: 0, 1392418256: 0, 1392418254: 0} map_output_result : {1392421757: (0.0, 'Should be the crop_list due to order', 0), 1392421249: (0.0, 'Should be the crop_list due to order', 0), 1392421246: (0.0, 'Should be the crop_list due to order', 0), 1392421215: (0.0, 'Should be the crop_list due to order', 0), 1392420972: (0.0, 'Should be the crop_list due to order', 0), 1392420876: (0.0, 'Should be the crop_list due to order', 0), 1392420526: (0.0, 'Should be the crop_list due to order', 0), 1392420410: (0.0, 'Should be the crop_list due to order', 0), 1392420368: (0.0, 'Should be the crop_list due to order', 0), 1392420300: (0.0, 'Should be the crop_list due to order', 0), 1392420297: (0.0, 'Should be the crop_list due to order', 0), 1392419820: (0.0, 'Should be the crop_list due to order', 0), 1392419793: (0.0, 'Should be the crop_list due to order', 0), 1392419782: (0.0, 'Should be the crop_list due to order', 0), 1392419465: (0.0, 'Should be the crop_list due to order', 0), 1392419426: (0.0, 'Should be the crop_list due to order', 0), 1392419386: (0.0, 'Should be the crop_list due to order', 0), 1392418737: (0.0, 'Should be the crop_list due to order', 0), 1392418670: (0.0, 'Should be the crop_list due to order', 0), 1392418507: (0.0, 'Should be the crop_list due to order', 0), 1392418318: (0.0, 'Should be the crop_list due to order', 0), 1392418308: (0.0, 'Should be the crop_list due to order', 0), 1392418296: (0.0, 'Should be the crop_list due to order', 0), 1392418289: (0.0, 'Should be the crop_list due to order', 0), 1392418264: (0.0, 'Should be the crop_list due to order', 0), 1392418262: (0.0, 'Should be the crop_list due to order', 0), 1392418261: (0.0, 'Should be the crop_list due to order', 0), 1392418259: (0.0, 'Should be the crop_list due to order', 0), 1392418256: (0.0, 'Should be the crop_list due to order', 0), 1392418254: (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 [1392421757, 1392421249, 1392421246, 1392421215, 1392420972, 1392420876, 1392420526, 1392420410, 1392420368, 1392420300, 1392420297, 1392419820, 1392419793, 1392419782, 1392419465, 1392419426, 1392419386, 1392418737, 1392418670, 1392418507, 1392418318, 1392418308, 1392418302, 1392418296, 1392418289, 1392418264, 1392418262, 1392418261, 1392418259, 1392418256, 1392418254] Looping around the photos to save general results len do output : 30 /1392421757.Didn't retrieve data . /1392421249.Didn't retrieve data . /1392421246.Didn't retrieve data . /1392421215.Didn't retrieve data . /1392420972.Didn't retrieve data . /1392420876.Didn't retrieve data . /1392420526.Didn't retrieve data . /1392420410.Didn't retrieve data . /1392420368.Didn't retrieve data . /1392420300.Didn't retrieve data . /1392420297.Didn't retrieve data . /1392419820.Didn't retrieve data . /1392419793.Didn't retrieve data . /1392419782.Didn't retrieve data . /1392419465.Didn't retrieve data . /1392419426.Didn't retrieve data . /1392419386.Didn't retrieve data . /1392418737.Didn't retrieve data . /1392418670.Didn't retrieve data . /1392418507.Didn't retrieve data . /1392418318.Didn't retrieve data . /1392418308.Didn't retrieve data . /1392418296.Didn't retrieve data . /1392418289.Didn't retrieve data . /1392418264.Didn't retrieve data . /1392418262.Didn't retrieve data . /1392418261.Didn't retrieve data . /1392418259.Didn't retrieve data . /1392418256.Didn't retrieve data . /1392418254.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 ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421757', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421249', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421246', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421215', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420972', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420876', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420526', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420410', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420368', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420300', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420297', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419820', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419793', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419782', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419465', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419426', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419386', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418737', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418670', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418507', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418318', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418308', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418302', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418296', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418289', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418264', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418262', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418261', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418259', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418256', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418254', None, None, None, None, None, '4118586') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 91 time used for this insertion : 0.020262479782104492 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.557215929031372 time spend to save output : 0.021207809448242188 total time spend for step 3 : 5.578423738479614 step4:ventilate_hashtags_in_portfolio Wed Nov 26 06:50: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 : 28160921 get user id for portfolio 28160921 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`=28160921 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','Teint_Dans_La_Masse','autre_refus','cartonnette','environnement','kraft','metal','papier','plastique','mal_croppe','flou','papier')) 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`=28160921 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','Teint_Dans_La_Masse','autre_refus','cartonnette','environnement','kraft','metal','papier','plastique','mal_croppe','flou','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28161086,28161087,28161088,28161090,28161091,28161092,28161093,28161094,28161095,28161096,28161097,28161098?tags=environnement,Teint_Dans_La_Masse,metal,kraft,Carton_brun,mal_croppe,plastique,papier,flou,Carton_gris,cartonnette,autre_refus Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1392421757, 1392421249, 1392421246, 1392421215, 1392420972, 1392420876, 1392420526, 1392420410, 1392420368, 1392420300, 1392420297, 1392419820, 1392419793, 1392419782, 1392419465, 1392419426, 1392419386, 1392418737, 1392418670, 1392418507, 1392418318, 1392418308, 1392418302, 1392418296, 1392418289, 1392418264, 1392418262, 1392418261, 1392418259, 1392418256, 1392418254] Looping around the photos to save general results len do output : 1 /28160921. 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 ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421757', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421249', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421246', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421215', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420972', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420876', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420526', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420410', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420368', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420300', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420297', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419820', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419793', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419782', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419465', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419426', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419386', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418737', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418670', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418507', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418318', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418308', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418302', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418296', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418289', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418264', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418262', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418261', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418259', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418256', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418254', None, None, None, None, None, '4118586') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 time used for this insertion : 0.02244710922241211 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.31174588203430176 time spend to save output : 0.02286219596862793 total time spend for step 4 : 0.3346080780029297 step5:final Wed Nov 26 06:50:44 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1392421757: ('0.014475327301294824',), 1392421249: ('0.014475327301294824',), 1392421246: ('0.014475327301294824',), 1392421215: ('0.014475327301294824',), 1392420972: ('0.014475327301294824',), 1392420876: ('0.014475327301294824',), 1392420526: ('0.014475327301294824',), 1392420410: ('0.014475327301294824',), 1392420368: ('0.014475327301294824',), 1392420300: ('0.014475327301294824',), 1392420297: ('0.014475327301294824',), 1392419820: ('0.014475327301294824',), 1392419793: ('0.014475327301294824',), 1392419782: ('0.014475327301294824',), 1392419465: ('0.014475327301294824',), 1392419426: ('0.014475327301294824',), 1392419386: ('0.014475327301294824',), 1392418737: ('0.014475327301294824',), 1392418670: ('0.014475327301294824',), 1392418507: ('0.014475327301294824',), 1392418318: ('0.014475327301294824',), 1392418308: ('0.014475327301294824',), 1392418296: ('0.014475327301294824',), 1392418289: ('0.014475327301294824',), 1392418264: ('0.014475327301294824',), 1392418262: ('0.014475327301294824',), 1392418261: ('0.014475327301294824',), 1392418259: ('0.014475327301294824',), 1392418256: ('0.014475327301294824',), 1392418254: ('0.014475327301294824',)} new output for save of step final : {1392421757: ('0.014475327301294824',), 1392421249: ('0.014475327301294824',), 1392421246: ('0.014475327301294824',), 1392421215: ('0.014475327301294824',), 1392420972: ('0.014475327301294824',), 1392420876: ('0.014475327301294824',), 1392420526: ('0.014475327301294824',), 1392420410: ('0.014475327301294824',), 1392420368: ('0.014475327301294824',), 1392420300: ('0.014475327301294824',), 1392420297: ('0.014475327301294824',), 1392419820: ('0.014475327301294824',), 1392419793: ('0.014475327301294824',), 1392419782: ('0.014475327301294824',), 1392419465: ('0.014475327301294824',), 1392419426: ('0.014475327301294824',), 1392419386: ('0.014475327301294824',), 1392418737: ('0.014475327301294824',), 1392418670: ('0.014475327301294824',), 1392418507: ('0.014475327301294824',), 1392418318: ('0.014475327301294824',), 1392418308: ('0.014475327301294824',), 1392418296: ('0.014475327301294824',), 1392418289: ('0.014475327301294824',), 1392418264: ('0.014475327301294824',), 1392418262: ('0.014475327301294824',), 1392418261: ('0.014475327301294824',), 1392418259: ('0.014475327301294824',), 1392418256: ('0.014475327301294824',), 1392418254: ('0.014475327301294824',)} [1392421757, 1392421249, 1392421246, 1392421215, 1392420972, 1392420876, 1392420526, 1392420410, 1392420368, 1392420300, 1392420297, 1392419820, 1392419793, 1392419782, 1392419465, 1392419426, 1392419386, 1392418737, 1392418670, 1392418507, 1392418318, 1392418308, 1392418302, 1392418296, 1392418289, 1392418264, 1392418262, 1392418261, 1392418259, 1392418256, 1392418254] Looping around the photos to save general results len do output : 30 /1392421757.Didn't retrieve data . /1392421249.Didn't retrieve data . /1392421246.Didn't retrieve data . /1392421215.Didn't retrieve data . /1392420972.Didn't retrieve data . /1392420876.Didn't retrieve data . /1392420526.Didn't retrieve data . /1392420410.Didn't retrieve data . /1392420368.Didn't retrieve data . /1392420300.Didn't retrieve data . /1392420297.Didn't retrieve data . /1392419820.Didn't retrieve data . /1392419793.Didn't retrieve data . /1392419782.Didn't retrieve data . /1392419465.Didn't retrieve data . /1392419426.Didn't retrieve data . /1392419386.Didn't retrieve data . /1392418737.Didn't retrieve data . /1392418670.Didn't retrieve data . /1392418507.Didn't retrieve data . /1392418318.Didn't retrieve data . /1392418308.Didn't retrieve data . /1392418296.Didn't retrieve data . /1392418289.Didn't retrieve data . /1392418264.Didn't retrieve data . /1392418262.Didn't retrieve data . /1392418261.Didn't retrieve data . /1392418259.Didn't retrieve data . /1392418256.Didn't retrieve data . /1392418254.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 ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421757', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421249', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421246', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421215', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420972', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420876', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420526', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420410', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420368', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420300', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420297', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419820', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419793', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419782', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419465', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419426', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419386', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418737', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418670', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418507', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418318', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418308', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418302', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418296', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418289', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418264', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418262', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418261', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418259', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418256', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418254', None, None, None, None, None, '4118586') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 91 time used for this insertion : 0.02095341682434082 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.04502582550048828 time spend to save output : 0.022266864776611328 total time spend for step 5 : 0.06729269027709961 step6:blur_detection Wed Nov 26 06:50:44 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: variance laplacian (2160, 3840) 589.3080800340207 (2160, 3840) 580.4767036082361 (2160, 3840) 1573.4354948400194 (2160, 3840) 2526.6737571289746 (2160, 3840) 2244.7174505193548 (2160, 3840) 2292.1741696445742 (2160, 3840) 1541.8866753525738 (2160, 3840) 2721.9078091267324 (2160, 3840) 2685.7993263486787 (2160, 3840) 1915.9822511872642 (2160, 3840) 2417.841966402749 (2160, 3840) 2611.5660111462225 (2160, 3840) 2008.166038255306 (2160, 3840) 2231.5123661410357 (2160, 3840) 2523.2902750309595 (2160, 3840) 1903.3755815789864 (2160, 3840) 2101.5365830711853 (2160, 3840) 2674.554211815557 (2160, 3840) 2061.0863947772227 (2160, 3840) 3013.02774623229 (2160, 3840) 2487.7647477289033 (2160, 3840) 1953.10389534566 (2160, 3840) 2308.557215554817 (2160, 3840) 2225.935768219372 (2160, 3840) 2205.0638088119667 (2160, 3840) 1795.2219583461322 (2160, 3840) 1916.3513926427404 (2160, 3840) 1944.6518587734856 (2160, 3840) 1818.4206806381758 (2160, 3840) 1131.3756559746373 (2160, 3840) 566.9979908093316 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 : 31 time used for this insertion : 0.016458749771118164 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 31 time used for this insertion : 0.019082069396972656 save missing photos in datou_result : time spend for datou_step_exec : 8.360166311264038 time spend to save output : 0.0415647029876709 total time spend for step 6 : 8.401731014251709 step7:brightness Wed Nov 26 06:50:53 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 treat image : temp/1764136227_3596871_1392421757_127f1d7ef74359d1236df7aad0c92b0a.jpg treat image : temp/1764136227_3596871_1392421249_f0b3c9709a1237bd3a5d54b1e578d3b3.jpg treat image : temp/1764136227_3596871_1392421246_c1c534e4fbdf8199a6363894230c1147.jpg treat image : temp/1764136227_3596871_1392421215_f603528dc54ad131f661e988080b9589.jpg treat image : temp/1764136227_3596871_1392420972_3f6693e6c95caf243c6a035908e34745.jpg treat image : temp/1764136227_3596871_1392420876_5d4e764796e86143d5cc35435ff68f63.jpg treat image : temp/1764136227_3596871_1392420526_eb6973c45d2f83cb81d7866d3f04f197.jpg treat image : temp/1764136227_3596871_1392420410_b5feec6ccca4e34be5c87d505f8f717b.jpg treat image : temp/1764136227_3596871_1392420368_6537876e4d000ef7c4b2eeac2f52a3a1.jpg treat image : temp/1764136227_3596871_1392420300_10de7969168d0a7e1fb5e4bd927f527f.jpg treat image : temp/1764136227_3596871_1392420297_138da1ad5008ace5deca8801faee18a5.jpg treat image : temp/1764136227_3596871_1392419820_6c59c9e289b7645f8a31f8d03c60fcdc.jpg treat image : temp/1764136227_3596871_1392419793_6374a29d907d7e9bcd508a04678c7fcd.jpg treat image : temp/1764136227_3596871_1392419782_67cf271e424c351984b4ce134a99d1d8.jpg treat image : temp/1764136227_3596871_1392419465_f3ab41cc24971c00495c353f491e4be7.jpg treat image : temp/1764136227_3596871_1392419426_b331ffc4c17e89f7dfd21232c986a8eb.jpg treat image : temp/1764136227_3596871_1392419386_577fc3608733df61794ecd6b065d12dd.jpg treat image : temp/1764136227_3596871_1392418737_251656218a00ab972423e8e21c78dad6.jpg treat image : temp/1764136227_3596871_1392418670_58316ede5fd6424e04c413e2294fb173.jpg treat image : temp/1764136227_3596871_1392418507_4531ba606396ad99b8763ea4ed31222a.jpg treat image : temp/1764136227_3596871_1392418318_6644f46146bf934c45568a9c854f6c0f.jpg treat image : temp/1764136227_3596871_1392418308_6614a1be7d1436a09fea4cf8d8c2616c.jpg treat image : temp/1764136227_3596871_1392418302_3c0429f650ca846b948b7de43ad41ba2.jpg treat image : temp/1764136227_3596871_1392418296_069fa8b7a8cecbb4ee337a011c0777b1.jpg treat image : temp/1764136227_3596871_1392418289_420ab19ab52976a6eb6b7623d3f6642b.jpg treat image : temp/1764136227_3596871_1392418264_f7fb2f9ed9d557c37a8d39c55f60c25d.jpg treat image : temp/1764136227_3596871_1392418262_b187cab40ee4a18d48bce8c7dc28d222.jpg treat image : temp/1764136227_3596871_1392418261_ce48604bb823730031c312f7a2c5bf1c.jpg treat image : temp/1764136227_3596871_1392418259_0a99bcbafceb27171415766e2fda8f2f.jpg treat image : temp/1764136227_3596871_1392418256_cf699e557f809559c42978bf79b99c63.jpg treat image : temp/1764136227_3596871_1392418254_772215e264ad8ddc76dfb3bfbaa6bfee.jpg 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 : 31 time used for this insertion : 0.016449451446533203 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 31 time used for this insertion : 0.015080690383911133 save missing photos in datou_result : time spend for datou_step_exec : 35.455665588378906 time spend to save output : 0.03793692588806152 total time spend for step 7 : 35.49360251426697 step8:send_mail_cod Wed Nov 26 06:51:28 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 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 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_P28160921_26-11-2025_06_51_28.pdf 28161088 imagette281610881764136288 28161090 imagette281610901764136288 28161093 change filename to text .change filename to text .imagette281610931764136288 28161097 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette281610971764136289 28161098 imagette281610981764136289 28161087 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette281610871764136289 28161091 change filename to text .change filename to text .change filename to text .change filename to text .imagette281610911764136290 28161096 change filename to text .imagette281610961764136291 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28160921 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28161086,28161087,28161088,28161090,28161091,28161092,28161093,28161094,28161095,28161096,28161097,28161098?tags=environnement,Teint_Dans_La_Masse,metal,kraft,Carton_brun,mal_croppe,plastique,papier,flou,Carton_gris,cartonnette,autre_refus your option no_mail is active, we will not send the real mail to your client args[1392421757] : ((1392421757, 589.3080800340207, 492688767), (1392421757, -0.5454113046983866, 501862349), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392421249] : ((1392421249, 580.4767036082361, 492688767), (1392421249, -0.33279506755180294, 496442774), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392421246] : ((1392421246, 1573.4354948400194, 2107751945), (1392421246, 0.6417952200360829, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392421215] : ((1392421215, 2526.6737571289746, 492609224), (1392421215, 1.010570170930617, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392420972] : ((1392420972, 2244.7174505193548, 492609224), (1392420972, 1.239280991029949, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392420876] : ((1392420876, 2292.1741696445742, 492609224), (1392420876, 1.2872638015265088, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392420526] : ((1392420526, 1541.8866753525738, 2107751945), (1392420526, 1.056649425416949, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392420410] : ((1392420410, 2721.9078091267324, 492609224), (1392420410, 1.4334368238137498, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392420368] : ((1392420368, 2685.7993263486787, 492609224), (1392420368, 1.4770923807119842, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392420300] : ((1392420300, 1915.9822511872642, 2107751945), (1392420300, 1.5298762076172265, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392420297] : ((1392420297, 2417.841966402749, 492609224), (1392420297, 1.7047205305190298, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392419820] : ((1392419820, 2611.5660111462225, 492609224), (1392419820, 1.718205967174937, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392419793] : ((1392419793, 2008.166038255306, 492609224), (1392419793, 1.7591464862334982, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392419782] : ((1392419782, 2231.5123661410357, 492609224), (1392419782, 1.8159610617414954, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392419465] : ((1392419465, 2523.2902750309595, 492609224), (1392419465, 1.105938417947929, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392419426] : ((1392419426, 1903.3755815789864, 2107751945), (1392419426, 1.3274958925598317, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392419386] : ((1392419386, 2101.5365830711853, 492609224), (1392419386, 1.792589797255168, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418737] : ((1392418737, 2674.554211815557, 492609224), (1392418737, 1.0245627881356794, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418670] : ((1392418670, 2061.0863947772227, 492609224), (1392418670, 1.2632029565277256, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418507] : ((1392418507, 3013.02774623229, 492609224), (1392418507, 2.141369055091492, 492649241), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418318] : ((1392418318, 2487.7647477289033, 492609224), (1392418318, 1.9212789538432318, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418308] : ((1392418308, 1953.10389534566, 2107751945), (1392418308, 1.1176966485335176, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418302] : ((1392418302, 2308.557215554817, 492609224), (1392418302, 1.833864899792759, 2107752395)) We are sending mail with results at kexin@fotonower.com args[1392418296] : ((1392418296, 2225.935768219372, 492609224), (1392418296, 1.8523659202142315, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418289] : ((1392418289, 2205.0638088119667, 492609224), (1392418289, 1.9399066231835744, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418264] : ((1392418264, 1795.2219583461322, 2107751945), (1392418264, 1.288421619529257, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418262] : ((1392418262, 1916.3513926427404, 2107751945), (1392418262, 2.060023733918421, 492649241), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418261] : ((1392418261, 1944.6518587734856, 2107751945), (1392418261, 1.2822360199460123, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418259] : ((1392418259, 1818.4206806381758, 2107751945), (1392418259, 1.4874409779268214, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418256] : ((1392418256, 1131.3756559746373, 2107751945), (1392418256, 0.6759282430327863, 2107752395), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com args[1392418254] : ((1392418254, 566.9979908093316, 492688767), (1392418254, -0.5057692469771214, 501862349), '0.014475327301294824') We are sending mail with results at kexin@fotonower.com refus_total : 0.014475327301294824 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=28160921 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_P28160921_26-11-2025_06_51_28.pdf results_COD_P28160921_26-11-2025_06_51_28.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28160921_26-11-2025_06_51_28.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4241','28160921','results_COD_P28160921_26-11-2025_06_51_28.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28160921_26-11-2025_06_51_28.pdf','pdf','','0.93','0.014475327301294824') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1392421757, 1392421249, 1392421246, 1392421215, 1392420972, 1392420876, 1392420526, 1392420410, 1392420368, 1392420300, 1392420297, 1392419820, 1392419793, 1392419782, 1392419465, 1392419426, 1392419386, 1392418737, 1392418670, 1392418507, 1392418318, 1392418308, 1392418302, 1392418296, 1392418289, 1392418264, 1392418262, 1392418261, 1392418259, 1392418256, 1392418254] 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 ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421757', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421249', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421246', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421215', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420972', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420876', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420526', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420410', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420368', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420300', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420297', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419820', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419793', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419782', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419465', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419426', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419386', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418737', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418670', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418507', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418318', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418308', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418302', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418296', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418289', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418264', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418262', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418261', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418259', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418256', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418254', None, None, None, None, None, '4118586') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 time used for this insertion : 0.021550416946411133 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.739994287490845 time spend to save output : 0.02191615104675293 total time spend for step 8 : 7.761910438537598 step9:split_time_score Wed Nov 26 06:51:36 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'}] (('13', 31),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04112025 28160921 Nombre de photos uploadées : 31 / 23040 (0%) 04112025 28160921 Nombre de photos taguées (types de déchets): 0 / 31 (0%) 04112025 28160921 Nombre de photos taguées (volume) : 0 / 31 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ??????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016131401062011719 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2602405548095703 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_P28149990_04-11-2025_10_47_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28149990 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149993_04-11-2025_10_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28149993 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150008_04-11-2025_11_28_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150008 order by id desc limit 1 Qualite : 0.20250158741640947 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150017_04-11-2025_11_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150017 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`=28150017 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150021_04-11-2025_10_39_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150021 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150041_04-11-2025_10_49_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150041 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150074_04-11-2025_10_40_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150074 order by id desc limit 1 Qualite : 0.08337288736051758 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150085_04-11-2025_10_55_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150085 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`=28150085 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150093_07-11-2025_13_01_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150093 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150093_07-11-2025_13_01_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150093 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150098_04-11-2025_12_27_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150098 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148212_04-11-2025_11_36_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148212 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148213_04-11-2025_10_06_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148213 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148213_04-11-2025_10_06_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148213 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148244_04-11-2025_10_35_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148244 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148257_04-11-2025_10_29_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148257 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148259_04-11-2025_18_01_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148259 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146686_07-11-2025_08_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146686 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146686_07-11-2025_08_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146686 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146701_04-11-2025_09_47_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146701 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146703_04-11-2025_10_05_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146703 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146705_04-11-2025_10_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146705 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146707_04-11-2025_09_40_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146707 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146709_04-11-2025_09_41_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146709 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148263_04-11-2025_10_12_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148263 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148269_04-11-2025_14_11_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148269 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148274_07-11-2025_09_10_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148274 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148274_07-11-2025_09_10_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148274 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148278_08-11-2025_19_21_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148278 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148281_04-11-2025_10_23_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148281 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150126_04-11-2025_10_56_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150126 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150129_04-11-2025_10_56_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150129 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28151926_07-11-2025_20_17_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28151926 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28151926_07-11-2025_20_17_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28151926 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28151929_04-11-2025_14_46_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28151929 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28151931_04-11-2025_11_13_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28151931 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154919_04-11-2025_13_56_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154919 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154938_04-11-2025_13_52_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154938 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154939_07-11-2025_21_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154939 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154939_07-11-2025_21_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154939 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154940_04-11-2025_15_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154940 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158424_04-11-2025_13_42_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158424 order by id desc limit 1 Qualite : 0.06749169040835708 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158426_04-11-2025_13_56_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158426 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`=28158426 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158428_04-11-2025_13_39_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158428 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158429_04-11-2025_13_55_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158429 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158431_04-11-2025_13_51_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158431 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158433_07-11-2025_19_09_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158433 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158433_07-11-2025_19_09_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158433 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158435_04-11-2025_14_01_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158435 order by id desc limit 1 Qualite : 0.09411060474537035 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158436_04-11-2025_13_44_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158436 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`=28158436 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158439_04-11-2025_13_44_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158439 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158457_04-11-2025_13_53_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158457 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158476_04-11-2025_13_40_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158476 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158477_04-11-2025_13_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158477 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158478_04-11-2025_13_40_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158478 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158478_04-11-2025_13_40_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158478 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158479_05-11-2025_03_32_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158479 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158479_05-11-2025_03_32_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158479 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158480_04-11-2025_13_59_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158480 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160919_08-11-2025_01_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160919 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160919_08-11-2025_01_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160919 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160920_04-11-2025_14_46_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160920 order by id desc limit 1 Qualite : 0.014475327301294824 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28160921_26-11-2025_06_51_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160921 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`=28160921 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160922_04-11-2025_14_51_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160922 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160923_04-11-2025_18_50_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160923 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162127_04-11-2025_15_28_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28162127 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162128_04-11-2025_23_44_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28162128 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162142_04-11-2025_15_40_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28162142 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162156_04-11-2025_15_18_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28162156 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165252_08-11-2025_00_40_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165252 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165252_08-11-2025_00_40_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165252 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165260_04-11-2025_16_21_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165260 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165266_05-11-2025_02_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165266 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165266_05-11-2025_02_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165266 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165267_04-11-2025_16_29_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165267 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185594_05-11-2025_00_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185594 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172412_04-11-2025_18_45_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172412 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172414_04-11-2025_18_49_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172414 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172416_04-11-2025_20_05_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172416 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28172417_25-11-2025_11_00_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172417 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28172417_25-11-2025_11_00_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172417 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172419_04-11-2025_18_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172419 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172422_04-11-2025_19_15_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172422 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172425_04-11-2025_19_05_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172425 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172427_04-11-2025_23_21_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172427 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172429_04-11-2025_18_47_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172429 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172432_04-11-2025_19_39_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172432 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172435_04-11-2025_21_32_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172435 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172437_04-11-2025_18_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172437 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172438_04-11-2025_19_12_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172438 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172446_04-11-2025_19_03_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172446 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172460_04-11-2025_22_25_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172460 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172480_04-11-2025_22_35_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172480 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172494_04-11-2025_23_50_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172494 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172507_04-11-2025_18_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172507 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172509_04-11-2025_18_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172509 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185596_05-11-2025_00_20_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185596 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178610_04-11-2025_21_10_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178610 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178611_04-11-2025_20_43_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178611 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178612_04-11-2025_21_11_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178612 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178613_04-11-2025_20_47_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178613 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28178614_25-11-2025_09_12_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178614 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178615_04-11-2025_21_09_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178615 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178628_04-11-2025_20_44_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178628 order by id desc limit 1 Qualite : 0.03070372781635802 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178638_05-11-2025_00_12_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178638 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`=28178638 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178642_04-11-2025_20_48_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178642 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178643_04-11-2025_20_41_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178643 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178644_04-11-2025_20_40_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178644 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178645_04-11-2025_20_49_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178645 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185597_05-11-2025_00_09_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185597 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185598_05-11-2025_00_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185598 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185599_05-11-2025_00_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185599 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185599_05-11-2025_00_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185599 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185600_05-11-2025_00_27_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185600 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04112025': {'nb_upload': 31, '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 [1392421757, 1392421249, 1392421246, 1392421215, 1392420972, 1392420876, 1392420526, 1392420410, 1392420368, 1392420300, 1392420297, 1392419820, 1392419793, 1392419782, 1392419465, 1392419426, 1392419386, 1392418737, 1392418670, 1392418507, 1392418318, 1392418308, 1392418302, 1392418296, 1392418289, 1392418264, 1392418262, 1392418261, 1392418259, 1392418256, 1392418254] Looping around the photos to save general results len do output : 1 /28160921Didn'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 ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421757', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421249', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421246', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392421215', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420972', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420876', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420526', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420410', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420368', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420300', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392420297', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419820', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419793', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419782', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419465', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419426', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392419386', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418737', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418670', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418507', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418318', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418308', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418302', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418296', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418289', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418264', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418262', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418261', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418259', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418256', None, None, None, None, None, '4118586') ('4241', None, None, None, None, None, None, None, '4118586') ('4241', '28160921', '1392418254', None, None, None, None, None, '4118586') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 time used for this insertion : 0.01921248435974121 save_final save missing photos in datou_result : time spend for datou_step_exec : 68.0223376750946 time spend to save output : 0.01957845687866211 total time spend for step 9 : 68.04191613197327 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 31 set_done_treatment 43.12user 13.90system 2:19.01elapsed 41%CPU (0avgtext+0avgdata 197648maxresident)k 528inputs+93408outputs (7major+917756minor)pagefaults 0swaps