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 : 2025456 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 : ['4026061'] with mtr_portfolio_ids : ['28010637'] and first list_photo_ids : [] new path : /proc/2025456/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 4.076367378234863 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 Mon Nov 10 10:16:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 123 chid ids of type : 3726 batch 1 Loaded 108 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 15 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 [1390410393, 1390410368, 1390410366, 1390410365, 1390410330, 1390410328, 1390410327, 1390410272, 1390410270, 1390410268, 1390410266, 1390410261, 1390410163, 1390410161, 1390410159, 1390410157, 1390410068, 1390410063, 1390410061] Looping around the photos to save general results len do output : 19 /1390410393Didn't retrieve data . /1390410368Didn't retrieve data . /1390410366Didn't retrieve data . /1390410365Didn't retrieve data . /1390410330Didn't retrieve data . /1390410328Didn't retrieve data . /1390410327Didn't retrieve data . /1390410272Didn't retrieve data . /1390410270Didn't retrieve data . /1390410268Didn't retrieve data . /1390410266Didn't retrieve data . /1390410261Didn't retrieve data . /1390410163Didn't retrieve data . /1390410161Didn't retrieve data . /1390410159Didn't retrieve data . /1390410157Didn't retrieve data . /1390410068Didn't retrieve data . /1390410063Didn't retrieve data . /1390410061Didn'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, '4026061') ('4241', '28010637', '1390410393', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410368', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410366', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410365', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410330', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410328', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410327', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410272', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410270', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410268', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410266', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410261', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410163', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410161', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410159', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410157', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410068', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410063', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410061', None, None, None, None, None, '4026061') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 time used for this insertion : 0.01826000213623047 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1662135124206543 time spend to save output : 0.018617630004882812 total time spend for step 1 : 0.1848311424255371 step2:consolidate_hashtags_from_manual_portfolio Mon Nov 10 10:16:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 28010637 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`=28010637 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`=28010637 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`=28010637 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=28011148 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 74 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=28011149 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=28011150 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=28011151 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=28011152 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=28011153 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 55 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 : 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=28011154 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=28011155 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=28011156 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 64 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=28011157 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=28011158 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=28011159 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=28383143 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 [1390410393, 1390410368, 1390410366, 1390410365, 1390410330, 1390410328, 1390410327, 1390410272, 1390410270, 1390410268, 1390410266, 1390410261, 1390410163, 1390410161, 1390410159, 1390410157, 1390410068, 1390410063, 1390410061] 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 : 19 time used for this insertion : 0.015576362609863281 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.0883080959320068 time spend to save output : 0.0157930850982666 total time spend for step 2 : 1.1041011810302734 step3:rle_unique_nms_with_priority Mon Nov 10 10:16:35 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 104 chid ids of type : 3726 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.026798725128173828 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.026224851608276367 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.027229785919189453 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.027720212936401367 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.026906251907348633 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.026041030883789062 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.025128841400146484 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.025087356567382812 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.027048826217651367 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.028018951416015625 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.026623010635375977 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.026645421981811523 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.02714824676513672 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.030750513076782227 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.026754379272460938 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.02713322639465332 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.028929710388183594 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.027985811233520508 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.027354001998901367 map_output_result : {1390410393: (0.0, 'Should be the crop_list due to order', 0), 1390410368: (0.0, 'Should be the crop_list due to order', 0), 1390410366: (0.0, 'Should be the crop_list due to order', 0), 1390410365: (0.0, 'Should be the crop_list due to order', 0), 1390410330: (0.0, 'Should be the crop_list due to order', 0), 1390410328: (0.0, 'Should be the crop_list due to order', 0), 1390410327: (0.0, 'Should be the crop_list due to order', 0), 1390410272: (0.0, 'Should be the crop_list due to order', 0), 1390410270: (0.0, 'Should be the crop_list due to order', 0), 1390410268: (0.0, 'Should be the crop_list due to order', 0), 1390410266: (0.0, 'Should be the crop_list due to order', 0), 1390410261: (0.0, 'Should be the crop_list due to order', 0), 1390410163: (0.0, 'Should be the crop_list due to order', 0), 1390410161: (0.0, 'Should be the crop_list due to order', 0), 1390410159: (0.0, 'Should be the crop_list due to order', 0), 1390410157: (0.0, 'Should be the crop_list due to order', 0), 1390410068: (0.0, 'Should be the crop_list due to order', 0), 1390410063: (0.0, 'Should be the crop_list due to order', 0), 1390410061: (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 [1390410393, 1390410368, 1390410366, 1390410365, 1390410330, 1390410328, 1390410327, 1390410272, 1390410270, 1390410268, 1390410266, 1390410261, 1390410163, 1390410161, 1390410159, 1390410157, 1390410068, 1390410063, 1390410061] Looping around the photos to save general results len do output : 19 /1390410393.Didn't retrieve data . /1390410368.Didn't retrieve data . /1390410366.Didn't retrieve data . /1390410365.Didn't retrieve data . /1390410330.Didn't retrieve data . /1390410328.Didn't retrieve data . /1390410327.Didn't retrieve data . /1390410272.Didn't retrieve data . /1390410270.Didn't retrieve data . /1390410268.Didn't retrieve data . /1390410266.Didn't retrieve data . /1390410261.Didn't retrieve data . /1390410163.Didn't retrieve data . /1390410161.Didn't retrieve data . /1390410159.Didn't retrieve data . /1390410157.Didn't retrieve data . /1390410068.Didn't retrieve data . /1390410063.Didn't retrieve data . /1390410061.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, '4026061') ('4241', '28010637', '1390410393', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410368', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410366', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410365', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410330', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410328', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410327', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410272', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410270', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410268', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410266', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410261', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410163', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410161', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410159', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410157', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410068', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410063', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410061', None, None, None, None, None, '4026061') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 time used for this insertion : 0.01658153533935547 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.392883777618408 time spend to save output : 0.01732468605041504 total time spend for step 3 : 2.4102084636688232 step4:ventilate_hashtags_in_portfolio Mon Nov 10 10:16:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 28010637 get user id for portfolio 28010637 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`=28010637 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`=28010637 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/28011148,28011149,28011150,28011151,28011152,28011153,28011154,28011155,28011156,28011157,28011158,28011159?tags=Carton_gris,plastique,metal,papier,Teint_Dans_La_Masse,mal_croppe,autre_refus,cartonnette,Carton_brun,flou,environnement,kraft Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1390410393, 1390410368, 1390410366, 1390410365, 1390410330, 1390410328, 1390410327, 1390410272, 1390410270, 1390410268, 1390410266, 1390410261, 1390410163, 1390410161, 1390410159, 1390410157, 1390410068, 1390410063, 1390410061] Looping around the photos to save general results len do output : 1 /28010637. 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, '4026061') ('4241', '28010637', '1390410393', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410368', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410366', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410365', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410330', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410328', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410327', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410272', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410270', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410268', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410266', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410261', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410163', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410161', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410159', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410157', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410068', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410063', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410061', None, None, None, None, None, '4026061') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0157010555267334 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.25197792053222656 time spend to save output : 0.015990018844604492 total time spend for step 4 : 0.26796793937683105 step5:final Mon Nov 10 10:16: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 ! 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 : {1390410393: ('0.17310649168285314',), 1390410368: ('0.17310649168285314',), 1390410366: ('0.17310649168285314',), 1390410365: ('0.17310649168285314',), 1390410330: ('0.17310649168285314',), 1390410328: ('0.17310649168285314',), 1390410327: ('0.17310649168285314',), 1390410272: ('0.17310649168285314',), 1390410270: ('0.17310649168285314',), 1390410268: ('0.17310649168285314',), 1390410266: ('0.17310649168285314',), 1390410261: ('0.17310649168285314',), 1390410163: ('0.17310649168285314',), 1390410161: ('0.17310649168285314',), 1390410159: ('0.17310649168285314',), 1390410157: ('0.17310649168285314',), 1390410068: ('0.17310649168285314',), 1390410063: ('0.17310649168285314',), 1390410061: ('0.17310649168285314',)} new output for save of step final : {1390410393: ('0.17310649168285314',), 1390410368: ('0.17310649168285314',), 1390410366: ('0.17310649168285314',), 1390410365: ('0.17310649168285314',), 1390410330: ('0.17310649168285314',), 1390410328: ('0.17310649168285314',), 1390410327: ('0.17310649168285314',), 1390410272: ('0.17310649168285314',), 1390410270: ('0.17310649168285314',), 1390410268: ('0.17310649168285314',), 1390410266: ('0.17310649168285314',), 1390410261: ('0.17310649168285314',), 1390410163: ('0.17310649168285314',), 1390410161: ('0.17310649168285314',), 1390410159: ('0.17310649168285314',), 1390410157: ('0.17310649168285314',), 1390410068: ('0.17310649168285314',), 1390410063: ('0.17310649168285314',), 1390410061: ('0.17310649168285314',)} [1390410393, 1390410368, 1390410366, 1390410365, 1390410330, 1390410328, 1390410327, 1390410272, 1390410270, 1390410268, 1390410266, 1390410261, 1390410163, 1390410161, 1390410159, 1390410157, 1390410068, 1390410063, 1390410061] Looping around the photos to save general results len do output : 19 /1390410393.Didn't retrieve data . /1390410368.Didn't retrieve data . /1390410366.Didn't retrieve data . /1390410365.Didn't retrieve data . /1390410330.Didn't retrieve data . /1390410328.Didn't retrieve data . /1390410327.Didn't retrieve data . /1390410272.Didn't retrieve data . /1390410270.Didn't retrieve data . /1390410268.Didn't retrieve data . /1390410266.Didn't retrieve data . /1390410261.Didn't retrieve data . /1390410163.Didn't retrieve data . /1390410161.Didn't retrieve data . /1390410159.Didn't retrieve data . /1390410157.Didn't retrieve data . /1390410068.Didn't retrieve data . /1390410063.Didn't retrieve data . /1390410061.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, '4026061') ('4241', '28010637', '1390410393', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410368', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410366', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410365', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410330', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410328', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410327', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410272', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410270', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410268', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410266', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410261', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410163', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410161', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410159', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410157', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410068', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410063', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410061', None, None, None, None, None, '4026061') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 time used for this insertion : 0.01699066162109375 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.036110639572143555 time spend to save output : 0.017893314361572266 total time spend for step 5 : 0.05400395393371582 step6:blur_detection Mon Nov 10 10:16: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 inside step blur_detection methode: variance laplacian (2160, 3840) 469.281824181169 (2160, 3840) 481.4841551419591 (2160, 3840) 487.78422585243896 (2160, 3840) 464.7138138783118 (2160, 3840) 485.69631833534555 (2160, 3840) 466.51194280598486 (2160, 3840) 488.72551239174726 (2160, 3840) 465.16739763122087 (2160, 3840) 476.8974883087318 (2160, 3840) 462.71294568248726 (2160, 3840) 468.3788265568267 (2160, 3840) 487.492039703501 (2160, 3840) 484.47770087762154 (2160, 3840) 489.1090608427329 (2160, 3840) 468.9065945541221 (2160, 3840) 468.87172658752746 (2160, 3840) 487.17939915463523 (2160, 3840) 489.336447898589 (2160, 3840) 464.84235738339464 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 : 19 time used for this insertion : 0.013579368591308594 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.015984535217285156 save missing photos in datou_result : time spend for datou_step_exec : 2.9432449340820312 time spend to save output : 0.03456425666809082 total time spend for step 6 : 2.977809190750122 step7:brightness Mon Nov 10 10:16:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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/1762766190_2025456_1390410393_9f5bef23ecd860532b2a82a06e5cee81_80078233.jpg treat image : temp/1762766190_2025456_1390410368_2073268bb4ba356e64d533cf66493ba2_61330799.jpg treat image : temp/1762766190_2025456_1390410366_add6c196950216a03fc3662d6e095016_36525717.jpg treat image : temp/1762766190_2025456_1390410365_19181ecf7420483a450e7138a203fc14_85649701.jpg treat image : temp/1762766190_2025456_1390410330_430a20d7d82059b12837098b50453f31_65582880.jpg treat image : temp/1762766190_2025456_1390410328_bf9d5a991f1b7aea619ce4a631afefa2_4572425.jpg treat image : temp/1762766190_2025456_1390410327_ffa1d1857784d468d50b640520cb189d_16667752.jpg treat image : temp/1762766190_2025456_1390410272_b4fa4699d2a1fe4904a546a7f5435c07_94792451.jpg treat image : temp/1762766190_2025456_1390410270_c921dcdde2470a4039a51c263ccd934d_72683882.jpg treat image : temp/1762766190_2025456_1390410268_72fa1f7f86ff1e4770c7ff4990937e82_66560617.jpg treat image : temp/1762766190_2025456_1390410266_4eda44b96bca9bb03fb3d16dedafbddc_1708273.jpg treat image : temp/1762766190_2025456_1390410261_0398ae7024e1609805a818071c0727bc_45181584.jpg treat image : temp/1762766190_2025456_1390410163_71901dedbeaa8ce012b9451a9ac11794_55831528.jpg treat image : temp/1762766190_2025456_1390410161_d5662234cf7038e744489368b37dddf2_36856502.jpg treat image : temp/1762766190_2025456_1390410159_7f4f95fdedb8b288bf6b8e4572136397_59940133.jpg treat image : temp/1762766190_2025456_1390410157_fca88747f9040872439daf7ca63719a5_2088709.jpg treat image : temp/1762766190_2025456_1390410068_a389447c62c2f2bee3882a1c0256addf_94979510.jpg treat image : temp/1762766190_2025456_1390410063_650a7ebd0c8768606c1ef6ef84b06a01_1747722.jpg treat image : temp/1762766190_2025456_1390410061_022938a711a54f7c71d972ae0a80e8c9_88874192.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 : 19 time used for this insertion : 0.01564192771911621 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.020000457763671875 save missing photos in datou_result : time spend for datou_step_exec : 18.03701686859131 time spend to save output : 0.03984260559082031 total time spend for step 7 : 18.07685947418213 step8:send_mail_cod Mon Nov 10 10:16:59 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_P28010637_10-11-2025_10_16_59.pdf 28011149 imagette280111491762766219 28011150 imagette280111501762766219 28011154 imagette280111541762766219 28011155 imagette280111551762766219 28011159 imagette280111591762766219 28011148 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 .imagette280111481762766219 28011152 imagette280111521762766221 28011156 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 .imagette280111561762766221 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28010637 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28011148,28011149,28011150,28011151,28011152,28011153,28011154,28011155,28011156,28011157,28011158,28011159?tags=Carton_gris,plastique,metal,papier,Teint_Dans_La_Masse,mal_croppe,autre_refus,cartonnette,Carton_brun,flou,environnement,kraft your option no_mail is active, we will not send the real mail to your client args[1390410393] : ((1390410393, 469.281824181169, 492688767), (1390410393, -0.3319644509061269, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410368] : ((1390410368, 481.4841551419591, 492688767), (1390410368, -0.3144409043951192, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410366] : ((1390410366, 487.78422585243896, 492688767), (1390410366, -0.3101931048432219, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410365] : ((1390410365, 464.7138138783118, 492688767), (1390410365, -0.3502948921142962, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410330] : ((1390410330, 485.69631833534555, 492688767), (1390410330, -0.3295719892153937, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410328] : ((1390410328, 466.51194280598486, 492688767), (1390410328, -0.32834698281056984, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410327] : ((1390410327, 488.72551239174726, 492688767), (1390410327, -0.3042793317792778, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410272] : ((1390410272, 465.16739763122087, 492688767), (1390410272, -0.3566469303538367, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410270] : ((1390410270, 476.8974883087318, 492688767), (1390410270, -0.30534935268798635, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410268] : ((1390410268, 462.71294568248726, 492688767), (1390410268, -0.3616186359458144, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410266] : ((1390410266, 468.3788265568267, 492688767), (1390410266, -0.34427891159023233, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410261] : ((1390410261, 487.492039703501, 492688767), (1390410261, -0.3102068294407865, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410163] : ((1390410163, 484.47770087762154, 492688767), (1390410163, -0.30723437623102845, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410161] : ((1390410161, 489.1090608427329, 492688767), (1390410161, -0.2974296569994479, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410159] : ((1390410159, 468.9065945541221, 492688767), (1390410159, -0.3364100245258849, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410157] : ((1390410157, 468.87172658752746, 492688767), (1390410157, -0.3499668386079809, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410068] : ((1390410068, 487.17939915463523, 492688767), (1390410068, -0.30714921790770755, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410063] : ((1390410063, 489.336447898589, 492688767), (1390410063, -0.3078888117553606, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com args[1390410061] : ((1390410061, 464.84235738339464, 492688767), (1390410061, -0.3479471047413659, 496442774), '0.17310649168285314') We are sending mail with results at kexin@fotonower.com refus_total : 0.17310649168285314 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=28010637 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_P28010637_10-11-2025_10_16_59.pdf results_COD_P28010637_10-11-2025_10_16_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28010637_10-11-2025_10_16_59.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','28010637','results_COD_P28010637_10-11-2025_10_16_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28010637_10-11-2025_10_16_59.pdf','pdf','','1.05','0.17310649168285314') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1390410393, 1390410368, 1390410366, 1390410365, 1390410330, 1390410328, 1390410327, 1390410272, 1390410270, 1390410268, 1390410266, 1390410261, 1390410163, 1390410161, 1390410159, 1390410157, 1390410068, 1390410063, 1390410061] 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, '4026061') ('4241', '28010637', '1390410393', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410368', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410366', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410365', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410330', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410328', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410327', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410272', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410270', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410268', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410266', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410261', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410163', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410161', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410159', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410157', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410068', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410063', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410061', None, None, None, None, None, '4026061') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.016501426696777344 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.330317497253418 time spend to save output : 0.01688861846923828 total time spend for step 8 : 7.347206115722656 step9:split_time_score Mon Nov 10 10:17:06 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'}] (('22', 3), ('23', 16)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21102025 28010637 Nombre de photos uploadées : 19 / 23040 (0%) 21102025 28010637 Nombre de photos taguées (types de déchets): 0 / 19 (0%) 21102025 28010637 Nombre de photos taguées (volume) : 0 / 19 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ??????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0010173320770263672 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.228196382522583 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_P28010059_31-10-2025_14_07_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010059 order by id desc limit 1 Qualite : 0.039063544881687236 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010077_31-10-2025_14_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010077 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`=28010077 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010094_31-10-2025_16_42_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010094 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010099_01-11-2025_06_27_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010099 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010099_01-11-2025_06_27_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010099 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010112_01-11-2025_06_58_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010112 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010114_31-10-2025_15_31_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010114 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010115_31-10-2025_16_41_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010115 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010118_01-11-2025_06_42_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010118 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010118_01-11-2025_06_42_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010118 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010133_31-10-2025_13_46_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010133 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010134_31-10-2025_18_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010134 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010135_31-10-2025_13_52_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010135 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010136_01-11-2025_06_49_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010136 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010136_01-11-2025_06_49_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010136 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010155_01-11-2025_07_03_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010155 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010174_31-10-2025_13_19_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010174 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010187_31-10-2025_19_43_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010187 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010188_31-10-2025_14_27_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010188 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010189_01-11-2025_06_31_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010189 order by id desc limit 1 Qualite : 0.06406509211033952 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010190_31-10-2025_13_53_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010190 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`=28010190 AND mptpi.`type`=3594 To do Qualite : 0.0525568817515432 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010191_31-10-2025_13_33_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010191 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`=28010191 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010192_01-11-2025_19_17_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010192 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010192_01-11-2025_19_17_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010192 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010193_01-11-2025_06_29_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010193 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010194_31-10-2025_11_15_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010194 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010195_01-11-2025_06_16_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010195 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010196_31-10-2025_14_13_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010196 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010213_01-11-2025_15_06_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010213 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010213_01-11-2025_15_06_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010213 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010214_31-10-2025_17_52_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010214 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010215_01-11-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010215 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010216_31-10-2025_13_47_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010216 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010217_01-11-2025_07_03_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010217 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010217_01-11-2025_07_03_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010217 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010218_31-10-2025_16_51_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010218 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010237_01-11-2025_15_27_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010237 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010256_01-11-2025_05_27_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010256 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010257_01-11-2025_15_17_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010257 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010257_01-11-2025_15_17_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010257 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010258_31-10-2025_14_11_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010258 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010259_31-10-2025_17_02_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010259 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010261_31-10-2025_19_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010261 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010263_01-11-2025_05_20_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010263 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010284_31-10-2025_14_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010284 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010287_31-10-2025_13_55_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010287 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010305_01-11-2025_07_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010305 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010305_01-11-2025_07_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010305 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010308_31-10-2025_18_48_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010308 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010310_31-10-2025_15_18_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010310 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010312_01-11-2025_04_56_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010315_01-11-2025_15_26_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010315 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010315_01-11-2025_15_26_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010315 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010317_01-11-2025_04_46_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010317 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010339_31-10-2025_21_06_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010339 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010355_31-10-2025_14_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010355 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010376_31-10-2025_15_12_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010376 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010396_31-10-2025_12_34_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010396 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010398_01-11-2025_07_24_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010398 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010400_01-11-2025_07_29_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010400 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010402_01-11-2025_07_37_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010402 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010402_01-11-2025_07_37_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010402 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010404_31-10-2025_18_17_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010404 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010406_31-10-2025_13_37_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010406 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010408_01-11-2025_04_20_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010408 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010410_01-11-2025_07_41_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010410 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010410_01-11-2025_07_41_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010410 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010413_31-10-2025_10_40_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010413 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010428_01-11-2025_15_40_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010428 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010434_01-11-2025_04_02_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010434 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010439_31-10-2025_13_27_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010439 order by id desc limit 1 Qualite : 0.06800716949588477 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010444_31-10-2025_09_53_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010444 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`=28010444 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010458_01-11-2025_16_12_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010458 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010458_01-11-2025_16_12_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010458 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010460_31-10-2025_13_18_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010460 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010462_31-10-2025_20_44_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010462 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010464_31-10-2025_12_25_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010464 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010465_31-10-2025_15_03_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010465 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010466_01-11-2025_03_37_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010466 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010468_31-10-2025_13_28_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010468 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010470_31-10-2025_17_53_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010470 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010488_01-11-2025_08_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010488 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010488_01-11-2025_08_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010488 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010490_31-10-2025_15_08_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010490 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010491_31-10-2025_12_29_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010491 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010509_01-11-2025_03_29_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010509 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010519_31-10-2025_13_13_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010519 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010529_01-11-2025_08_04_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010529 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010529_01-11-2025_08_04_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010529 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010531_31-10-2025_22_18_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010531 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010533_31-10-2025_10_38_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010533 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010553_01-11-2025_08_13_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010553 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010553_01-11-2025_08_13_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010553 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010555_31-10-2025_09_53_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010555 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010558_01-11-2025_02_57_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010558 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010567_01-11-2025_03_03_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010567 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010588_31-10-2025_13_21_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010588 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010590_31-10-2025_09_48_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010590 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010591_31-10-2025_12_57_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010591 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010592_01-11-2025_08_15_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010592 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010592_01-11-2025_08_15_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010592 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010593_07-11-2025_16_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010593 order by id desc limit 1 Qualite : 0.04617979929503365 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010594_31-10-2025_13_24_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010594 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`=28010594 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010595_01-11-2025_02_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010595 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010596_01-11-2025_15_51_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010596 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010597_31-10-2025_13_36_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010597 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010614_01-11-2025_08_23_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010614 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010614_01-11-2025_08_23_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010614 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010615_31-10-2025_14_23_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010615 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010617_31-10-2025_12_52_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010617 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010619_31-10-2025_09_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010619 order by id desc limit 1 Qualite : 0.17310649168285314 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28010637_10-11-2025_10_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010637 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`=28010637 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28010690_31-10-2025_09_44_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28010690 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21102025': {'nb_upload': 19, '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 [1390410393, 1390410368, 1390410366, 1390410365, 1390410330, 1390410328, 1390410327, 1390410272, 1390410270, 1390410268, 1390410266, 1390410261, 1390410163, 1390410161, 1390410159, 1390410157, 1390410068, 1390410063, 1390410061] Looping around the photos to save general results len do output : 1 /28010637Didn'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, '4026061') ('4241', '28010637', '1390410393', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410368', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410366', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410365', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410330', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410328', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410327', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410272', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410270', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410268', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410266', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410261', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410163', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410161', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410159', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410157', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410068', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410063', None, None, None, None, None, '4026061') ('4241', None, None, None, None, None, None, None, '4026061') ('4241', '28010637', '1390410061', None, None, None, None, None, '4026061') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01514887809753418 save_final save missing photos in datou_result : time spend for datou_step_exec : 64.8954451084137 time spend to save output : 0.015471696853637695 total time spend for step 9 : 64.91091680526733 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 25.08user 4.89system 1:45.95elapsed 28%CPU (0avgtext+0avgdata 174388maxresident)k 208inputs+87184outputs (10major+584482minor)pagefaults 0swaps