python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4249 ' -s datou_consolidate -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1616436 load datou : 4249 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11590 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11591 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11588 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11588 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11595 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11589 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11592 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11593 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11594 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11596 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11590 have datatype=11 whereas input 0 of step 11588 have datatype=2 WARNING : type of output 1 of step 11591 doesn't seem to be define in the database( WARNING : type of input 3 of step 11589 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11591 doesn't seem to be define in the database( WARNING : type of input 1 of step 11588 doesn't seem to be define in the database( WARNING : output 0 of step 11595 have datatype=10 whereas input 3 of step 11594 have datatype=6 WARNING : type of input 1 of step 11595 doesn't seem to be define in the database( WARNING : output 1 of step 11588 have datatype=7 whereas input 1 of step 11595 have datatype=None WARNING : type of output 1 of step 11595 doesn't seem to be define in the database( WARNING : type of input 4 of step 11589 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11590 doesn't seem to be define in the database( WARNING : type of input 1 of step 11591 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4249, datou_cur_ids : ['4110985'] with mtr_portfolio_ids : ['28178614'] and first list_photo_ids : [] new path : /proc/1616436/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11590 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11591 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11588 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11588 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11595 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11589 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11592 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11593 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11594 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11596 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11590 have datatype=11 whereas input 0 of step 11588 have datatype=2 WARNING : type of output 1 of step 11591 doesn't seem to be define in the database( WARNING : type of input 3 of step 11589 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11591 doesn't seem to be define in the database( WARNING : type of input 1 of step 11588 doesn't seem to be define in the database( WARNING : output 0 of step 11595 have datatype=10 whereas input 3 of step 11594 have datatype=6 WARNING : type of input 1 of step 11595 doesn't seem to be define in the database( WARNING : output 1 of step 11588 have datatype=7 whereas input 1 of step 11595 have datatype=None WARNING : type of output 1 of step 11595 doesn't seem to be define in the database( WARNING : type of input 4 of step 11589 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11590 doesn't seem to be define in the database( WARNING : type of input 1 of step 11591 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 4.656153440475464 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 Tue Nov 25 09:12: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 106 chid ids of type : 4209 batch 1 Loaded 149 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1392514182, 1392514163, 1392513657, 1392513594, 1392513557, 1392513497, 1392513282, 1392513270, 1392513215, 1392513139, 1392513058, 1392512506, 1392512498, 1392512484, 1392512458, 1392512439, 1392512255, 1392512241, 1392512192, 1392512152] Looping around the photos to save general results len do output : 20 /1392514182Didn't retrieve data . /1392514163Didn't retrieve data . /1392513657Didn't retrieve data . /1392513594Didn't retrieve data . /1392513557Didn't retrieve data . /1392513497Didn't retrieve data . /1392513282Didn't retrieve data . /1392513270Didn't retrieve data . /1392513215Didn't retrieve data . /1392513139Didn't retrieve data . /1392513058Didn't retrieve data . /1392512506Didn't retrieve data . /1392512498Didn't retrieve data . /1392512484Didn't retrieve data . /1392512458Didn't retrieve data . /1392512439Didn't retrieve data . /1392512255Didn't retrieve data . /1392512241Didn't retrieve data . /1392512192Didn't retrieve data . /1392512152Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514182', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514163', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513657', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513594', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513557', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513497', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513282', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513270', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513215', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513139', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513058', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512506', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512498', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512484', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512458', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512439', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512255', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512241', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512192', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512152', None, None, None, None, None, '4110985') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 time used for this insertion : 0.025842666625976562 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.12577033042907715 time spend to save output : 0.026583194732666016 total time spend for step 1 : 0.15235352516174316 step2:consolidate_hashtags_from_manual_portfolio Tue Nov 25 09:12: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 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 : 28178614 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`=28178614 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28178614 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28178614 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28179181 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=28179182 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 132 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=28179183 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=28179184 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 87 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=28179185 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 102 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=28179186 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 7 chid ids of type : 4209 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28179187 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=28179188 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=28179189 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=28179190 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=28179191 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 149 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=28179192 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=28179193 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=28179194 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 8 chid ids of type : 4209 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28179195 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=28179196 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=28869210 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 [1392514182, 1392514163, 1392513657, 1392513594, 1392513557, 1392513497, 1392513282, 1392513270, 1392513215, 1392513139, 1392513058, 1392512506, 1392512498, 1392512484, 1392512458, 1392512439, 1392512255, 1392512241, 1392512192, 1392512152] 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 : 20 time used for this insertion : 0.02071094512939453 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.78812313079834 time spend to save output : 0.020919322967529297 total time spend for step 2 : 2.809042453765869 step3:rle_unique_nms_with_priority Tue Nov 25 09:12:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 91 chid ids of type : 4209 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03120732307434082 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03152918815612793 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03260517120361328 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03197884559631348 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032268524169921875 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03295135498046875 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031191587448120117 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032845258712768555 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03362560272216797 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03570961952209473 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.033150434494018555 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03203082084655762 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031798362731933594 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031557321548461914 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03189587593078613 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03180837631225586 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031024932861328125 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03183865547180176 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03301119804382324 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03485846519470215 map_output_result : {1392514182: (0.0, 'Should be the crop_list due to order', 0), 1392514163: (0.0, 'Should be the crop_list due to order', 0), 1392513657: (0.0, 'Should be the crop_list due to order', 0), 1392513594: (0.0, 'Should be the crop_list due to order', 0), 1392513557: (0.0, 'Should be the crop_list due to order', 0), 1392513497: (0.0, 'Should be the crop_list due to order', 0), 1392513282: (0.0, 'Should be the crop_list due to order', 0), 1392513270: (0.0, 'Should be the crop_list due to order', 0), 1392513215: (0.0, 'Should be the crop_list due to order', 0), 1392513139: (0.0, 'Should be the crop_list due to order', 0), 1392513058: (0.0, 'Should be the crop_list due to order', 0), 1392512506: (0.0, 'Should be the crop_list due to order', 0), 1392512498: (0.0, 'Should be the crop_list due to order', 0), 1392512484: (0.0, 'Should be the crop_list due to order', 0), 1392512458: (0.0, 'Should be the crop_list due to order', 0), 1392512439: (0.0, 'Should be the crop_list due to order', 0), 1392512255: (0.0, 'Should be the crop_list due to order', 0), 1392512241: (0.0, 'Should be the crop_list due to order', 0), 1392512192: (0.0, 'Should be the crop_list due to order', 0), 1392512152: (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 [1392514182, 1392514163, 1392513657, 1392513594, 1392513557, 1392513497, 1392513282, 1392513270, 1392513215, 1392513139, 1392513058, 1392512506, 1392512498, 1392512484, 1392512458, 1392512439, 1392512255, 1392512241, 1392512192, 1392512152] Looping around the photos to save general results len do output : 20 /1392514182.Didn't retrieve data . /1392514163.Didn't retrieve data . /1392513657.Didn't retrieve data . /1392513594.Didn't retrieve data . /1392513557.Didn't retrieve data . /1392513497.Didn't retrieve data . /1392513282.Didn't retrieve data . /1392513270.Didn't retrieve data . /1392513215.Didn't retrieve data . /1392513139.Didn't retrieve data . /1392513058.Didn't retrieve data . /1392512506.Didn't retrieve data . /1392512498.Didn't retrieve data . /1392512484.Didn't retrieve data . /1392512458.Didn't retrieve data . /1392512439.Didn't retrieve data . /1392512255.Didn't retrieve data . /1392512241.Didn't retrieve data . /1392512192.Didn't retrieve data . /1392512152.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514182', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514163', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513657', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513594', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513557', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513497', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513282', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513270', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513215', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513139', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513058', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512506', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512498', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512484', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512458', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512439', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512255', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512241', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512192', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512152', None, None, None, None, None, '4110985') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.0171661376953125 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.854174852371216 time spend to save output : 0.01829814910888672 total time spend for step 3 : 4.8724730014801025 step4:ventilate_hashtags_in_portfolio Tue Nov 25 09:12:42 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 : 28178614 get user id for portfolio 28178614 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`=28178614 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28178614 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28179181,28179182,28179183,28179184,28179185,28179186,28179187,28179188,28179189,28179190,28179191,28179192,28179193,28179194,28179195,28179196?tags=film_plastique,environnement,pet_fonce,papier,carton,barquette_opaque,etiquette,ela,kraft,pehd,mal_croppe,pet_opaque,textiles_sanitaires,flou,pet_clair,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1392514182, 1392514163, 1392513657, 1392513594, 1392513557, 1392513497, 1392513282, 1392513270, 1392513215, 1392513139, 1392513058, 1392512506, 1392512498, 1392512484, 1392512458, 1392512439, 1392512255, 1392512241, 1392512192, 1392512152] Looping around the photos to save general results len do output : 1 /28178614. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514182', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514163', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513657', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513594', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513557', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513497', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513282', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513270', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513215', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513139', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513058', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512506', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512498', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512484', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512458', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512439', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512255', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512241', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512192', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512152', None, None, None, None, None, '4110985') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.020572423934936523 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.40400028228759766 time spend to save output : 0.020995140075683594 total time spend for step 4 : 0.42499542236328125 step5:final Tue Nov 25 09:12:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : {1392514182: ('0.3674861923098436',), 1392514163: ('0.3674861923098436',), 1392513657: ('0.3674861923098436',), 1392513594: ('0.3674861923098436',), 1392513557: ('0.3674861923098436',), 1392513497: ('0.3674861923098436',), 1392513282: ('0.3674861923098436',), 1392513270: ('0.3674861923098436',), 1392513215: ('0.3674861923098436',), 1392513139: ('0.3674861923098436',), 1392513058: ('0.3674861923098436',), 1392512506: ('0.3674861923098436',), 1392512498: ('0.3674861923098436',), 1392512484: ('0.3674861923098436',), 1392512458: ('0.3674861923098436',), 1392512439: ('0.3674861923098436',), 1392512255: ('0.3674861923098436',), 1392512241: ('0.3674861923098436',), 1392512192: ('0.3674861923098436',), 1392512152: ('0.3674861923098436',)} new output for save of step final : {1392514182: ('0.3674861923098436',), 1392514163: ('0.3674861923098436',), 1392513657: ('0.3674861923098436',), 1392513594: ('0.3674861923098436',), 1392513557: ('0.3674861923098436',), 1392513497: ('0.3674861923098436',), 1392513282: ('0.3674861923098436',), 1392513270: ('0.3674861923098436',), 1392513215: ('0.3674861923098436',), 1392513139: ('0.3674861923098436',), 1392513058: ('0.3674861923098436',), 1392512506: ('0.3674861923098436',), 1392512498: ('0.3674861923098436',), 1392512484: ('0.3674861923098436',), 1392512458: ('0.3674861923098436',), 1392512439: ('0.3674861923098436',), 1392512255: ('0.3674861923098436',), 1392512241: ('0.3674861923098436',), 1392512192: ('0.3674861923098436',), 1392512152: ('0.3674861923098436',)} [1392514182, 1392514163, 1392513657, 1392513594, 1392513557, 1392513497, 1392513282, 1392513270, 1392513215, 1392513139, 1392513058, 1392512506, 1392512498, 1392512484, 1392512458, 1392512439, 1392512255, 1392512241, 1392512192, 1392512152] Looping around the photos to save general results len do output : 20 /1392514182.Didn't retrieve data . /1392514163.Didn't retrieve data . /1392513657.Didn't retrieve data . /1392513594.Didn't retrieve data . /1392513557.Didn't retrieve data . /1392513497.Didn't retrieve data . /1392513282.Didn't retrieve data . /1392513270.Didn't retrieve data . /1392513215.Didn't retrieve data . /1392513139.Didn't retrieve data . /1392513058.Didn't retrieve data . /1392512506.Didn't retrieve data . /1392512498.Didn't retrieve data . /1392512484.Didn't retrieve data . /1392512458.Didn't retrieve data . /1392512439.Didn't retrieve data . /1392512255.Didn't retrieve data . /1392512241.Didn't retrieve data . /1392512192.Didn't retrieve data . /1392512152.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514182', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514163', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513657', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513594', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513557', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513497', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513282', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513270', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513215', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513139', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513058', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512506', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512498', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512484', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512458', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512439', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512255', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512241', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512192', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512152', None, None, None, None, None, '4110985') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.019177675247192383 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.042876482009887695 time spend to save output : 0.02003931999206543 total time spend for step 5 : 0.06291580200195312 step6:blur_detection Tue Nov 25 09:12:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.013730049133300781 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.015895366668701172 save missing photos in datou_result : time spend for datou_step_exec : 0.03047966957092285 time spend to save output : 0.03546309471130371 total time spend for step 6 : 0.06594276428222656 step7:brightness Tue Nov 25 09:12:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.010781049728393555 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.011874675750732422 save missing photos in datou_result : time spend for datou_step_exec : 0.032335519790649414 time spend to save output : 0.02767658233642578 total time spend for step 7 : 0.060012102127075195 step8:send_mail_cod Tue Nov 25 09:12:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 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_P28178614_25-11-2025_09_12_43.pdf 28179181 imagette281791811764058363 28179183 imagette281791831764058363 28179185 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette281791851764058363 28179186 change filename to text .imagette281791861764058366 28179187 imagette281791871764058366 28179188 imagette281791881764058366 28179189 imagette281791891764058366 28179190 imagette281791901764058366 28179192 imagette281791921764058366 28179193 imagette281791931764058366 28179195 imagette281791951764058366 28179196 imagette281791961764058366 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28178614 and hashtag_type = 4209 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28179181,28179182,28179183,28179184,28179185,28179186,28179187,28179188,28179189,28179190,28179191,28179192,28179193,28179194,28179195,28179196?tags=film_plastique,environnement,pet_fonce,papier,carton,barquette_opaque,etiquette,ela,kraft,pehd,mal_croppe,pet_opaque,textiles_sanitaires,flou,pet_clair,metal your option no_mail is active, we will not send the real mail to your client args[1392514182] : ((1392514182, -6.7683619315682755, 492609224), (1392514182, 0.3892298467958874, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392514163] : ((1392514163, -6.945615719354478, 492609224), (1392514163, 0.5690292488208759, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392513657] : ((1392513657, -6.998076247088418, 492609224), (1392513657, 0.3468612141246123, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392513594] : ((1392513594, -6.911380941790263, 492609224), (1392513594, 0.44097309553829683, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392513557] : ((1392513557, -6.775671070964981, 492609224), (1392513557, 0.36543761006923914, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392513497] : ((1392513497, -7.0521590522840665, 492609224), (1392513497, 0.7952172223253592, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392513282] : ((1392513282, -6.955513871491807, 492609224), (1392513282, 0.5063779369972844, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392513270] : ((1392513270, -6.959691950282244, 492609224), (1392513270, 0.4084969942295729, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392513215] : ((1392513215, -6.832398273662883, 492609224), (1392513215, 0.5895836103162011, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392513139] : ((1392513139, -6.122901266722938, 492609224), (1392513139, -0.057443052896656445, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392513058] : ((1392513058, -6.908589723197655, 492609224), (1392513058, 0.5131245649409969, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392512506] : ((1392512506, -7.046155243216761, 492609224), (1392512506, 0.5464379147152741, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392512498] : ((1392512498, -7.056628751546101, 492609224), (1392512498, 0.8396751446732524, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392512484] : ((1392512484, -6.210016257588126, 492609224), (1392512484, 0.26641476819386595, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392512458] : ((1392512458, -6.973355740715286, 492609224), (1392512458, 0.5134807228942079, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392512439] : ((1392512439, -6.948320162253026, 492609224), (1392512439, 0.6189939415522822, 2107752395), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392512255] : ((1392512255, -5.924891636251286, 492609224), (1392512255, -0.1290259255783662, 496442774), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392512241] : ((1392512241, -6.162561771549213, 492609224), (1392512241, -0.11398886711883643, 496442774), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392512192] : ((1392512192, -5.954334808139013, 492609224), (1392512192, -0.4679659850600695, 496442774), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com args[1392512152] : ((1392512152, -4.280676879983284, 492609224), (1392512152, -1.0843019300661074, 501862349), '0.3674861923098436') We are sending mail with results at kexin@fotonower.com refus_total : 0.3674861923098436 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=28178614 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_P28178614_25-11-2025_09_12_43.pdf results_COD_P28178614_25-11-2025_09_12_43.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28178614_25-11-2025_09_12_43.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4249','28178614','results_COD_P28178614_25-11-2025_09_12_43.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28178614_25-11-2025_09_12_43.pdf','pdf','','0.66','0.3674861923098436') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1392514182, 1392514163, 1392513657, 1392513594, 1392513557, 1392513497, 1392513282, 1392513270, 1392513215, 1392513139, 1392513058, 1392512506, 1392512498, 1392512484, 1392512458, 1392512439, 1392512255, 1392512241, 1392512192, 1392512152] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514182', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514163', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513657', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513594', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513557', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513497', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513282', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513270', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513215', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513139', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513058', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512506', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512498', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512484', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512458', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512439', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512255', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512241', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512192', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512152', None, None, None, None, None, '4110985') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01774287223815918 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.52401876449585 time spend to save output : 0.018024682998657227 total time spend for step 8 : 6.542043447494507 step9:split_time_score Tue Nov 25 09:12:49 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'}] (('19', 20),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04112025 28178614 Nombre de photos uploadées : 20 / 23040 (0%) 04112025 28178614 Nombre de photos taguées (types de déchets): 0 / 20 (0%) 04112025 28178614 Nombre de photos taguées (volume) : 0 / 20 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 5.9604644775390625e-06 ???????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0009677410125732422 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24971675872802734 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149990_04-11-2025_10_47_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28149990 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28149993_04-11-2025_10_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28149993 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150008_04-11-2025_11_28_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150008 order by id desc limit 1 Qualite : 0.20250158741640947 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150017_04-11-2025_11_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150017 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28150017 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150021_04-11-2025_10_39_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150021 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150041_04-11-2025_10_49_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150041 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150074_04-11-2025_10_40_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150074 order by id desc limit 1 Qualite : 0.08337288736051758 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150085_04-11-2025_10_55_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150085 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28150085 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150093_07-11-2025_13_01_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150093 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150093_07-11-2025_13_01_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150093 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150098_04-11-2025_12_27_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150098 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148212_04-11-2025_11_36_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148212 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148213_04-11-2025_10_06_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148213 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148213_04-11-2025_10_06_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148213 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148244_04-11-2025_10_35_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148244 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148257_04-11-2025_10_29_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148257 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148259_04-11-2025_18_01_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148259 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146686_07-11-2025_08_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146686 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146686_07-11-2025_08_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146686 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146701_04-11-2025_09_47_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146701 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146703_04-11-2025_10_05_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146703 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146705_04-11-2025_10_05_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146705 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146707_04-11-2025_09_40_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146707 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28146709_04-11-2025_09_41_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28146709 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148263_04-11-2025_10_12_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148263 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148269_04-11-2025_14_11_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148269 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148274_07-11-2025_09_10_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148274 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148274_07-11-2025_09_10_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148274 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148278_08-11-2025_19_21_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148278 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28148281_04-11-2025_10_23_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28148281 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150126_04-11-2025_10_56_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150126 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28150129_04-11-2025_10_56_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28150129 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28151926_07-11-2025_20_17_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28151926 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28151926_07-11-2025_20_17_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28151926 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28151929_04-11-2025_14_46_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28151929 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28151931_04-11-2025_11_13_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28151931 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154919_04-11-2025_13_56_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154919 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154938_04-11-2025_13_52_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154938 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154939_07-11-2025_21_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154939 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154939_07-11-2025_21_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154939 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28154940_04-11-2025_15_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28154940 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158424_04-11-2025_13_42_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158424 order by id desc limit 1 Qualite : 0.06749169040835708 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158426_04-11-2025_13_56_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158426 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28158426 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158428_04-11-2025_13_39_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158428 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158429_04-11-2025_13_55_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158429 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158431_04-11-2025_13_51_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158431 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158433_07-11-2025_19_09_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158433 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158433_07-11-2025_19_09_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158433 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158435_04-11-2025_14_01_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158435 order by id desc limit 1 Qualite : 0.09411060474537035 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158436_04-11-2025_13_44_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158436 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28158436 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158439_04-11-2025_13_44_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158439 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158457_04-11-2025_13_53_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158457 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158476_04-11-2025_13_40_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158476 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158477_04-11-2025_13_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158477 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158478_04-11-2025_13_40_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158478 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158478_04-11-2025_13_40_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158478 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158479_05-11-2025_03_32_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158479 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158479_05-11-2025_03_32_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158479 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28158480_04-11-2025_13_59_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28158480 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160919_08-11-2025_01_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160919 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160919_08-11-2025_01_39_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160919 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160920_04-11-2025_14_46_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160920 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160921_04-11-2025_14_42_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160921 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160922_04-11-2025_14_51_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160922 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28160923_04-11-2025_18_50_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28160923 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162127_04-11-2025_15_28_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28162127 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162128_04-11-2025_23_44_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28162128 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162142_04-11-2025_15_40_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28162142 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28162156_04-11-2025_15_18_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28162156 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165252_08-11-2025_00_40_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165252 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165252_08-11-2025_00_40_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165252 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165260_04-11-2025_16_21_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165260 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165266_05-11-2025_02_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165266 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165266_05-11-2025_02_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165266 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28165267_04-11-2025_16_29_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28165267 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185594_05-11-2025_00_16_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185594 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172412_04-11-2025_18_45_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172412 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172414_04-11-2025_18_49_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172414 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172416_04-11-2025_20_05_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172416 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172417_05-11-2025_01_39_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172417 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172417_05-11-2025_01_39_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172417 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172419_04-11-2025_18_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172419 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172422_04-11-2025_19_15_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172422 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172425_04-11-2025_19_05_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172425 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172427_04-11-2025_23_21_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172427 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172429_04-11-2025_18_47_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172429 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172432_04-11-2025_19_39_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172432 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172435_04-11-2025_21_32_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172435 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172437_04-11-2025_18_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172437 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172438_04-11-2025_19_12_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172438 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172446_04-11-2025_19_03_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172446 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172460_04-11-2025_22_25_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172460 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172480_04-11-2025_22_35_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172480 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172494_04-11-2025_23_50_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172494 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172507_04-11-2025_18_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172507 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28172509_04-11-2025_18_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28172509 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185596_05-11-2025_00_20_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185596 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178610_04-11-2025_21_10_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178610 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178611_04-11-2025_20_43_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178611 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178612_04-11-2025_21_11_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178612 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178613_04-11-2025_20_47_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178613 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28178614_25-11-2025_09_12_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178614 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178615_04-11-2025_21_09_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178615 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178628_04-11-2025_20_44_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178628 order by id desc limit 1 Qualite : 0.03070372781635802 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178638_05-11-2025_00_12_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178638 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28178638 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178642_04-11-2025_20_48_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178642 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178643_04-11-2025_20_41_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178643 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178644_04-11-2025_20_40_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178644 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28178645_04-11-2025_20_49_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28178645 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185597_05-11-2025_00_09_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185597 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185598_05-11-2025_00_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185598 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185599_05-11-2025_00_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185599 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185599_05-11-2025_00_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185599 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28185600_05-11-2025_00_27_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28185600 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04112025': {'nb_upload': 20, '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 [1392514182, 1392514163, 1392513657, 1392513594, 1392513557, 1392513497, 1392513282, 1392513270, 1392513215, 1392513139, 1392513058, 1392512506, 1392512498, 1392512484, 1392512458, 1392512439, 1392512255, 1392512241, 1392512192, 1392512152] Looping around the photos to save general results len do output : 1 /28178614Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514182', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392514163', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513657', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513594', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513557', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513497', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513282', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513270', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513215', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513139', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392513058', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512506', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512498', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512484', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512458', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512439', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512255', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512241', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512192', None, None, None, None, None, '4110985') ('4249', None, None, None, None, None, None, None, '4110985') ('4249', '28178614', '1392512152', None, None, None, None, None, '4110985') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.017175674438476562 save_final save missing photos in datou_result : time spend for datou_step_exec : 65.0002555847168 time spend to save output : 0.017470598220825195 total time spend for step 9 : 65.01772618293762 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 20 set_done_treatment 5.82user 3.16system 1:28.99elapsed 10%CPU (0avgtext+0avgdata 199912maxresident)k 64inputs+62712outputs (0major+206420minor)pagefaults 0swaps