python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4255 ' -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 : 372987 load datou : 4255 # 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 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 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 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 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 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 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 : 4255, datou_cur_ids : ['3794311'] with mtr_portfolio_ids : ['24498690'] and first list_photo_ids : [] new path : /proc/372987/ 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 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 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 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 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 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 29 ; length of list_pids : 29 ; length of list_args : 29 time to download the photos : 6.964676856994629 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 Sep 30 17:08:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 710 chid ids of type : 3327 batch 1 Loaded 262 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 283 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 254 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 217 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 269 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 215 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 58 chid ids of type : 3327 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 [1369878131, 1369878091, 1369878090, 1369878088, 1369878086, 1369877993, 1369877991, 1369877988, 1369877985, 1369877982, 1369877743, 1369877740, 1369877737, 1369877734, 1369877731, 1369877514, 1369877512, 1369877510, 1369877508, 1369877506, 1369877503, 1369877412, 1369877411, 1369877410, 1369877409, 1369877408, 1369877407, 1369877390, 1369877389] Looping around the photos to save general results len do output : 29 /1369877389Didn't retrieve data . /1369877390Didn't retrieve data . /1369877407Didn't retrieve data . /1369877408Didn't retrieve data . /1369877409Didn't retrieve data . /1369877410Didn't retrieve data . /1369877411Didn't retrieve data . /1369877412Didn't retrieve data . /1369877503Didn't retrieve data . /1369877506Didn't retrieve data . /1369877508Didn't retrieve data . /1369877510Didn't retrieve data . /1369877512Didn't retrieve data . /1369877514Didn't retrieve data . /1369877731Didn't retrieve data . /1369877734Didn't retrieve data . /1369877737Didn't retrieve data . /1369877740Didn't retrieve data . /1369877743Didn't retrieve data . /1369877982Didn't retrieve data . /1369877985Didn't retrieve data . /1369877988Didn't retrieve data . /1369877991Didn't retrieve data . /1369877993Didn't retrieve data . /1369878086Didn't retrieve data . /1369878088Didn't retrieve data . /1369878090Didn't retrieve data . /1369878091Didn't retrieve data . /1369878131Didn'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 ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878131', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878091', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878090', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878088', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878086', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877993', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877991', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877988', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877985', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877982', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877743', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877740', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877737', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877734', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877731', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877514', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877512', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877510', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877508', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877506', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877503', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877412', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877411', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877410', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877409', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877408', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877407', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877390', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877389', None, None, None, None, None, '3794311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 58 time used for this insertion : 0.041051387786865234 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3010566234588623 time spend to save output : 0.042490482330322266 total time spend for step 1 : 1.3435471057891846 step2:consolidate_hashtags_from_manual_portfolio Tue Sep 30 17: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 : 24498690 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`=24498690 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) 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`=24498690 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) 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`=24498690 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) 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=24499736 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=24499738 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 643 chid ids of type : 3327 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=24499739 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=24499740 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=24499742 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 109 chid ids of type : 3327 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=24499743 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1366 chid ids of type : 3327 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 : 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=24499744 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 60 chid ids of type : 3327 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=24499745 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=24499746 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=24499748 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 58 chid ids of type : 3327 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=24499749 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1558 chid ids of type : 3327 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 : 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=24499750 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=27357198 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=27357199 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 [1369878131, 1369878091, 1369878090, 1369878088, 1369878086, 1369877993, 1369877991, 1369877988, 1369877985, 1369877982, 1369877743, 1369877740, 1369877737, 1369877734, 1369877731, 1369877514, 1369877512, 1369877510, 1369877508, 1369877506, 1369877503, 1369877412, 1369877411, 1369877410, 1369877409, 1369877408, 1369877407, 1369877390, 1369877389] 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 : 29 time used for this insertion : 0.03799700736999512 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.179397344589233 time spend to save output : 0.038195133209228516 total time spend for step 2 : 16.217592477798462 step3:rle_unique_nms_with_priority Tue Sep 30 17:08:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 608 chid ids of type : 3327 seulement à utiliser dans la step consolidation batch 1 Loaded 58 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10766220092773438 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10898041725158691 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10697007179260254 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10665655136108398 seulement à utiliser dans la step consolidation batch 1 Loaded 60 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10691547393798828 seulement à utiliser dans la step consolidation batch 1 Loaded 66 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10928034782409668 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.11495661735534668 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10402131080627441 seulement à utiliser dans la step consolidation batch 1 Loaded 54 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1082606315612793 seulement à utiliser dans la step consolidation batch 1 Loaded 46 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10550689697265625 seulement à utiliser dans la step consolidation batch 1 Loaded 43 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10639452934265137 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1051945686340332 seulement à utiliser dans la step consolidation batch 1 Loaded 59 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10820603370666504 seulement à utiliser dans la step consolidation batch 1 Loaded 60 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10755467414855957 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10704493522644043 seulement à utiliser dans la step consolidation batch 1 Loaded 49 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10689830780029297 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10442519187927246 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10422682762145996 seulement à utiliser dans la step consolidation batch 1 Loaded 49 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10655736923217773 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1061868667602539 seulement à utiliser dans la step consolidation batch 1 Loaded 67 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10700154304504395 seulement à utiliser dans la step consolidation batch 1 Loaded 64 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10611748695373535 seulement à utiliser dans la step consolidation batch 1 Loaded 47 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10463452339172363 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10681533813476562 seulement à utiliser dans la step consolidation batch 1 Loaded 47 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10480713844299316 seulement à utiliser dans la step consolidation batch 1 Loaded 56 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10745382308959961 seulement à utiliser dans la step consolidation batch 1 Loaded 51 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10466933250427246 seulement à utiliser dans la step consolidation batch 1 Loaded 59 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10693550109863281 seulement à utiliser dans la step consolidation batch 1 Loaded 49 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10655355453491211 map_output_result : {1369878131: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369878091: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369878090: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369878088: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369878086: (0.00023308890314894498, 'Should be the crop_list due to order', 0.006690944373853681), 1369877993: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877991: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877988: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877985: (0.00023308890314894498, 'Should be the crop_list due to order', 6.86338174657227e-05), 1369877982: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877743: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877740: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877737: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877734: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877731: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877514: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877512: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877510: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877508: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877506: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877503: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877412: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877411: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877410: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877409: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877408: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877407: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877390: (0.00023308890314894498, 'Should be the crop_list due to order', 0.0), 1369877389: (0.00023308890314894498, 'Should be the crop_list due to order', 0.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 [1369878131, 1369878091, 1369878090, 1369878088, 1369878086, 1369877993, 1369877991, 1369877988, 1369877985, 1369877982, 1369877743, 1369877740, 1369877737, 1369877734, 1369877731, 1369877514, 1369877512, 1369877510, 1369877508, 1369877506, 1369877503, 1369877412, 1369877411, 1369877410, 1369877409, 1369877408, 1369877407, 1369877390, 1369877389] Looping around the photos to save general results len do output : 29 /1369878131.Didn't retrieve data . /1369878091.Didn't retrieve data . /1369878090.Didn't retrieve data . /1369878088.Didn't retrieve data . /1369878086.Didn't retrieve data . /1369877993.Didn't retrieve data . /1369877991.Didn't retrieve data . /1369877988.Didn't retrieve data . /1369877985.Didn't retrieve data . /1369877982.Didn't retrieve data . /1369877743.Didn't retrieve data . /1369877740.Didn't retrieve data . /1369877737.Didn't retrieve data . /1369877734.Didn't retrieve data . /1369877731.Didn't retrieve data . /1369877514.Didn't retrieve data . /1369877512.Didn't retrieve data . /1369877510.Didn't retrieve data . /1369877508.Didn't retrieve data . /1369877506.Didn't retrieve data . /1369877503.Didn't retrieve data . /1369877412.Didn't retrieve data . /1369877411.Didn't retrieve data . /1369877410.Didn't retrieve data . /1369877409.Didn't retrieve data . /1369877408.Didn't retrieve data . /1369877407.Didn't retrieve data . /1369877390.Didn't retrieve data . /1369877389.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 ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878131', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878091', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878090', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878088', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878086', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877993', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877991', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877988', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877985', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877982', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877743', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877740', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877737', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877734', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877731', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877514', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877512', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877510', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877508', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877506', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877503', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877412', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877411', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877410', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877409', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877408', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877407', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877390', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877389', None, None, None, None, None, '3794311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 87 time used for this insertion : 0.03844881057739258 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.187978744506836 time spend to save output : 0.03947806358337402 total time spend for step 3 : 6.22745680809021 step4:ventilate_hashtags_in_portfolio Tue Sep 30 17:08:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 : 24498690 get user id for portfolio 24498690 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`=24498690 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 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`=24498690 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) 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`=24498690 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/24499736,24499738,24499739,24499740,24499742,24499743,24499744,24499745,24499746,24499748,24499749,24499750,27357215?tags=barquette_avec_film,flou,pehd,carton,etiquette,mal_croppe,papier,verre,metal,bouchon,pet_clair,pet_fonce,emr Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1369878131, 1369878091, 1369878090, 1369878088, 1369878086, 1369877993, 1369877991, 1369877988, 1369877985, 1369877982, 1369877743, 1369877740, 1369877737, 1369877734, 1369877731, 1369877514, 1369877512, 1369877510, 1369877508, 1369877506, 1369877503, 1369877412, 1369877411, 1369877410, 1369877409, 1369877408, 1369877407, 1369877390, 1369877389] Looping around the photos to save general results len do output : 1 /24498690. 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 ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878131', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878091', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878090', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878088', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878086', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877993', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877991', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877988', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877985', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877982', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877743', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877740', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877737', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877734', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877731', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877514', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877512', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877510', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877508', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877506', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877503', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877412', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877411', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877410', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877409', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877408', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877407', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877390', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877389', None, None, None, None, None, '3794311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.039350032806396484 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2069392204284668 time spend to save output : 0.03968048095703125 total time spend for step 4 : 1.246619701385498 step5:final Tue Sep 30 17:09:01 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 : {1369878131: ('0.0007420815827461854',), 1369878091: ('0.0007420815827461854',), 1369878090: ('0.0007420815827461854',), 1369878088: ('0.0007420815827461854',), 1369878086: ('0.0007420815827461854',), 1369877993: ('0.0007420815827461854',), 1369877991: ('0.0007420815827461854',), 1369877988: ('0.0007420815827461854',), 1369877985: ('0.0007420815827461854',), 1369877982: ('0.0007420815827461854',), 1369877743: ('0.0007420815827461854',), 1369877740: ('0.0007420815827461854',), 1369877737: ('0.0007420815827461854',), 1369877734: ('0.0007420815827461854',), 1369877731: ('0.0007420815827461854',), 1369877514: ('0.0007420815827461854',), 1369877512: ('0.0007420815827461854',), 1369877510: ('0.0007420815827461854',), 1369877508: ('0.0007420815827461854',), 1369877506: ('0.0007420815827461854',), 1369877503: ('0.0007420815827461854',), 1369877412: ('0.0007420815827461854',), 1369877411: ('0.0007420815827461854',), 1369877410: ('0.0007420815827461854',), 1369877409: ('0.0007420815827461854',), 1369877408: ('0.0007420815827461854',), 1369877407: ('0.0007420815827461854',), 1369877390: ('0.0007420815827461854',), 1369877389: ('0.0007420815827461854',)} new output for save of step final : {1369878131: ('0.0007420815827461854',), 1369878091: ('0.0007420815827461854',), 1369878090: ('0.0007420815827461854',), 1369878088: ('0.0007420815827461854',), 1369878086: ('0.0007420815827461854',), 1369877993: ('0.0007420815827461854',), 1369877991: ('0.0007420815827461854',), 1369877988: ('0.0007420815827461854',), 1369877985: ('0.0007420815827461854',), 1369877982: ('0.0007420815827461854',), 1369877743: ('0.0007420815827461854',), 1369877740: ('0.0007420815827461854',), 1369877737: ('0.0007420815827461854',), 1369877734: ('0.0007420815827461854',), 1369877731: ('0.0007420815827461854',), 1369877514: ('0.0007420815827461854',), 1369877512: ('0.0007420815827461854',), 1369877510: ('0.0007420815827461854',), 1369877508: ('0.0007420815827461854',), 1369877506: ('0.0007420815827461854',), 1369877503: ('0.0007420815827461854',), 1369877412: ('0.0007420815827461854',), 1369877411: ('0.0007420815827461854',), 1369877410: ('0.0007420815827461854',), 1369877409: ('0.0007420815827461854',), 1369877408: ('0.0007420815827461854',), 1369877407: ('0.0007420815827461854',), 1369877390: ('0.0007420815827461854',), 1369877389: ('0.0007420815827461854',)} [1369878131, 1369878091, 1369878090, 1369878088, 1369878086, 1369877993, 1369877991, 1369877988, 1369877985, 1369877982, 1369877743, 1369877740, 1369877737, 1369877734, 1369877731, 1369877514, 1369877512, 1369877510, 1369877508, 1369877506, 1369877503, 1369877412, 1369877411, 1369877410, 1369877409, 1369877408, 1369877407, 1369877390, 1369877389] Looping around the photos to save general results len do output : 29 /1369878131.Didn't retrieve data . /1369878091.Didn't retrieve data . /1369878090.Didn't retrieve data . /1369878088.Didn't retrieve data . /1369878086.Didn't retrieve data . /1369877993.Didn't retrieve data . /1369877991.Didn't retrieve data . /1369877988.Didn't retrieve data . /1369877985.Didn't retrieve data . /1369877982.Didn't retrieve data . /1369877743.Didn't retrieve data . /1369877740.Didn't retrieve data . /1369877737.Didn't retrieve data . /1369877734.Didn't retrieve data . /1369877731.Didn't retrieve data . /1369877514.Didn't retrieve data . /1369877512.Didn't retrieve data . /1369877510.Didn't retrieve data . /1369877508.Didn't retrieve data . /1369877506.Didn't retrieve data . /1369877503.Didn't retrieve data . /1369877412.Didn't retrieve data . /1369877411.Didn't retrieve data . /1369877410.Didn't retrieve data . /1369877409.Didn't retrieve data . /1369877408.Didn't retrieve data . /1369877407.Didn't retrieve data . /1369877390.Didn't retrieve data . /1369877389.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 ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878131', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878091', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878090', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878088', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878086', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877993', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877991', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877988', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877985', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877982', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877743', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877740', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877737', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877734', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877731', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877514', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877512', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877510', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877508', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877506', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877503', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877412', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877411', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877410', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877409', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877408', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877407', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877390', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877389', None, None, None, None, None, '3794311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 87 time used for this insertion : 0.039353370666503906 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09399151802062988 time spend to save output : 0.04049110412597656 total time spend for step 5 : 0.13448262214660645 step6:blur_detection Tue Sep 30 17:09:01 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 : 29 time used for this insertion : 0.03519129753112793 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 29 time used for this insertion : 0.0359039306640625 save missing photos in datou_result : time spend for datou_step_exec : 0.08631086349487305 time spend to save output : 0.08857536315917969 total time spend for step 6 : 0.17488622665405273 step7:brightness Tue Sep 30 17:09:01 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 : 29 time used for this insertion : 0.038504600524902344 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 29 time used for this insertion : 0.05000638961791992 save missing photos in datou_result : time spend for datou_step_exec : 0.10405588150024414 time spend to save output : 0.10519194602966309 total time spend for step 7 : 0.20924782752990723 step8:send_mail_cod Tue Sep 30 17:09:01 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_P24498690_30-09-2025_17_09_01.pdf 24499736 imagette244997361759244941 24499739 imagette244997391759244941 24499740 imagette244997401759244941 24499742 change filename to text .change filename to text .imagette244997421759244941 24499744 change filename to text .imagette244997441759244942 24499745 imagette244997451759244942 24499746 imagette244997461759244942 24499748 change filename to text .imagette244997481759244942 24499750 imagette244997501759244942 27357215 imagette273572151759244942 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24498690 and hashtag_type = 3327 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/24499736,24499738,24499739,24499740,24499742,24499743,24499744,24499745,24499746,24499748,24499749,24499750,27357215?tags=barquette_avec_film,flou,pehd,carton,etiquette,mal_croppe,papier,verre,metal,bouchon,pet_clair,pet_fonce,emr your option no_mail is active, we will not send the real mail to your client args[1369878131] : ((1369878131, -6.393927497816173, 492609224), (1369878131, -0.668291242400498, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369878091] : ((1369878091, -6.683339090223876, 492609224), (1369878091, -0.7666971247347569, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369878090] : ((1369878090, -6.918246195718955, 492609224), (1369878090, -0.6396449077123548, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369878088] : ((1369878088, -7.123527128257843, 492609224), (1369878088, -0.5028925999100725, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369878086] : ((1369878086, -6.725030061349548, 492609224), (1369878086, -0.5919647522010055, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877993] : ((1369877993, -6.412434929315888, 492609224), (1369877993, -0.587264675466116, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877991] : ((1369877991, -6.489807995827715, 492609224), (1369877991, -0.5746528935147777, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877988] : ((1369877988, -7.193224477650651, 492609224), (1369877988, -0.43659738203815035, 496442774), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877985] : ((1369877985, -6.4180579758439835, 492609224), (1369877985, -0.6527017443712723, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877982] : ((1369877982, -6.5011067504263, 492609224), (1369877982, -0.6961668626034438, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877743] : ((1369877743, -7.350629569795169, 492609224), (1369877743, -0.3882252029836384, 496442774), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877740] : ((1369877740, -6.8339032750914015, 492609224), (1369877740, -0.5885275613361296, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877737] : ((1369877737, -6.518075842409449, 492609224), (1369877737, -0.5350178389812406, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877734] : ((1369877734, -6.3138984124401825, 492609224), (1369877734, -0.7563566303394177, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877731] : ((1369877731, -6.812181036084151, 492609224), (1369877731, -0.6431611734288876, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877514] : ((1369877514, -7.068565717627999, 492609224), (1369877514, -0.4822363995413928, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877512] : ((1369877512, -6.399596292928851, 492609224), (1369877512, -0.6195331500222474, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877510] : ((1369877510, -6.583609524041412, 492609224), (1369877510, -0.507013692735371, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877508] : ((1369877508, -6.584685554417482, 492609224), (1369877508, -0.5252019392128973, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877506] : ((1369877506, -6.422703184105941, 492609224), (1369877506, -0.6282359152505393, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877503] : ((1369877503, -6.482281777479616, 492609224), (1369877503, -0.5926670382964009, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877412] : ((1369877412, -6.465388255909886, 492609224), (1369877412, -0.6832446869647533, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877411] : ((1369877411, -6.194901444302585, 492609224), (1369877411, -1.217509855940196, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877410] : ((1369877410, -6.254753803411535, 492609224), (1369877410, -0.9544410618083987, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877409] : ((1369877409, -6.64463879404774, 492609224), (1369877409, -0.5527904932032442, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877408] : ((1369877408, -6.487621285666257, 492609224), (1369877408, -0.6221959868585648, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877407] : ((1369877407, -7.075679034691338, 492609224), (1369877407, -0.40622051860330194, 496442774), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877390] : ((1369877390, -6.46243075868563, 492609224), (1369877390, -0.7163245063842006, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com args[1369877389] : ((1369877389, -6.582432686467876, 492609224), (1369877389, -1.0548427655161003, 501862349), '0.0007420815827461854') We are sending mail with results at kexin@fotonower.com refus_total : 0.0007420815827461854 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=24498690 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_P24498690_30-09-2025_17_09_01.pdf results_COD_P24498690_30-09-2025_17_09_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24498690_30-09-2025_17_09_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4255','24498690','results_COD_P24498690_30-09-2025_17_09_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24498690_30-09-2025_17_09_01.pdf','pdf','','0.78','0.0007420815827461854') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1369878131, 1369878091, 1369878090, 1369878088, 1369878086, 1369877993, 1369877991, 1369877988, 1369877985, 1369877982, 1369877743, 1369877740, 1369877737, 1369877734, 1369877731, 1369877514, 1369877512, 1369877510, 1369877508, 1369877506, 1369877503, 1369877412, 1369877411, 1369877410, 1369877409, 1369877408, 1369877407, 1369877390, 1369877389] 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 ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878131', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878091', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878090', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878088', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878086', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877993', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877991', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877988', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877985', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877982', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877743', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877740', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877737', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877734', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877731', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877514', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877512', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877510', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877508', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877506', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877503', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877412', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877411', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877410', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877409', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877408', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877407', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877390', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877389', None, None, None, None, None, '3794311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 29 time used for this insertion : 0.03879904747009277 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.3327577114105225 time spend to save output : 0.039099693298339844 total time spend for step 8 : 6.371857404708862 step9:split_time_score Tue Sep 30 17:09:08 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'}] (('07', 29),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02072025 24498690 Nombre de photos uploadées : 29 / 23040 (0%) 02072025 24498690 Nombre de photos taguées (types de déchets): 0 / 29 (0%) 02072025 24498690 Nombre de photos taguées (volume) : 0 / 29 (0%) elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 5.7220458984375e-06 ????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014464855194091797 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6648898124694824 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_P24539740_03-07-2025_05_01_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24539740 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24526739_03-07-2025_06_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24526739 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24521573_02-07-2025_20_24_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24521573 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498662_03-07-2025_00_44_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498662 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498664_02-07-2025_16_54_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498664 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498664_02-07-2025_16_54_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498664 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498668_02-07-2025_13_20_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498668 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498671_02-07-2025_13_31_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498671 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498674_02-07-2025_13_27_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498674 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498676_02-07-2025_13_17_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498676 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498676_02-07-2025_13_17_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498676 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498679_02-07-2025_13_20_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498679 order by id desc limit 1 Qualite : 0.0007420815827461854 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24498690_30-09-2025_17_09_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498690 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 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 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 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 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 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 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`=24498690 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498707_02-07-2025_13_17_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498707 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498710_02-07-2025_13_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498710 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498710_02-07-2025_13_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498710 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516716_02-07-2025_21_14_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516716 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24513858_03-07-2025_03_15_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513858 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508840_02-07-2025_17_07_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508840 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508842_02-07-2025_17_31_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508842 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508844_02-07-2025_17_49_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508844 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508844_02-07-2025_17_49_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508844 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508846_02-07-2025_17_23_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508846 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508849_03-07-2025_09_08_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508849 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508863_02-07-2025_17_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508863 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508863_02-07-2025_17_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508863 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508877_02-07-2025_17_28_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508877 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508879_02-07-2025_17_26_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508879 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24508881_25-09-2025_12_31_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508881 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24508881_25-09-2025_12_31_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508881 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508884_02-07-2025_21_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508884 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508886_03-07-2025_11_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508886 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508888_02-07-2025_17_17_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508888 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508888_02-07-2025_17_17_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508888 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508890_02-07-2025_17_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508890 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507555_02-07-2025_16_52_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507555 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507556_03-07-2025_04_31_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507556 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507557_02-07-2025_16_59_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507557 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507558_02-07-2025_16_59_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507558 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507559_02-07-2025_16_49_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507559 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507559_02-07-2025_16_49_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507559 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502280_02-07-2025_14_50_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502280 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502282_03-07-2025_11_03_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502282 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24502284_04-09-2025_09_23_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502284 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24502284_04-09-2025_09_23_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502284 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502310_02-07-2025_15_19_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502310 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502312_02-07-2025_14_51_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502314_02-07-2025_14_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502314 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502314_02-07-2025_14_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502314 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502316_02-07-2025_14_56_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502316 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502320_02-07-2025_14_57_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502320 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507585_02-07-2025_17_04_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507585 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24506203_02-07-2025_16_24_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24506203 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24506205_02-07-2025_16_14_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24506205 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504914_02-07-2025_15_53_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504914 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504914_02-07-2025_15_53_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504914 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504928_02-07-2025_16_02_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504928 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504955_02-07-2025_15_54_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504955 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504969_02-07-2025_15_49_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504969 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504969_02-07-2025_15_49_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504969 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24506207_02-07-2025_16_17_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24506207 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507588_02-07-2025_16_56_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507588 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507590_03-07-2025_04_38_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507590 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507592_02-07-2025_16_59_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507592 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507618_02-07-2025_16_45_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507618 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507618_02-07-2025_16_45_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507618 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507633_03-07-2025_11_16_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507633 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507645_03-07-2025_04_51_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507645 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507649_02-07-2025_16_52_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507649 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508891_02-07-2025_17_16_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508891 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508891_02-07-2025_17_16_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508891 order by id desc limit 1 Qualite : 0.04949791152886149 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24510221_30-09-2025_17_07_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24510221 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 11635 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11636 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11633 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11633 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11640 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11634 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11637 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11638 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11639 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11641 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 11635 have datatype=11 whereas input 0 of step 11633 have datatype=2 WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 3 of step 11634 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 11636 doesn't seem to be define in the database( WARNING : type of input 1 of step 11633 doesn't seem to be define in the database( WARNING : output 0 of step 11640 have datatype=10 whereas input 3 of step 11639 have datatype=6 WARNING : type of input 1 of step 11640 doesn't seem to be define in the database( WARNING : output 1 of step 11633 have datatype=7 whereas input 1 of step 11640 have datatype=None WARNING : type of output 1 of step 11640 doesn't seem to be define in the database( WARNING : type of input 4 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11635 doesn't seem to be define in the database( WARNING : type of input 1 of step 11636 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`=24510221 AND mptpi.`type`=4200 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24510235_02-07-2025_18_15_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24510235 order by id desc limit 1 Qualite : 0.13600651577503428 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24510238_02-07-2025_17_55_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24510238 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`=24510238 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24510240_02-07-2025_17_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24510240 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24510240_02-07-2025_17_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24510240 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24513869_03-07-2025_03_19_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513869 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24513873_03-07-2025_07_20_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513873 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24513877_03-07-2025_09_18_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513877 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24513881_03-07-2025_09_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513881 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24513881_03-07-2025_09_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513881 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516729_02-07-2025_21_07_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516729 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516735_02-07-2025_23_23_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516735 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516742_02-07-2025_19_12_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516742 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516742_02-07-2025_19_12_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516742 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516747_02-07-2025_20_58_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516747 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24521587_02-07-2025_20_26_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24521587 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24521600_02-07-2025_20_30_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24521600 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24521601_02-07-2025_20_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24521601 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24521602_02-07-2025_20_12_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24521602 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523311_02-07-2025_20_46_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523311 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523311_02-07-2025_20_46_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523311 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523312_03-07-2025_01_30_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523313_02-07-2025_21_05_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523313 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523326_02-07-2025_20_50_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523326 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523339_02-07-2025_20_47_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523339 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24526761_02-07-2025_21_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24526761 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24526761_02-07-2025_21_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24526761 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24526771_02-07-2025_21_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24526771 order by id desc limit 1 Qualite : 0.1295122038993386 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24526772_24-09-2025_16_16_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24526772 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`=24526772 AND mptpi.`type`=4211 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02072025': {'nb_upload': 29, '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 [1369878131, 1369878091, 1369878090, 1369878088, 1369878086, 1369877993, 1369877991, 1369877988, 1369877985, 1369877982, 1369877743, 1369877740, 1369877737, 1369877734, 1369877731, 1369877514, 1369877512, 1369877510, 1369877508, 1369877506, 1369877503, 1369877412, 1369877411, 1369877410, 1369877409, 1369877408, 1369877407, 1369877390, 1369877389] Looping around the photos to save general results len do output : 1 /24498690Didn'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 ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878131', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878091', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878090', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878088', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369878086', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877993', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877991', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877988', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877985', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877982', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877743', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877740', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877737', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877734', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877731', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877514', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877512', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877510', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877508', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877506', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877503', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877412', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877411', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877410', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877409', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877408', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877407', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877390', None, None, None, None, None, '3794311') ('4255', None, None, None, None, None, None, None, '3794311') ('4255', '24498690', '1369877389', None, None, None, None, None, '3794311') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 30 time used for this insertion : 0.03826737403869629 save_final save missing photos in datou_result : time spend for datou_step_exec : 37.58649396896362 time spend to save output : 0.03856921195983887 total time spend for step 9 : 37.62506318092346 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 29 set_done_treatment 7.56user 1.37system 1:21.42elapsed 10%CPU (0avgtext+0avgdata 175608maxresident)k 432inputs+77360outputs (0major+94606minor)pagefaults 0swaps