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 : 2339406 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 : ['3805941'] with mtr_portfolio_ids : ['25312453'] and first list_photo_ids : [] new path : /proc/2339406/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 35 ; length of list_pids : 35 ; length of list_args : 35 time to download the photos : 8.01494812965393 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 Oct 1 11:12: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 237 chid ids of type : 3726 batch 1 Loaded 102 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! 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 32 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 [1373659153, 1373659151, 1373659150, 1373659133, 1373659126, 1373659113, 1373659107, 1373659102, 1373659064, 1373659061, 1373659059, 1373659053, 1373659049, 1373659046, 1373659045, 1373659044, 1373659041, 1373659030, 1373659017, 1373659015, 1373659013, 1373658961, 1373658957, 1373658954, 1373658952, 1373658950, 1373658949, 1373658935, 1373658927, 1373658907, 1373658905, 1373658896, 1373658892, 1373658890, 1373658887] Looping around the photos to save general results len do output : 35 /1373658887Didn't retrieve data . /1373658890Didn't retrieve data . /1373658892Didn't retrieve data . /1373658896Didn't retrieve data . /1373658905Didn't retrieve data . /1373658907Didn't retrieve data . /1373658927Didn't retrieve data . /1373658935Didn't retrieve data . /1373658949Didn't retrieve data . /1373658950Didn't retrieve data . /1373658952Didn't retrieve data . /1373658954Didn't retrieve data . /1373658957Didn't retrieve data . /1373658961Didn't retrieve data . /1373659013Didn't retrieve data . /1373659015Didn't retrieve data . /1373659017Didn't retrieve data . /1373659030Didn't retrieve data . /1373659041Didn't retrieve data . /1373659044Didn't retrieve data . /1373659045Didn't retrieve data . /1373659046Didn't retrieve data . /1373659049Didn't retrieve data . /1373659053Didn't retrieve data . /1373659059Didn't retrieve data . /1373659061Didn't retrieve data . /1373659064Didn't retrieve data . /1373659102Didn't retrieve data . /1373659107Didn't retrieve data . /1373659113Didn't retrieve data . /1373659126Didn't retrieve data . /1373659133Didn't retrieve data . /1373659150Didn't retrieve data . /1373659151Didn't retrieve data . /1373659153Didn'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, '3805941') ('4241', '25312453', '1373659153', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659151', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659150', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659133', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659126', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659113', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659107', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659102', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659064', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659061', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659059', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659053', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659049', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659046', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659045', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659044', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659041', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659030', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659017', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659015', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659013', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658961', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658957', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658954', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658952', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658950', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658949', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658935', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658927', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658907', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658905', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658896', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658892', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658890', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658887', None, None, None, None, None, '3805941') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 70 time used for this insertion : 0.04393887519836426 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.755875825881958 time spend to save output : 0.04499936103820801 total time spend for step 1 : 0.800875186920166 step2:consolidate_hashtags_from_manual_portfolio Wed Oct 1 11:12:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 25312453 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`=25312453 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`=25312453 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`=25312453 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=25313890 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=25313891 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 8 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=25313892 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=25313893 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 87 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 : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25313894 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=25313895 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 83 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 : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25313896 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=25313897 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 107 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 : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25313898 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 80 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 : 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=25313899 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 90 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 : 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=25313900 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 44 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=25313901 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 12 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=27398869 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 [1373659153, 1373659151, 1373659150, 1373659133, 1373659126, 1373659113, 1373659107, 1373659102, 1373659064, 1373659061, 1373659059, 1373659053, 1373659049, 1373659046, 1373659045, 1373659044, 1373659041, 1373659030, 1373659017, 1373659015, 1373659013, 1373658961, 1373658957, 1373658954, 1373658952, 1373658950, 1373658949, 1373658935, 1373658927, 1373658907, 1373658905, 1373658896, 1373658892, 1373658890, 1373658887] 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 : 35 time used for this insertion : 0.03942728042602539 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.638240337371826 time spend to save output : 0.039650678634643555 total time spend for step 2 : 5.67789101600647 step3:rle_unique_nms_with_priority Wed Oct 1 11:12:43 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 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 202 chid ids of type : 3726 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.10478615760803223 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.10438036918640137 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.1022341251373291 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.10309386253356934 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.10544848442077637 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.10250997543334961 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.10407447814941406 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.10265898704528809 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.10459446907043457 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10322809219360352 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.1053159236907959 seulement à utiliser dans la step consolidation batch 1 Loaded 14 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1061868667602539 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1058650016784668 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1053168773651123 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.111419677734375 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10538768768310547 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.10476183891296387 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.10468626022338867 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.10471701622009277 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.10429143905639648 seulement à utiliser dans la step consolidation batch 1 Loaded 12 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10574078559875488 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.10470032691955566 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.10472321510314941 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.10397648811340332 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.10228562355041504 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10765933990478516 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.10338902473449707 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.10429763793945312 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.10837697982788086 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.10533547401428223 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.10556840896606445 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.10604214668273926 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.10475635528564453 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10475516319274902 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.10439586639404297 map_output_result : {1373659153: (0.0, 'Should be the crop_list due to order', 0), 1373659151: (0.0, 'Should be the crop_list due to order', 0), 1373659150: (0.0, 'Should be the crop_list due to order', 0), 1373659133: (0.0, 'Should be the crop_list due to order', 0), 1373659126: (0.0, 'Should be the crop_list due to order', 0), 1373659113: (0.0, 'Should be the crop_list due to order', 0), 1373659107: (0.0, 'Should be the crop_list due to order', 0), 1373659102: (0.0, 'Should be the crop_list due to order', 0), 1373659064: (0.0, 'Should be the crop_list due to order', 0), 1373659061: (0.0, 'Should be the crop_list due to order', 0), 1373659059: (0.0, 'Should be the crop_list due to order', 0), 1373659053: (0.0, 'Should be the crop_list due to order', 0), 1373659049: (0.0, 'Should be the crop_list due to order', 0), 1373659046: (0.0, 'Should be the crop_list due to order', 0), 1373659045: (0.0, 'Should be the crop_list due to order', 0), 1373659044: (0.0, 'Should be the crop_list due to order', 0), 1373659041: (0.0, 'Should be the crop_list due to order', 0), 1373659030: (0.0, 'Should be the crop_list due to order', 0), 1373659017: (0.0, 'Should be the crop_list due to order', 0), 1373659015: (0.0, 'Should be the crop_list due to order', 0), 1373659013: (0.0, 'Should be the crop_list due to order', 0), 1373658961: (0.0, 'Should be the crop_list due to order', 0), 1373658957: (0.0, 'Should be the crop_list due to order', 0), 1373658954: (0.0, 'Should be the crop_list due to order', 0), 1373658952: (0.0, 'Should be the crop_list due to order', 0), 1373658950: (0.0, 'Should be the crop_list due to order', 0), 1373658949: (0.0, 'Should be the crop_list due to order', 0), 1373658935: (0.0, 'Should be the crop_list due to order', 0), 1373658927: (0.0, 'Should be the crop_list due to order', 0), 1373658907: (0.0, 'Should be the crop_list due to order', 0), 1373658905: (0.0, 'Should be the crop_list due to order', 0), 1373658896: (0.0, 'Should be the crop_list due to order', 0), 1373658892: (0.0, 'Should be the crop_list due to order', 0), 1373658890: (0.0, 'Should be the crop_list due to order', 0), 1373658887: (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 [1373659153, 1373659151, 1373659150, 1373659133, 1373659126, 1373659113, 1373659107, 1373659102, 1373659064, 1373659061, 1373659059, 1373659053, 1373659049, 1373659046, 1373659045, 1373659044, 1373659041, 1373659030, 1373659017, 1373659015, 1373659013, 1373658961, 1373658957, 1373658954, 1373658952, 1373658950, 1373658949, 1373658935, 1373658927, 1373658907, 1373658905, 1373658896, 1373658892, 1373658890, 1373658887] Looping around the photos to save general results len do output : 35 /1373659153.Didn't retrieve data . /1373659151.Didn't retrieve data . /1373659150.Didn't retrieve data . /1373659133.Didn't retrieve data . /1373659126.Didn't retrieve data . /1373659113.Didn't retrieve data . /1373659107.Didn't retrieve data . /1373659102.Didn't retrieve data . /1373659064.Didn't retrieve data . /1373659061.Didn't retrieve data . /1373659059.Didn't retrieve data . /1373659053.Didn't retrieve data . /1373659049.Didn't retrieve data . /1373659046.Didn't retrieve data . /1373659045.Didn't retrieve data . /1373659044.Didn't retrieve data . /1373659041.Didn't retrieve data . /1373659030.Didn't retrieve data . /1373659017.Didn't retrieve data . /1373659015.Didn't retrieve data . /1373659013.Didn't retrieve data . /1373658961.Didn't retrieve data . /1373658957.Didn't retrieve data . /1373658954.Didn't retrieve data . /1373658952.Didn't retrieve data . /1373658950.Didn't retrieve data . /1373658949.Didn't retrieve data . /1373658935.Didn't retrieve data . /1373658927.Didn't retrieve data . /1373658907.Didn't retrieve data . /1373658905.Didn't retrieve data . /1373658896.Didn't retrieve data . /1373658892.Didn't retrieve data . /1373658890.Didn't retrieve data . /1373658887.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, '3805941') ('4241', '25312453', '1373659153', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659151', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659150', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659133', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659126', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659113', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659107', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659102', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659064', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659061', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659059', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659053', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659049', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659046', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659045', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659044', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659041', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659030', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659017', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659015', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659013', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658961', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658957', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658954', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658952', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658950', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658949', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658935', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658927', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658907', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658905', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658896', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658892', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658890', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658887', None, None, None, None, None, '3805941') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 105 time used for this insertion : 0.03973054885864258 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.606045722961426 time spend to save output : 0.04086184501647949 total time spend for step 3 : 8.646907567977905 step4:ventilate_hashtags_in_portfolio Wed Oct 1 11:12:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : 25312453 get user id for portfolio 25312453 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`=25312453 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`=25312453 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/25313890,25313891,25313892,25313893,25313894,25313895,25313896,25313897,25313898,25313899,25313900,25313901?tags=autre_refus,Carton_gris,flou,Teint_Dans_La_Masse,kraft,Carton_brun,metal,plastique,papier,mal_croppe,cartonnette,environnement Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1373659153, 1373659151, 1373659150, 1373659133, 1373659126, 1373659113, 1373659107, 1373659102, 1373659064, 1373659061, 1373659059, 1373659053, 1373659049, 1373659046, 1373659045, 1373659044, 1373659041, 1373659030, 1373659017, 1373659015, 1373659013, 1373658961, 1373658957, 1373658954, 1373658952, 1373658950, 1373658949, 1373658935, 1373658927, 1373658907, 1373658905, 1373658896, 1373658892, 1373658890, 1373658887] Looping around the photos to save general results len do output : 1 /25312453. 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, '3805941') ('4241', '25312453', '1373659153', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659151', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659150', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659133', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659126', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659113', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659107', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659102', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659064', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659061', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659059', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659053', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659049', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659046', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659045', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659044', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659041', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659030', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659017', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659015', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659013', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658961', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658957', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658954', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658952', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658950', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658949', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658935', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658927', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658907', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658905', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658896', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658892', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658890', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658887', None, None, None, None, None, '3805941') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.0391240119934082 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9900615215301514 time spend to save output : 0.03956151008605957 total time spend for step 4 : 1.029623031616211 step5:final Wed Oct 1 11:12: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 ! 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 : {1373659153: ('0.06387586815710113',), 1373659151: ('0.06387586815710113',), 1373659150: ('0.06387586815710113',), 1373659133: ('0.06387586815710113',), 1373659126: ('0.06387586815710113',), 1373659113: ('0.06387586815710113',), 1373659107: ('0.06387586815710113',), 1373659102: ('0.06387586815710113',), 1373659064: ('0.06387586815710113',), 1373659061: ('0.06387586815710113',), 1373659059: ('0.06387586815710113',), 1373659053: ('0.06387586815710113',), 1373659049: ('0.06387586815710113',), 1373659046: ('0.06387586815710113',), 1373659045: ('0.06387586815710113',), 1373659044: ('0.06387586815710113',), 1373659041: ('0.06387586815710113',), 1373659030: ('0.06387586815710113',), 1373659017: ('0.06387586815710113',), 1373659015: ('0.06387586815710113',), 1373659013: ('0.06387586815710113',), 1373658961: ('0.06387586815710113',), 1373658957: ('0.06387586815710113',), 1373658954: ('0.06387586815710113',), 1373658952: ('0.06387586815710113',), 1373658950: ('0.06387586815710113',), 1373658949: ('0.06387586815710113',), 1373658935: ('0.06387586815710113',), 1373658927: ('0.06387586815710113',), 1373658907: ('0.06387586815710113',), 1373658905: ('0.06387586815710113',), 1373658896: ('0.06387586815710113',), 1373658892: ('0.06387586815710113',), 1373658890: ('0.06387586815710113',), 1373658887: ('0.06387586815710113',)} new output for save of step final : {1373659153: ('0.06387586815710113',), 1373659151: ('0.06387586815710113',), 1373659150: ('0.06387586815710113',), 1373659133: ('0.06387586815710113',), 1373659126: ('0.06387586815710113',), 1373659113: ('0.06387586815710113',), 1373659107: ('0.06387586815710113',), 1373659102: ('0.06387586815710113',), 1373659064: ('0.06387586815710113',), 1373659061: ('0.06387586815710113',), 1373659059: ('0.06387586815710113',), 1373659053: ('0.06387586815710113',), 1373659049: ('0.06387586815710113',), 1373659046: ('0.06387586815710113',), 1373659045: ('0.06387586815710113',), 1373659044: ('0.06387586815710113',), 1373659041: ('0.06387586815710113',), 1373659030: ('0.06387586815710113',), 1373659017: ('0.06387586815710113',), 1373659015: ('0.06387586815710113',), 1373659013: ('0.06387586815710113',), 1373658961: ('0.06387586815710113',), 1373658957: ('0.06387586815710113',), 1373658954: ('0.06387586815710113',), 1373658952: ('0.06387586815710113',), 1373658950: ('0.06387586815710113',), 1373658949: ('0.06387586815710113',), 1373658935: ('0.06387586815710113',), 1373658927: ('0.06387586815710113',), 1373658907: ('0.06387586815710113',), 1373658905: ('0.06387586815710113',), 1373658896: ('0.06387586815710113',), 1373658892: ('0.06387586815710113',), 1373658890: ('0.06387586815710113',), 1373658887: ('0.06387586815710113',)} [1373659153, 1373659151, 1373659150, 1373659133, 1373659126, 1373659113, 1373659107, 1373659102, 1373659064, 1373659061, 1373659059, 1373659053, 1373659049, 1373659046, 1373659045, 1373659044, 1373659041, 1373659030, 1373659017, 1373659015, 1373659013, 1373658961, 1373658957, 1373658954, 1373658952, 1373658950, 1373658949, 1373658935, 1373658927, 1373658907, 1373658905, 1373658896, 1373658892, 1373658890, 1373658887] Looping around the photos to save general results len do output : 35 /1373659153.Didn't retrieve data . /1373659151.Didn't retrieve data . /1373659150.Didn't retrieve data . /1373659133.Didn't retrieve data . /1373659126.Didn't retrieve data . /1373659113.Didn't retrieve data . /1373659107.Didn't retrieve data . /1373659102.Didn't retrieve data . /1373659064.Didn't retrieve data . /1373659061.Didn't retrieve data . /1373659059.Didn't retrieve data . /1373659053.Didn't retrieve data . /1373659049.Didn't retrieve data . /1373659046.Didn't retrieve data . /1373659045.Didn't retrieve data . /1373659044.Didn't retrieve data . /1373659041.Didn't retrieve data . /1373659030.Didn't retrieve data . /1373659017.Didn't retrieve data . /1373659015.Didn't retrieve data . /1373659013.Didn't retrieve data . /1373658961.Didn't retrieve data . /1373658957.Didn't retrieve data . /1373658954.Didn't retrieve data . /1373658952.Didn't retrieve data . /1373658950.Didn't retrieve data . /1373658949.Didn't retrieve data . /1373658935.Didn't retrieve data . /1373658927.Didn't retrieve data . /1373658907.Didn't retrieve data . /1373658905.Didn't retrieve data . /1373658896.Didn't retrieve data . /1373658892.Didn't retrieve data . /1373658890.Didn't retrieve data . /1373658887.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, '3805941') ('4241', '25312453', '1373659153', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659151', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659150', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659133', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659126', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659113', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659107', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659102', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659064', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659061', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659059', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659053', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659049', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659046', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659045', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659044', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659041', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659030', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659017', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659015', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659013', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658961', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658957', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658954', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658952', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658950', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658949', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658935', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658927', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658907', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658905', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658896', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658892', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658890', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658887', None, None, None, None, None, '3805941') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 105 time used for this insertion : 0.03769397735595703 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.17211031913757324 time spend to save output : 0.03915143013000488 total time spend for step 5 : 0.21126174926757812 step6:blur_detection Wed Oct 1 11:12: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 blur_detection methode: variance laplacian (2160, 3840) 4431.572731444338 (2160, 3840) 3413.7820836480782 (2160, 3840) 2233.5238571748087 (2160, 3840) 1603.0077592426815 (2160, 3840) 2319.3691925817834 (2160, 3840) 3171.698103207056 (2160, 3840) 3135.936401022183 (2160, 3840) 2928.7347727705737 (2160, 3840) 2610.9290989571186 (2160, 3840) 2816.7958644554465 (2160, 3840) 2620.3195406669893 (2160, 3840) 3196.7272744288557 (2160, 3840) 3198.2271084993567 (2160, 3840) 3203.2270046763597 (2160, 3840) 3201.2533980529192 (2160, 3840) 2470.507003479782 (2160, 3840) 3425.8382909836987 (2160, 3840) 2915.0972768925753 (2160, 3840) 3341.686621843091 (2160, 3840) 2536.8432963664145 (2160, 3840) 2707.1089952830366 (2160, 3840) 3365.284363122764 (2160, 3840) 3269.489971288001 (2160, 3840) 2584.4310174451557 (2160, 3840) 2703.1744926035826 (2160, 3840) 2095.2527547756226 (2160, 3840) 1776.8593883026056 (2160, 3840) 2530.012843767039 (2160, 3840) 2218.3500026053953 (2160, 3840) 2778.0668142064337 (2160, 3840) 3460.4652311902137 (2160, 3840) 2537.8110427679103 (2160, 3840) 4499.690730461726 (2160, 3840) 2189.567352056512 (2160, 3840) 2050.3196503020395 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 : 35 time used for this insertion : 0.039520263671875 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 35 time used for this insertion : 0.03919363021850586 save missing photos in datou_result : time spend for datou_step_exec : 8.40649700164795 time spend to save output : 0.09671854972839355 total time spend for step 6 : 8.503215551376343 step7:brightness Wed Oct 1 11:13:02 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/1759309949_2339406_1373659153_07c9073d690f66c61d01a7f21ff4b4e5.jpg treat image : temp/1759309949_2339406_1373659151_802c3a78a98b2ebe45cbeb9afe91fa20.jpg treat image : temp/1759309949_2339406_1373659150_46d5983ad364ceb9ddcefbe178f7f530.jpg treat image : temp/1759309949_2339406_1373659133_b9fe5903464daec6da45f524c53c4d4d.jpg treat image : temp/1759309949_2339406_1373659126_40467d153d427aff05c5f4e6b722d094.jpg treat image : temp/1759309949_2339406_1373659113_e227fdd47ff302ab3d7680452d2c4441.jpg treat image : temp/1759309949_2339406_1373659107_382721bbc66adbb005cbc64b2a6e959e.jpg treat image : temp/1759309949_2339406_1373659102_e7e8144c5a8d93be7d1f7b04b6c78b72.jpg treat image : temp/1759309949_2339406_1373659064_d66ff7e135b32a4d649cee67bf3855ac.jpg treat image : temp/1759309949_2339406_1373659061_541a318e3dd30782d0ae43c921e5210c.jpg treat image : temp/1759309949_2339406_1373659059_050a8e2bef08c3dfc1cfb1c1ee005a8c.jpg treat image : temp/1759309949_2339406_1373659053_9b152622062a01aa5566a6f64a6c9ab8.jpg treat image : temp/1759309949_2339406_1373659049_4e03d23b1abed62f8c5f6e9f1fac5eb9.jpg treat image : temp/1759309949_2339406_1373659046_c9e236bde91ad0661b5fdefa0189399b.jpg treat image : temp/1759309949_2339406_1373659045_a13905c5d03a8f440aaf9b0d0cb0f686.jpg treat image : temp/1759309949_2339406_1373659044_a8d9e52d79ce7a75c18d3448860cd180.jpg treat image : temp/1759309949_2339406_1373659041_cbc3145df2c427336ba7f0d782c863e3.jpg treat image : temp/1759309949_2339406_1373659030_1806cea31bf1f1f05ea57960e1a54148.jpg treat image : temp/1759309949_2339406_1373659017_3f2d35a3a53cbe319e6bb75fa30fca7b.jpg treat image : temp/1759309949_2339406_1373659015_36f658fe2caea6d6a8a45feee049cead.jpg treat image : temp/1759309949_2339406_1373659013_d250affeb15052510a2a2e84d364f440.jpg treat image : temp/1759309949_2339406_1373658961_0563ebdf417b7f9c71a63b65045a600a.jpg treat image : temp/1759309949_2339406_1373658957_5257b460fbd856a1c7245cf9aea15702.jpg treat image : temp/1759309949_2339406_1373658954_33c91efa149854c8bb4fc042d04df646.jpg treat image : temp/1759309949_2339406_1373658952_9d23215bb7f2032c826622bd9ee6e029.jpg treat image : temp/1759309949_2339406_1373658950_493465fac80b5a0a805d4dde9080db59.jpg treat image : temp/1759309949_2339406_1373658949_00963aa3dde1dec5e49d841488063ec8.jpg treat image : temp/1759309949_2339406_1373658935_bd0ba73d158d281132fdf2aecf83c016.jpg treat image : temp/1759309949_2339406_1373658927_f14ef12ce117727101c9bfed5d3785d7.jpg treat image : temp/1759309949_2339406_1373658907_4886b44bcef5333a5f02fb826f759fdf.jpg treat image : temp/1759309949_2339406_1373658905_b3a052dd09b5ec08d1a4e4b7f954b953.jpg treat image : temp/1759309949_2339406_1373658896_b80b73bf8e7d1fcc42c77f52923ffaf0.jpg treat image : temp/1759309949_2339406_1373658892_930505e4a44a53c1b0bcf3b9f6d3eb2b.jpg treat image : temp/1759309949_2339406_1373658890_ef1aab3f579c11ce8356adcb764fd579.jpg treat image : temp/1759309949_2339406_1373658887_3d3e8efe6380ec1015bf54c72fd197e5.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 : 35 time used for this insertion : 0.036620140075683594 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 35 time used for this insertion : 0.039489030838012695 save missing photos in datou_result : time spend for datou_step_exec : 35.64257526397705 time spend to save output : 0.09429407119750977 total time spend for step 7 : 35.73686933517456 step8:send_mail_cod Wed Oct 1 11:13: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 complete output_args for input 0 complete output_args for input 1 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_COD_P25312453_01-10-2025_11_13_37.pdf 25313890 imagette253138901759310017 25313894 imagette253138941759310017 25313896 imagette253138961759310017 25313897 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253138971759310018 25313900 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253139001759310020 25313891 change filename to text .imagette253138911759310021 25313893 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253138931759310021 25313895 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253138951759310023 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25312453 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25313890,25313891,25313892,25313893,25313894,25313895,25313896,25313897,25313898,25313899,25313900,25313901?tags=autre_refus,Carton_gris,flou,Teint_Dans_La_Masse,kraft,Carton_brun,metal,plastique,papier,mal_croppe,cartonnette,environnement your option no_mail is active, we will not send the real mail to your client args[1373659153] : ((1373659153, 4431.572731444338, 492609224), (1373659153, 1.1804644163930287, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659151] : ((1373659151, 3413.7820836480782, 492609224), (1373659151, 0.9543234606869626, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659150] : ((1373659150, 2233.5238571748087, 492609224), (1373659150, 0.14159808156267548, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659133] : ((1373659133, 1603.0077592426815, 2107751945), (1373659133, -0.0748366609669703, 496442774), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659126] : ((1373659126, 2319.3691925817834, 492609224), (1373659126, 0.5221084273495186, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659113] : ((1373659113, 3171.698103207056, 492609224), (1373659113, 0.5108208020990361, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659107] : ((1373659107, 3135.936401022183, 492609224), (1373659107, 0.48968946184699375, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659102] : ((1373659102, 2928.7347727705737, 492609224), (1373659102, 0.45006783571510195, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659064] : ((1373659064, 2610.9290989571186, 492609224), (1373659064, 0.8300355802285774, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659061] : ((1373659061, 2816.7958644554465, 492609224), (1373659061, 1.308013712106578, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659059] : ((1373659059, 2620.3195406669893, 492609224), (1373659059, 1.1817325348367156, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659053] : ((1373659053, 3196.7272744288557, 492609224), (1373659053, 0.8484855464459934, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659049] : ((1373659049, 3198.2271084993567, 492609224), (1373659049, 0.8613539772077413, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659046] : ((1373659046, 3203.2270046763597, 492609224), (1373659046, 0.855453084646976, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659045] : ((1373659045, 3201.2533980529192, 492609224), (1373659045, 0.8518149872586654, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659044] : ((1373659044, 2470.507003479782, 492609224), (1373659044, 0.8288687107545947, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659041] : ((1373659041, 3425.8382909836987, 492609224), (1373659041, 0.9062495573257858, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659030] : ((1373659030, 2915.0972768925753, 492609224), (1373659030, 1.7093061368625841, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659017] : ((1373659017, 3341.686621843091, 492609224), (1373659017, 1.0042037530248173, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659015] : ((1373659015, 2536.8432963664145, 492609224), (1373659015, 1.100455476590919, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373659013] : ((1373659013, 2707.1089952830366, 492609224), (1373659013, 0.6114053062926392, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658961] : ((1373658961, 3365.284363122764, 492609224), (1373658961, 1.0114208809279033, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658957] : ((1373658957, 3269.489971288001, 492609224), (1373658957, 1.183224594798953, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658954] : ((1373658954, 2584.4310174451557, 492609224), (1373658954, 0.8984656547724198, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658952] : ((1373658952, 2703.1744926035826, 492609224), (1373658952, 1.1105505313265644, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658950] : ((1373658950, 2095.2527547756226, 492609224), (1373658950, 0.5189570100271351, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658949] : ((1373658949, 1776.8593883026056, 2107751945), (1373658949, 0.33570277079523736, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658935] : ((1373658935, 2530.012843767039, 492609224), (1373658935, 0.5593958562167822, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658927] : ((1373658927, 2218.3500026053953, 492609224), (1373658927, 0.627843878813298, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658907] : ((1373658907, 2778.0668142064337, 492609224), (1373658907, 1.225451452893933, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658905] : ((1373658905, 3460.4652311902137, 492609224), (1373658905, 0.7943994394543088, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658896] : ((1373658896, 2537.8110427679103, 492609224), (1373658896, 0.7185415862754709, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658892] : ((1373658892, 4499.690730461726, 492609224), (1373658892, 1.044265857043774, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658890] : ((1373658890, 2189.567352056512, 492609224), (1373658890, 0.501875596414587, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com args[1373658887] : ((1373658887, 2050.3196503020395, 492609224), (1373658887, 0.4470706931695002, 2107752395), '0.06387586815710113') We are sending mail with results at kexin@fotonower.com refus_total : 0.06387586815710113 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=25312453 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_P25312453_01-10-2025_11_13_37.pdf results_COD_P25312453_01-10-2025_11_13_37.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25312453_01-10-2025_11_13_37.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','25312453','results_COD_P25312453_01-10-2025_11_13_37.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25312453_01-10-2025_11_13_37.pdf','pdf','','1.66','0.06387586815710113') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1373659153, 1373659151, 1373659150, 1373659133, 1373659126, 1373659113, 1373659107, 1373659102, 1373659064, 1373659061, 1373659059, 1373659053, 1373659049, 1373659046, 1373659045, 1373659044, 1373659041, 1373659030, 1373659017, 1373659015, 1373659013, 1373658961, 1373658957, 1373658954, 1373658952, 1373658950, 1373658949, 1373658935, 1373658927, 1373658907, 1373658905, 1373658896, 1373658892, 1373658890, 1373658887] 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, '3805941') ('4241', '25312453', '1373659153', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659151', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659150', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659133', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659126', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659113', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659107', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659102', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659064', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659061', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659059', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659053', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659049', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659046', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659045', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659044', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659041', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659030', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659017', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659015', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659013', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658961', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658957', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658954', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658952', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658950', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658949', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658935', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658927', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658907', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658905', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658896', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658892', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658890', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658887', None, None, None, None, None, '3805941') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 time used for this insertion : 0.04058551788330078 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.768513441085815 time spend to save output : 0.04109358787536621 total time spend for step 8 : 13.809607028961182 step9:split_time_score Wed Oct 1 11:13:51 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'}] (('05', 35),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25072025 25312453 Nombre de photos uploadées : 35 / 23040 (0%) 25072025 25312453 Nombre de photos taguées (types de déchets): 0 / 35 (0%) 25072025 25312453 Nombre de photos taguées (volume) : 0 / 35 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001603841781616211 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6627087593078613 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_P25312451_25-07-2025_07_32_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312451 order by id desc limit 1 Qualite : 0.06387586815710113 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25312453_01-10-2025_11_13_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312453 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`=25312453 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312455_25-07-2025_07_08_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312455 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312457_25-07-2025_07_08_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312457 order by id desc limit 1 Qualite : 0.029276222818269564 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25312459_30-09-2025_17_06_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312459 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`=25312459 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312461_25-07-2025_08_03_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312461 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312462_25-07-2025_10_49_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312462 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312464_25-07-2025_08_37_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312464 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312466_25-07-2025_07_09_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312466 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312466_25-07-2025_07_09_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312466 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25314906_25-07-2025_08_40_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25314906 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25314908_25-07-2025_11_08_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25314908 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25314908_25-07-2025_11_08_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25314908 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25314927_25-07-2025_08_47_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25314927 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328521_25-07-2025_17_11_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328521 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325771_25-07-2025_12_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325771 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25321132_25-07-2025_10_21_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25321132 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25319553_25-07-2025_11_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25319553 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25319553_25-07-2025_11_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25319553 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25319574_25-07-2025_10_16_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25319574 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25319576_25-07-2025_09_43_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25319576 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25319578_25-07-2025_09_37_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25319578 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25319578_25-07-2025_09_37_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25319578 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25321135_25-07-2025_14_41_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25321135 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25321138_25-07-2025_10_41_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25321138 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325773_25-07-2025_17_21_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325773 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325774_25-07-2025_16_35_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325774 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325774_25-07-2025_16_35_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325774 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325788_25-07-2025_11_56_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325788 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325802_25-07-2025_11_50_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325802 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325804_25-07-2025_11_55_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325804 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325806_25-07-2025_16_49_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325806 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325806_25-07-2025_16_49_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325806 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325808_25-07-2025_12_09_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325808 order by id desc limit 1 Qualite : 0.1263519814573688 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325810_25-07-2025_11_45_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325810 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`=25325810 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325811_25-07-2025_11_42_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325811 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325813_25-07-2025_13_51_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325813 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325813_25-07-2025_13_51_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325813 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328522_25-07-2025_14_07_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328522 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328524_25-07-2025_17_37_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328524 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328525_25-07-2025_14_00_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328525 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328527_25-07-2025_14_11_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328527 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328529_25-07-2025_14_15_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328529 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328531_25-07-2025_17_10_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328531 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328531_25-07-2025_17_10_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328531 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328532_25-07-2025_16_54_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328532 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337083_25-07-2025_18_49_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337083 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337083_25-07-2025_18_49_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337083 order by id desc limit 1 Qualite : 0.12560363016010806 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25335919_25-07-2025_16_45_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25335919 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`=25335919 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25335921_25-07-2025_16_41_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25335921 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25333445_25-07-2025_15_55_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25333445 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25333448_25-07-2025_17_00_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25333448 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25333451_25-07-2025_15_50_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25333451 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25333454_25-07-2025_15_50_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25333454 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25333454_25-07-2025_15_50_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25333454 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25333458_25-07-2025_16_11_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25333458 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25335923_25-07-2025_16_52_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25335923 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337086_25-07-2025_17_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337086 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337089_25-07-2025_17_58_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337089 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337091_25-07-2025_17_54_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337091 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337091_25-07-2025_17_54_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337091 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337094_25-07-2025_17_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337094 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337096_25-07-2025_19_02_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337096 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25339499_25-07-2025_18_55_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25339499 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25339499_25-07-2025_18_55_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25339499 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25339501_25-07-2025_18_46_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25339501 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25339504_25-07-2025_18_20_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25339504 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25339507_25-07-2025_19_05_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25339507 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25339507_25-07-2025_19_05_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25339507 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25340650_25-07-2025_18_54_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25340650 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25340654_25-07-2025_18_38_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25340654 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25340657_25-07-2025_18_44_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25340657 order by id desc limit 1 Qualite : 0.10161370322145058 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25340659_25-07-2025_18_48_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25340659 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`=25340659 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25340661_25-07-2025_18_52_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25340661 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25340662_25-07-2025_18_55_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25340662 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25355338_26-07-2025_03_04_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25355338 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25355338_26-07-2025_03_04_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25355338 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25355339_26-07-2025_00_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25355339 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25348037_25-07-2025_22_00_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25348037 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25348037_25-07-2025_22_00_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25348037 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25346887_25-07-2025_21_25_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25346887 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344191_25-07-2025_20_55_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344191 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344194_25-07-2025_20_34_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344194 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344197_25-07-2025_21_01_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344197 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344197_25-07-2025_21_01_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344197 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344199_25-07-2025_20_30_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344199 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344202_25-07-2025_20_29_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344202 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25346890_25-07-2025_21_48_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25346890 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25346890_25-07-2025_21_48_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25346890 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25346893_25-07-2025_21_21_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25346893 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25346896_25-07-2025_21_20_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25346896 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25346897_25-07-2025_21_53_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25346897 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25346897_25-07-2025_21_53_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25346897 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25346898_25-07-2025_21_38_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25346898 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25348039_25-07-2025_22_00_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25348039 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25348039_25-07-2025_22_00_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25348039 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25348040_25-07-2025_21_46_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25348040 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25348042_25-07-2025_21_46_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25348042 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25348045_25-07-2025_22_20_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25348045 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25350809_25-07-2025_22_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25350809 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25350812_26-07-2025_03_53_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25350812 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25350812_26-07-2025_03_53_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25350812 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25350815_25-07-2025_22_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25350815 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25350819_25-07-2025_23_19_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25350819 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25350822_25-07-2025_22_49_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25350822 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25355340_26-07-2025_03_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25355340 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25355340_26-07-2025_03_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25355340 order by id desc limit 1 Qualite : 0.11232507608882031 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25355341_26-07-2025_00_24_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25355341 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`=25355341 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25355342_26-07-2025_00_20_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25355342 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25355343_26-07-2025_00_27_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25355343 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25355344_26-07-2025_03_13_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25355344 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25355344_26-07-2025_03_13_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25355344 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25072025': {'nb_upload': 35, '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 [1373659153, 1373659151, 1373659150, 1373659133, 1373659126, 1373659113, 1373659107, 1373659102, 1373659064, 1373659061, 1373659059, 1373659053, 1373659049, 1373659046, 1373659045, 1373659044, 1373659041, 1373659030, 1373659017, 1373659015, 1373659013, 1373658961, 1373658957, 1373658954, 1373658952, 1373658950, 1373658949, 1373658935, 1373658927, 1373658907, 1373658905, 1373658896, 1373658892, 1373658890, 1373658887] Looping around the photos to save general results len do output : 1 /25312453Didn'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, '3805941') ('4241', '25312453', '1373659153', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659151', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659150', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659133', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659126', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659113', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659107', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659102', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659064', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659061', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659059', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659053', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659049', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659046', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659045', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659044', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659041', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659030', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659017', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659015', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373659013', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658961', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658957', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658954', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658952', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658950', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658949', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658935', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658927', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658907', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658905', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658896', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658892', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658890', None, None, None, None, None, '3805941') ('4241', None, None, None, None, None, None, None, '3805941') ('4241', '25312453', '1373658887', None, None, None, None, None, '3805941') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.03955078125 save_final save missing photos in datou_result : time spend for datou_step_exec : 41.63214468955994 time spend to save output : 0.0399477481842041 total time spend for step 9 : 41.67209243774414 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 35 set_done_treatment 45.64user 12.86system 2:08.84elapsed 45%CPU (0avgtext+0avgdata 198860maxresident)k 10280inputs+145616outputs (4major+1111365minor)pagefaults 0swaps