python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4252 ' -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 : 2732378 load datou : 4252 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 doesn't seem to be define in the database( DataTypes for each output/input checked ! 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 : 4252, datou_cur_ids : ['4064021'] with mtr_portfolio_ids : ['28011620'] and first list_photo_ids : [] new path : /proc/2732378/ 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 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 doesn't seem to be define in the database( DataTypes for each output/input checked ! 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 2 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 23 ; length of list_pids : 23 ; length of list_args : 23 time to download the photos : 6.954453945159912 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 18 07:08:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 88 chid ids of type : 4211 batch 1 Loaded 551 chid ids of type : 4211 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 [1390381453, 1390381452, 1390381450, 1390381449, 1390381447, 1390381423, 1390381421, 1390381420, 1390381419, 1390381418, 1390381416, 1390381384, 1390381381, 1390381379, 1390381377, 1390381375, 1390381370, 1390381347, 1390381345, 1390381344, 1390381343, 1390381342, 1390381339] Looping around the photos to save general results len do output : 23 /1390381453Didn't retrieve data . /1390381452Didn't retrieve data . /1390381450Didn't retrieve data . /1390381449Didn't retrieve data . /1390381447Didn't retrieve data . /1390381423Didn't retrieve data . /1390381421Didn't retrieve data . /1390381420Didn't retrieve data . /1390381419Didn't retrieve data . /1390381418Didn't retrieve data . /1390381416Didn't retrieve data . /1390381384Didn't retrieve data . /1390381381Didn't retrieve data . /1390381379Didn't retrieve data . /1390381377Didn't retrieve data . /1390381375Didn't retrieve data . /1390381370Didn't retrieve data . /1390381347Didn't retrieve data . /1390381345Didn't retrieve data . /1390381344Didn't retrieve data . /1390381343Didn't retrieve data . /1390381342Didn't retrieve data . /1390381339Didn'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 ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381453', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381452', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381450', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381449', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381447', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381423', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381421', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381420', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381419', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381418', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381416', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381384', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381381', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381379', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381377', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381375', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381370', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381347', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381345', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381344', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381343', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381342', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381339', None, None, None, None, None, '4064021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 time used for this insertion : 0.01625347137451172 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13688063621520996 time spend to save output : 0.01703500747680664 total time spend for step 1 : 0.1539156436920166 step2:consolidate_hashtags_from_manual_portfolio Tue Nov 18 07:08:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 28011620 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`=28011620 AND mptpi.`type`=4211 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`=28011620 AND mptpi.`type`=4211 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`=28011620 AND mptpi.`type`=4211 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=28048604 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 103 chid ids of type : 4211 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=28048605 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 195 chid ids of type : 4211 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=28048606 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=28048607 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 85 chid ids of type : 4211 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=28048608 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 516 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28048609 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 542 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28048610 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=28048612 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 82 chid ids of type : 4211 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=28048613 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=28048614 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 105 chid ids of type : 4211 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=28048615 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 95 chid ids of type : 4211 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=28048616 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 439 chid ids of type : 4211 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=28048617 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 330 chid ids of type : 4211 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=28048618 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=28048619 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=28048620 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 551 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28644532 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 [1390381453, 1390381452, 1390381450, 1390381449, 1390381447, 1390381423, 1390381421, 1390381420, 1390381419, 1390381418, 1390381416, 1390381384, 1390381381, 1390381379, 1390381377, 1390381375, 1390381370, 1390381347, 1390381345, 1390381344, 1390381343, 1390381342, 1390381339] 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 : 23 time used for this insertion : 0.015869855880737305 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.51883864402771 time spend to save output : 0.01606607437133789 total time spend for step 2 : 7.534904718399048 step3:rle_unique_nms_with_priority Tue Nov 18 07:08:45 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 457 chid ids of type : 4211 seulement à utiliser dans la step consolidation batch 1 Loaded 27 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028296947479248047 seulement à utiliser dans la step consolidation batch 1 Loaded 20 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02712416648864746 seulement à utiliser dans la step consolidation batch 1 Loaded 25 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.21625185012817383 seulement à utiliser dans la step consolidation batch 1 Loaded 28 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.204118013381958 seulement à utiliser dans la step consolidation batch 1 Loaded 24 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028644800186157227 seulement à utiliser dans la step consolidation batch 1 Loaded 25 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028666019439697266 seulement à utiliser dans la step consolidation batch 1 Loaded 26 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03608345985412598 seulement à utiliser dans la step consolidation batch 1 Loaded 24 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028428077697753906 seulement à utiliser dans la step consolidation batch 1 Loaded 28 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1862494945526123 seulement à utiliser dans la step consolidation batch 1 Loaded 23 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1460552215576172 seulement à utiliser dans la step consolidation batch 1 Loaded 31 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031056642532348633 seulement à utiliser dans la step consolidation batch 1 Loaded 19 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.027506589889526367 seulement à utiliser dans la step consolidation batch 1 Loaded 26 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.17481446266174316 seulement à utiliser dans la step consolidation batch 1 Loaded 28 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.06940913200378418 seulement à utiliser dans la step consolidation batch 1 Loaded 33 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032007455825805664 seulement à utiliser dans la step consolidation batch 1 Loaded 28 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03029608726501465 seulement à utiliser dans la step consolidation batch 1 Loaded 26 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03388476371765137 seulement à utiliser dans la step consolidation batch 1 Loaded 19 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029898643493652344 seulement à utiliser dans la step consolidation batch 1 Loaded 23 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.13750529289245605 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02631974220275879 seulement à utiliser dans la step consolidation batch 1 Loaded 28 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029997825622558594 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02929377555847168 seulement à utiliser dans la step consolidation batch 1 Loaded 24 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02831292152404785 map_output_result : {1390381453: (0.0, 'Should be the crop_list due to order', 0), 1390381452: (0.0, 'Should be the crop_list due to order', 0), 1390381450: (0.0, 'Should be the crop_list due to order', 0), 1390381449: (0.0, 'Should be the crop_list due to order', 0), 1390381447: (0.0, 'Should be the crop_list due to order', 0), 1390381423: (0.0, 'Should be the crop_list due to order', 0), 1390381421: (0.0, 'Should be the crop_list due to order', 0), 1390381420: (0.0, 'Should be the crop_list due to order', 0), 1390381419: (0.0, 'Should be the crop_list due to order', 0), 1390381418: (0.0, 'Should be the crop_list due to order', 0), 1390381416: (0.0, 'Should be the crop_list due to order', 0), 1390381384: (0.0, 'Should be the crop_list due to order', 0), 1390381381: (0.0, 'Should be the crop_list due to order', 0), 1390381379: (0.0, 'Should be the crop_list due to order', 0), 1390381377: (0.0, 'Should be the crop_list due to order', 0), 1390381375: (0.0, 'Should be the crop_list due to order', 0), 1390381370: (0.0, 'Should be the crop_list due to order', 0), 1390381347: (0.0, 'Should be the crop_list due to order', 0), 1390381345: (0.0, 'Should be the crop_list due to order', 0), 1390381344: (0.0, 'Should be the crop_list due to order', 0), 1390381343: (0.0, 'Should be the crop_list due to order', 0), 1390381342: (0.0, 'Should be the crop_list due to order', 0), 1390381339: (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 [1390381453, 1390381452, 1390381450, 1390381449, 1390381447, 1390381423, 1390381421, 1390381420, 1390381419, 1390381418, 1390381416, 1390381384, 1390381381, 1390381379, 1390381377, 1390381375, 1390381370, 1390381347, 1390381345, 1390381344, 1390381343, 1390381342, 1390381339] Looping around the photos to save general results len do output : 23 /1390381453.Didn't retrieve data . /1390381452.Didn't retrieve data . /1390381450.Didn't retrieve data . /1390381449.Didn't retrieve data . /1390381447.Didn't retrieve data . /1390381423.Didn't retrieve data . /1390381421.Didn't retrieve data . /1390381420.Didn't retrieve data . /1390381419.Didn't retrieve data . /1390381418.Didn't retrieve data . /1390381416.Didn't retrieve data . /1390381384.Didn't retrieve data . /1390381381.Didn't retrieve data . /1390381379.Didn't retrieve data . /1390381377.Didn't retrieve data . /1390381375.Didn't retrieve data . /1390381370.Didn't retrieve data . /1390381347.Didn't retrieve data . /1390381345.Didn't retrieve data . /1390381344.Didn't retrieve data . /1390381343.Didn't retrieve data . /1390381342.Didn't retrieve data . /1390381339.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 ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381453', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381452', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381450', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381449', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381447', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381423', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381421', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381420', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381419', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381418', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381416', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381384', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381381', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381379', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381377', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381375', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381370', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381347', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381345', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381344', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381343', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381342', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381339', None, None, None, None, None, '4064021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 69 time used for this insertion : 0.013899564743041992 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.885738372802734 time spend to save output : 0.01479792594909668 total time spend for step 3 : 4.900536298751831 step4:ventilate_hashtags_in_portfolio Tue Nov 18 07:08: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 ! 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 : 28011620 get user id for portfolio 28011620 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`=28011620 AND mptpi.`type`=4211 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`=28011620 AND mptpi.`type`=4211 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/28048604,28048605,28048606,28048607,28048608,28048609,28048610,28048612,28048613,28048614,28048615,28048616,28048617,28048618,28048619,28048620?tags=environnement,pet_clair,pet_fonce,ela,pehd,mal_croppe,kraft,flou,textiles_sanitaires,etiquette,papier,pet_opaque,carton,film_plastique,metal,barquette_opaque Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1390381453, 1390381452, 1390381450, 1390381449, 1390381447, 1390381423, 1390381421, 1390381420, 1390381419, 1390381418, 1390381416, 1390381384, 1390381381, 1390381379, 1390381377, 1390381375, 1390381370, 1390381347, 1390381345, 1390381344, 1390381343, 1390381342, 1390381339] Looping around the photos to save general results len do output : 1 /28011620. 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 ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381453', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381452', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381450', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381449', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381447', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381423', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381421', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381420', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381419', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381418', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381416', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381384', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381381', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381379', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381377', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381375', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381370', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381347', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381345', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381344', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381343', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381342', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381339', None, None, None, None, None, '4064021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.014623641967773438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.41009020805358887 time spend to save output : 0.014946222305297852 total time spend for step 4 : 0.4250364303588867 step5:final Tue Nov 18 07:08:50 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 : {1390381453: ('0.09457102134680281',), 1390381452: ('0.09457102134680281',), 1390381450: ('0.09457102134680281',), 1390381449: ('0.09457102134680281',), 1390381447: ('0.09457102134680281',), 1390381423: ('0.09457102134680281',), 1390381421: ('0.09457102134680281',), 1390381420: ('0.09457102134680281',), 1390381419: ('0.09457102134680281',), 1390381418: ('0.09457102134680281',), 1390381416: ('0.09457102134680281',), 1390381384: ('0.09457102134680281',), 1390381381: ('0.09457102134680281',), 1390381379: ('0.09457102134680281',), 1390381377: ('0.09457102134680281',), 1390381375: ('0.09457102134680281',), 1390381370: ('0.09457102134680281',), 1390381347: ('0.09457102134680281',), 1390381345: ('0.09457102134680281',), 1390381344: ('0.09457102134680281',), 1390381343: ('0.09457102134680281',), 1390381342: ('0.09457102134680281',), 1390381339: ('0.09457102134680281',)} new output for save of step final : {1390381453: ('0.09457102134680281',), 1390381452: ('0.09457102134680281',), 1390381450: ('0.09457102134680281',), 1390381449: ('0.09457102134680281',), 1390381447: ('0.09457102134680281',), 1390381423: ('0.09457102134680281',), 1390381421: ('0.09457102134680281',), 1390381420: ('0.09457102134680281',), 1390381419: ('0.09457102134680281',), 1390381418: ('0.09457102134680281',), 1390381416: ('0.09457102134680281',), 1390381384: ('0.09457102134680281',), 1390381381: ('0.09457102134680281',), 1390381379: ('0.09457102134680281',), 1390381377: ('0.09457102134680281',), 1390381375: ('0.09457102134680281',), 1390381370: ('0.09457102134680281',), 1390381347: ('0.09457102134680281',), 1390381345: ('0.09457102134680281',), 1390381344: ('0.09457102134680281',), 1390381343: ('0.09457102134680281',), 1390381342: ('0.09457102134680281',), 1390381339: ('0.09457102134680281',)} [1390381453, 1390381452, 1390381450, 1390381449, 1390381447, 1390381423, 1390381421, 1390381420, 1390381419, 1390381418, 1390381416, 1390381384, 1390381381, 1390381379, 1390381377, 1390381375, 1390381370, 1390381347, 1390381345, 1390381344, 1390381343, 1390381342, 1390381339] Looping around the photos to save general results len do output : 23 /1390381453.Didn't retrieve data . /1390381452.Didn't retrieve data . /1390381450.Didn't retrieve data . /1390381449.Didn't retrieve data . /1390381447.Didn't retrieve data . /1390381423.Didn't retrieve data . /1390381421.Didn't retrieve data . /1390381420.Didn't retrieve data . /1390381419.Didn't retrieve data . /1390381418.Didn't retrieve data . /1390381416.Didn't retrieve data . /1390381384.Didn't retrieve data . /1390381381.Didn't retrieve data . /1390381379.Didn't retrieve data . /1390381377.Didn't retrieve data . /1390381375.Didn't retrieve data . /1390381370.Didn't retrieve data . /1390381347.Didn't retrieve data . /1390381345.Didn't retrieve data . /1390381344.Didn't retrieve data . /1390381343.Didn't retrieve data . /1390381342.Didn't retrieve data . /1390381339.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 ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381453', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381452', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381450', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381449', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381447', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381423', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381421', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381420', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381419', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381418', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381416', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381384', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381381', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381379', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381377', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381375', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381370', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381347', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381345', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381344', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381343', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381342', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381339', None, None, None, None, None, '4064021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 69 time used for this insertion : 0.014902591705322266 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.034989118576049805 time spend to save output : 0.01582813262939453 total time spend for step 5 : 0.050817251205444336 step6:blur_detection Tue Nov 18 07:08:50 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 : 23 time used for this insertion : 0.009734153747558594 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 23 time used for this insertion : 0.08900880813598633 save missing photos in datou_result : time spend for datou_step_exec : 0.05581164360046387 time spend to save output : 0.10313820838928223 total time spend for step 6 : 0.1589498519897461 step7:brightness Tue Nov 18 07:08:50 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 : 23 time used for this insertion : 0.010834693908691406 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 23 time used for this insertion : 0.011059761047363281 save missing photos in datou_result : time spend for datou_step_exec : 0.02671074867248535 time spend to save output : 0.026449203491210938 total time spend for step 7 : 0.05315995216369629 step8:send_mail_cod Tue Nov 18 07:08:50 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_P28011620_18-11-2025_07_08_50.pdf 28048605 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 .imagette280486051763446130 28048606 imagette280486061763446132 28048607 change filename to text .change filename to text .change filename to text .imagette280486071763446132 28048610 imagette280486101763446132 28048613 imagette280486131763446132 28048614 change filename to text .change filename to text .change filename to text .change filename to text .imagette280486141763446132 28048615 change filename to text .change filename to text .change filename to text .change filename to text .imagette280486151763446133 28048616 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 .imagette280486161763446133 28048617 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 .imagette280486171763446136 28048618 imagette280486181763446139 28048619 imagette280486191763446139 28048620 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 .imagette280486201763446139 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28011620 and hashtag_type = 4211 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28048604,28048605,28048606,28048607,28048608,28048609,28048610,28048612,28048613,28048614,28048615,28048616,28048617,28048618,28048619,28048620?tags=environnement,pet_clair,pet_fonce,ela,pehd,mal_croppe,kraft,flou,textiles_sanitaires,etiquette,papier,pet_opaque,carton,film_plastique,metal,barquette_opaque your option no_mail is active, we will not send the real mail to your client args[1390381453] : ((1390381453, -6.524402810077059, 492609224), (1390381453, 0.816979476083292, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381452] : ((1390381452, -6.081001763619672, 492609224), (1390381452, 0.6255741670143004, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381450] : ((1390381450, -5.9125934776532665, 492609224), (1390381450, 0.14185855913954148, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381449] : ((1390381449, -5.807836304831312, 492609224), (1390381449, 0.6628528069097581, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381447] : ((1390381447, -5.8772265737759195, 492609224), (1390381447, 0.6063671815765491, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381423] : ((1390381423, -6.053385477927584, 492609224), (1390381423, 0.634508406691469, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381421] : ((1390381421, -6.159016680456121, 492609224), (1390381421, 0.6380302438605682, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381420] : ((1390381420, -6.010818571445579, 492609224), (1390381420, 0.5961062394695026, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381419] : ((1390381419, -6.058155612224186, 492609224), (1390381419, 0.578254826098314, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381418] : ((1390381418, -5.78596459286995, 492609224), (1390381418, 0.33640045555922415, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381416] : ((1390381416, -6.18030578985879, 492609224), (1390381416, 0.6787893751168568, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381384] : ((1390381384, -5.596094686858218, 492609224), (1390381384, 0.07607149566855205, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381381] : ((1390381381, -5.937969613970595, 492609224), (1390381381, 0.4364217220974791, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381379] : ((1390381379, -5.931392079046502, 492609224), (1390381379, 0.5375258202149683, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381377] : ((1390381377, -6.039642359654837, 492609224), (1390381377, 0.5991254532835806, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381375] : ((1390381375, -6.129115200358953, 492609224), (1390381375, 0.563553768575897, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381370] : ((1390381370, -6.059827246328756, 492609224), (1390381370, 0.6211883787174326, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381347] : ((1390381347, -6.092511049279969, 492609224), (1390381347, 0.5866522511020507, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381345] : ((1390381345, -5.966966926904596, 492609224), (1390381345, 0.5680867135987276, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381344] : ((1390381344, -4.000675176306594, 492609224), (1390381344, -0.7787254570721007, 501862349), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381343] : ((1390381343, -6.097392883129191, 492609224), (1390381343, 0.23084179783550912, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381342] : ((1390381342, -5.378509991054674, 492609224), (1390381342, 0.022171212286297107, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com args[1390381339] : ((1390381339, -6.0023982751363745, 492609224), (1390381339, 0.5525049076257603, 2107752395), '0.09457102134680281') We are sending mail with results at kexin@fotonower.com refus_total : 0.09457102134680281 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=28011620 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_P28011620_18-11-2025_07_08_50.pdf results_COD_P28011620_18-11-2025_07_08_50.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28011620_18-11-2025_07_08_50.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4252','28011620','results_COD_P28011620_18-11-2025_07_08_50.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28011620_18-11-2025_07_08_50.pdf','pdf','','0.99','0.09457102134680281') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1390381453, 1390381452, 1390381450, 1390381449, 1390381447, 1390381423, 1390381421, 1390381420, 1390381419, 1390381418, 1390381416, 1390381384, 1390381381, 1390381379, 1390381377, 1390381375, 1390381370, 1390381347, 1390381345, 1390381344, 1390381343, 1390381342, 1390381339] 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 ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381453', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381452', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381450', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381449', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381447', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381423', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381421', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381420', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381419', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381418', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381416', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381384', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381381', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381379', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381377', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381375', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381370', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381347', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381345', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381344', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381343', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381342', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381339', None, None, None, None, None, '4064021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.015783071517944336 save_final save missing photos in datou_result : time spend for datou_step_exec : 15.924425601959229 time spend to save output : 0.01620960235595703 total time spend for step 8 : 15.940635204315186 step9:split_time_score Tue Nov 18 07:09:06 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('14', 11), ('15', 12)) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20102025 28011620 Nombre de photos uploadées : 23 / 23040 (0%) 20102025 28011620 Nombre de photos taguées (types de déchets): 0 / 23 (0%) 20102025 28011620 Nombre de photos taguées (volume) : 0 / 23 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ??????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012860298156738281 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21855807304382324 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_P28011311_31-10-2025_12_47_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011311 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011312_01-11-2025_15_48_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011312_01-11-2025_15_48_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011313_31-10-2025_15_13_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011313 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011317_01-11-2025_02_30_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011317 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011319_01-11-2025_02_04_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011319 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011321_01-11-2025_08_38_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011321 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011321_01-11-2025_08_38_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011321 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011335_01-11-2025_01_55_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011335 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011349_31-10-2025_12_13_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011349 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011351_31-10-2025_12_53_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011351 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011353_01-11-2025_16_01_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011353 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011353_01-11-2025_16_01_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011353 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011355_01-11-2025_01_48_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011355 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011369_31-10-2025_15_14_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011369 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011384_31-10-2025_14_33_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011384 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011386_01-11-2025_01_19_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011386 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011401_31-10-2025_12_11_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011401 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011404_31-10-2025_12_43_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011404 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011407_01-11-2025_16_42_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011407 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011407_01-11-2025_16_42_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011407 order by id desc limit 1 Qualite : 0.05865098467312007 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011425_31-10-2025_13_14_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011425 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`=28011425 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011427_31-10-2025_12_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011427 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011428_01-11-2025_08_53_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011428 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011428_01-11-2025_08_53_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011428 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011430_31-10-2025_14_17_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011430 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011431_01-11-2025_16_11_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011431 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011431_01-11-2025_16_11_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011431 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011432_01-11-2025_02_19_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011432 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011433_31-10-2025_14_09_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011433 order by id desc limit 1 Qualite : 0.06411140046296296 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011434_31-10-2025_12_53_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011434 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`=28011434 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011435_31-10-2025_10_50_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011435 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011452_01-11-2025_00_48_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011452 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011453_01-11-2025_16_30_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011453 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011466_01-11-2025_00_29_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011466 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011486_31-10-2025_10_37_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011486 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011494_31-10-2025_13_55_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011494 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011507_01-11-2025_18_31_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011507 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011507_01-11-2025_18_31_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011507 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011509_31-10-2025_10_45_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011509 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011511_01-11-2025_00_08_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011511 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011514_31-10-2025_23_46_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011514 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011517_01-11-2025_18_27_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011517 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011517_01-11-2025_18_27_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011517 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011520_31-10-2025_14_13_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011520 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011523_31-10-2025_12_22_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011523 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011526_31-10-2025_10_55_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011526 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011528_31-10-2025_23_13_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011528 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011560_31-10-2025_12_42_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011560 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011598_01-11-2025_21_16_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011598 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011598_01-11-2025_21_16_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011598 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011618_31-10-2025_13_37_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011618 order by id desc limit 1 Qualite : 0.09457102134680281 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28011620_18-11-2025_07_08_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011620 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28011620 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011622_01-11-2025_13_10_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011622 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011622_01-11-2025_13_10_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011622 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011624_31-10-2025_10_32_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011624 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011642_31-10-2025_10_19_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011642 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011643_31-10-2025_10_18_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011643 order by id desc limit 1 Qualite : 0.08849115735382376 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011645_31-10-2025_12_51_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011645 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`=28011645 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011647_01-11-2025_09_07_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011647 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011648_01-11-2025_13_15_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011648 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011648_01-11-2025_13_15_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011648 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011649_31-10-2025_11_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011649 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011650_31-10-2025_22_48_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011650 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011652_31-10-2025_18_26_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011652 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011654_31-10-2025_10_12_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011654 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011655_31-10-2025_10_20_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011655 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011657_01-11-2025_16_35_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011657 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011659_01-11-2025_12_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011659 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011659_01-11-2025_12_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011659 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011660_31-10-2025_10_20_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011660 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011662_31-10-2025_10_29_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011662 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011664_31-10-2025_22_15_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011664 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011666_31-10-2025_10_03_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011666 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011668_31-10-2025_21_57_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011668 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011669_01-11-2025_12_10_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011669 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011669_01-11-2025_12_10_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011669 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011670_01-11-2025_04_11_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011670 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011672_31-10-2025_10_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011672 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011674_31-10-2025_09_59_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011674 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011688_31-10-2025_09_57_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011688 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011719_31-10-2025_10_48_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011719 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011735_31-10-2025_10_15_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011735 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011737_31-10-2025_12_55_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011737 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011739_31-10-2025_19_56_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011739 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011741_31-10-2025_10_15_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011741 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011743_31-10-2025_10_36_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011743 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011745_31-10-2025_10_12_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011745 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011748_31-10-2025_10_09_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011748 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011751_01-11-2025_12_13_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011751 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011751_01-11-2025_12_13_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011751 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011776_31-10-2025_22_37_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011776 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011784_31-10-2025_13_50_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011784 order by id desc limit 1 Qualite : 0.05911277488425925 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011793_31-10-2025_12_23_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011793 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`=28011793 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011796_31-10-2025_10_32_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011796 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011799_31-10-2025_09_57_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011799 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011802_31-10-2025_10_06_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011802 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011804_01-11-2025_09_23_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011804 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P28011805_31-10-2025_10_04_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28011805 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20102025': {'nb_upload': 23, '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 [1390381453, 1390381452, 1390381450, 1390381449, 1390381447, 1390381423, 1390381421, 1390381420, 1390381419, 1390381418, 1390381416, 1390381384, 1390381381, 1390381379, 1390381377, 1390381375, 1390381370, 1390381347, 1390381345, 1390381344, 1390381343, 1390381342, 1390381339] Looping around the photos to save general results len do output : 1 /28011620Didn'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 ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381453', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381452', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381450', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381449', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381447', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381423', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381421', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381420', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381419', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381418', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381416', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381384', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381381', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381379', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381377', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381375', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381370', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381347', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381345', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381344', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381343', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381342', None, None, None, None, None, '4064021') ('4252', None, None, None, None, None, None, None, '4064021') ('4252', '28011620', '1390381339', None, None, None, None, None, '4064021') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.014168977737426758 save_final save missing photos in datou_result : time spend for datou_step_exec : 59.235082149505615 time spend to save output : 0.014496564865112305 total time spend for step 9 : 59.24957871437073 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 23 set_done_treatment 6.42user 2.18system 1:39.77elapsed 8%CPU (0avgtext+0avgdata 198560maxresident)k 304inputs+91328outputs (3major+196551minor)pagefaults 0swaps