python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4251 ' -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 : 173902 load datou : 4251 # 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 11608 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11609 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11606 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11606 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11613 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11607 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11610 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11611 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11612 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11614 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 11608 have datatype=11 whereas input 0 of step 11606 have datatype=2 WARNING : type of output 1 of step 11609 doesn't seem to be define in the database( WARNING : type of input 3 of step 11607 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 11609 doesn't seem to be define in the database( WARNING : type of input 1 of step 11606 doesn't seem to be define in the database( WARNING : output 0 of step 11613 have datatype=10 whereas input 3 of step 11612 have datatype=6 WARNING : type of input 1 of step 11613 doesn't seem to be define in the database( WARNING : output 1 of step 11606 have datatype=7 whereas input 1 of step 11613 have datatype=None WARNING : type of output 1 of step 11613 doesn't seem to be define in the database( WARNING : type of input 4 of step 11607 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11608 doesn't seem to be define in the database( WARNING : type of input 1 of step 11609 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 : 4251, datou_cur_ids : ['3923681'] with mtr_portfolio_ids : ['25330046'] and first list_photo_ids : [] new path : /proc/173902/ 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 11608 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11609 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11606 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11606 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11613 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11607 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11610 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11611 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11612 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11614 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 11608 have datatype=11 whereas input 0 of step 11606 have datatype=2 WARNING : type of output 1 of step 11609 doesn't seem to be define in the database( WARNING : type of input 3 of step 11607 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 11609 doesn't seem to be define in the database( WARNING : type of input 1 of step 11606 doesn't seem to be define in the database( WARNING : output 0 of step 11613 have datatype=10 whereas input 3 of step 11612 have datatype=6 WARNING : type of input 1 of step 11613 doesn't seem to be define in the database( WARNING : output 1 of step 11606 have datatype=7 whereas input 1 of step 11613 have datatype=None WARNING : type of output 1 of step 11613 doesn't seem to be define in the database( WARNING : type of input 4 of step 11607 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11608 doesn't seem to be define in the database( WARNING : type of input 1 of step 11609 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 time to download the photos : 3.4023642539978027 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 Fri Oct 10 11:35:31 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 25 chid ids of type : 4203 batch 1 Loaded 1837 chid ids of type : 4203 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 [1373742078, 1373742061, 1373742042, 1373741862, 1373741843, 1373741820, 1373741798, 1373741778, 1373741761, 1373741497, 1373741450, 1373741389, 1373741331, 1373741292] Looping around the photos to save general results len do output : 14 /1373741292Didn't retrieve data . /1373741331Didn't retrieve data . /1373741389Didn't retrieve data . /1373741450Didn't retrieve data . /1373741497Didn't retrieve data . /1373741761Didn't retrieve data . /1373741778Didn't retrieve data . /1373741798Didn't retrieve data . /1373741820Didn't retrieve data . /1373741843Didn't retrieve data . /1373741862Didn't retrieve data . /1373742042Didn't retrieve data . /1373742061Didn't retrieve data . /1373742078Didn'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 ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742078', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742061', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742042', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741862', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741843', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741820', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741798', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741778', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741761', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741497', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741450', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741389', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741331', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741292', None, None, None, None, None, '3923681') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.04150676727294922 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3882920742034912 time spend to save output : 0.0418705940246582 total time spend for step 1 : 0.4301626682281494 step2:consolidate_hashtags_from_manual_portfolio Fri Oct 10 11:35:31 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 : 25330046 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`=25330046 AND mptpi.`type`=4203 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25330046 AND mptpi.`type`=4203 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25330046 AND mptpi.`type`=4203 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25331582 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=25331583 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1503 chid ids of type : 4203 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=25331584 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 847 chid ids of type : 4203 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=25331585 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1837 chid ids of type : 4203 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=25331586 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1381 chid ids of type : 4203 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=25331587 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1193 chid ids of type : 4203 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=25331588 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 298 chid ids of type : 4203 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=25331589 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1837 chid ids of type : 4203 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=25331590 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 171 chid ids of type : 4203 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=25331591 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1010 chid ids of type : 4203 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=25331592 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=25331593 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1350 chid ids of type : 4203 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=25331594 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1483 chid ids of type : 4203 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=25331595 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=25331596 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 126 chid ids of type : 4203 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=25331597 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1706 chid ids of type : 4203 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=27693477 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 [1373742078, 1373742061, 1373742042, 1373741862, 1373741843, 1373741820, 1373741798, 1373741778, 1373741761, 1373741497, 1373741450, 1373741389, 1373741331, 1373741292] 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 : 14 time used for this insertion : 0.03664803504943848 save_final save missing photos in datou_result : time spend for datou_step_exec : 22.00740146636963 time spend to save output : 0.036864280700683594 total time spend for step 2 : 22.044265747070312 step3:rle_unique_nms_with_priority Fri Oct 10 11:35: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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 617 chid ids of type : 4203 seulement à utiliser dans la step consolidation batch 1 Loaded 157 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10881352424621582 seulement à utiliser dans la step consolidation batch 1 Loaded 91 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10413408279418945 seulement à utiliser dans la step consolidation batch 1 Loaded 82 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10358667373657227 seulement à utiliser dans la step consolidation batch 1 Loaded 131 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10300207138061523 seulement à utiliser dans la step consolidation batch 1 Loaded 105 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10539054870605469 seulement à utiliser dans la step consolidation batch 1 Loaded 130 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10657644271850586 seulement à utiliser dans la step consolidation batch 1 Loaded 189 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.11346840858459473 seulement à utiliser dans la step consolidation batch 1 Loaded 167 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10520505905151367 seulement à utiliser dans la step consolidation batch 1 Loaded 89 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10310053825378418 seulement à utiliser dans la step consolidation batch 1 Loaded 73 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10498261451721191 seulement à utiliser dans la step consolidation batch 1 Loaded 126 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10460257530212402 seulement à utiliser dans la step consolidation batch 1 Loaded 163 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10946011543273926 seulement à utiliser dans la step consolidation batch 1 Loaded 171 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10725975036621094 seulement à utiliser dans la step consolidation batch 1 Loaded 163 chid ids of type : 4203 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10707378387451172 map_output_result : {1373742078: (0.0, 'Should be the crop_list due to order', 0), 1373742061: (0.0, 'Should be the crop_list due to order', 0), 1373742042: (0.0, 'Should be the crop_list due to order', 0), 1373741862: (0.0, 'Should be the crop_list due to order', 0), 1373741843: (0.0, 'Should be the crop_list due to order', 0), 1373741820: (0.0, 'Should be the crop_list due to order', 0), 1373741798: (0.0, 'Should be the crop_list due to order', 0), 1373741778: (0.0, 'Should be the crop_list due to order', 0), 1373741761: (0.0, 'Should be the crop_list due to order', 0), 1373741497: (0.0, 'Should be the crop_list due to order', 0), 1373741450: (0.0, 'Should be the crop_list due to order', 0), 1373741389: (0.0, 'Should be the crop_list due to order', 0), 1373741331: (0.0, 'Should be the crop_list due to order', 0), 1373741292: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1373742078, 1373742061, 1373742042, 1373741862, 1373741843, 1373741820, 1373741798, 1373741778, 1373741761, 1373741497, 1373741450, 1373741389, 1373741331, 1373741292] Looping around the photos to save general results len do output : 14 /1373742078.Didn't retrieve data . /1373742061.Didn't retrieve data . /1373742042.Didn't retrieve data . /1373741862.Didn't retrieve data . /1373741843.Didn't retrieve data . /1373741820.Didn't retrieve data . /1373741798.Didn't retrieve data . /1373741778.Didn't retrieve data . /1373741761.Didn't retrieve data . /1373741497.Didn't retrieve data . /1373741450.Didn't retrieve data . /1373741389.Didn't retrieve data . /1373741331.Didn't retrieve data . /1373741292.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 ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742078', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742061', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742042', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741862', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741843', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741820', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741798', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741778', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741761', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741497', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741450', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741389', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741331', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741292', None, None, None, None, None, '3923681') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.035012245178222656 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.042201042175293 time spend to save output : 0.035739898681640625 total time spend for step 3 : 3.0779409408569336 step4:ventilate_hashtags_in_portfolio Fri Oct 10 11:35:56 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 : 25330046 get user id for portfolio 25330046 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`=25330046 AND mptpi.`type`=4203 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25330046 AND mptpi.`type`=4203 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/25331582,25331583,25331584,25331585,25331586,25331587,25331588,25331589,25331590,25331591,25331592,25331593,25331594,25331595,25331596,25331597?tags=kraft,barquette_opaque,pet_opaque,carton,etiquette,environnement,pet_clair,mal_croppe,metal,papier,pehd,flou,ela,textiles_sanitaires,pet_fonce,film_plastique Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1373742078, 1373742061, 1373742042, 1373741862, 1373741843, 1373741820, 1373741798, 1373741778, 1373741761, 1373741497, 1373741450, 1373741389, 1373741331, 1373741292] Looping around the photos to save general results len do output : 1 /25330046. 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 ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742078', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742061', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742042', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741862', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741843', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741820', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741798', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741778', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741761', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741497', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741450', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741389', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741331', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741292', None, None, None, None, None, '3923681') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.03566122055053711 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.257598638534546 time spend to save output : 0.03593945503234863 total time spend for step 4 : 1.2935380935668945 step5:final Fri Oct 10 11:35:58 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 : {1373742078: ('0.20234290418622644',), 1373742061: ('0.20234290418622644',), 1373742042: ('0.20234290418622644',), 1373741862: ('0.20234290418622644',), 1373741843: ('0.20234290418622644',), 1373741820: ('0.20234290418622644',), 1373741798: ('0.20234290418622644',), 1373741778: ('0.20234290418622644',), 1373741761: ('0.20234290418622644',), 1373741497: ('0.20234290418622644',), 1373741450: ('0.20234290418622644',), 1373741389: ('0.20234290418622644',), 1373741331: ('0.20234290418622644',), 1373741292: ('0.20234290418622644',)} new output for save of step final : {1373742078: ('0.20234290418622644',), 1373742061: ('0.20234290418622644',), 1373742042: ('0.20234290418622644',), 1373741862: ('0.20234290418622644',), 1373741843: ('0.20234290418622644',), 1373741820: ('0.20234290418622644',), 1373741798: ('0.20234290418622644',), 1373741778: ('0.20234290418622644',), 1373741761: ('0.20234290418622644',), 1373741497: ('0.20234290418622644',), 1373741450: ('0.20234290418622644',), 1373741389: ('0.20234290418622644',), 1373741331: ('0.20234290418622644',), 1373741292: ('0.20234290418622644',)} [1373742078, 1373742061, 1373742042, 1373741862, 1373741843, 1373741820, 1373741798, 1373741778, 1373741761, 1373741497, 1373741450, 1373741389, 1373741331, 1373741292] Looping around the photos to save general results len do output : 14 /1373742078.Didn't retrieve data . /1373742061.Didn't retrieve data . /1373742042.Didn't retrieve data . /1373741862.Didn't retrieve data . /1373741843.Didn't retrieve data . /1373741820.Didn't retrieve data . /1373741798.Didn't retrieve data . /1373741778.Didn't retrieve data . /1373741761.Didn't retrieve data . /1373741497.Didn't retrieve data . /1373741450.Didn't retrieve data . /1373741389.Didn't retrieve data . /1373741331.Didn't retrieve data . /1373741292.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 ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742078', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742061', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742042', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741862', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741843', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741820', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741798', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741778', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741761', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741497', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741450', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741389', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741331', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741292', None, None, None, None, None, '3923681') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 time used for this insertion : 0.03606986999511719 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10549116134643555 time spend to save output : 0.036795616149902344 total time spend for step 5 : 0.1422867774963379 step6:blur_detection Fri Oct 10 11:35:58 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 : 14 time used for this insertion : 0.034149169921875 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 14 time used for this insertion : 0.035201072692871094 save missing photos in datou_result : time spend for datou_step_exec : 0.08487701416015625 time spend to save output : 0.08597207069396973 total time spend for step 6 : 0.17084908485412598 step7:brightness Fri Oct 10 11:35:58 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 : 14 time used for this insertion : 0.03368806838989258 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 14 time used for this insertion : 0.032607316970825195 save missing photos in datou_result : time spend for datou_step_exec : 0.09942340850830078 time spend to save output : 0.08250546455383301 total time spend for step 7 : 0.1819288730621338 step8:send_mail_cod Fri Oct 10 11:35:58 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_P25330046_10-10-2025_11_35_58.pdf 25331582 imagette253315821760088958 25331583 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253315831760088958 25331584 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253315841760088961 25331585 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253315851760088962 25331586 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253315861760088964 25331588 change filename to text .change filename to text .imagette253315881760088967 25331590 change filename to text .imagette253315901760088967 25331591 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253315911760088968 25331592 imagette253315921760088969 25331595 imagette253315951760088969 25331596 change filename to text .imagette253315961760088969 25331597 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253315971760088969 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25330046 and hashtag_type = 4203 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25331582,25331583,25331584,25331585,25331586,25331587,25331588,25331589,25331590,25331591,25331592,25331593,25331594,25331595,25331596,25331597?tags=kraft,barquette_opaque,pet_opaque,carton,etiquette,environnement,pet_clair,mal_croppe,metal,papier,pehd,flou,ela,textiles_sanitaires,pet_fonce,film_plastique your option no_mail is active, we will not send the real mail to your client args[1373742078] : ((1373742078, -1.586194271889556, 492688767), (1373742078, -0.00722870064221412, 2107752395), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373742061] : ((1373742061, 1.5957595908177318, 492688767), (1373742061, 0.07903554500038805, 2107752395), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373742042] : ((1373742042, 5.8145897725253315, 492688767), (1373742042, -0.2742075135353807, 496442774), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741862] : ((1373741862, 1.3403756613112185, 492688767), (1373741862, -0.11820893112387516, 496442774), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741843] : ((1373741843, -0.9862738932912394, 492688767), (1373741843, -0.09744531978282185, 496442774), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741820] : ((1373741820, -3.02681279007021, 492609224), (1373741820, -0.00495139107058046, 2107752395), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741798] : ((1373741798, -2.9648657657955066, 492609224), (1373741798, 0.016055257972429137, 2107752395), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741778] : ((1373741778, -3.600594873074965, 492609224), (1373741778, -0.19163166641933826, 496442774), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741761] : ((1373741761, 4.161817288914684, 492688767), (1373741761, 0.0057692149114200566, 2107752395), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741497] : ((1373741497, -0.6154273668664811, 492688767), (1373741497, -0.0038041378910687843, 2107752395), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741450] : ((1373741450, -0.842535763639224, 492688767), (1373741450, -0.1537983643715341, 496442774), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741389] : ((1373741389, -1.5650759437183035, 492688767), (1373741389, -0.03715481478780043, 2107752395), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741331] : ((1373741331, -3.99145431097339, 492609224), (1373741331, -0.14199836970619445, 496442774), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com args[1373741292] : ((1373741292, -1.36921843726686, 492688767), (1373741292, 0.02520526789975726, 2107752395), '0.20234290418622644') We are sending mail with results at kexin@fotonower.com refus_total : 0.20234290418622644 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=25330046 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_P25330046_10-10-2025_11_35_58.pdf results_COD_P25330046_10-10-2025_11_35_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25330046_10-10-2025_11_35_58.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4251','25330046','results_COD_P25330046_10-10-2025_11_35_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25330046_10-10-2025_11_35_58.pdf','pdf','','1.15','0.20234290418622644') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1373742078, 1373742061, 1373742042, 1373741862, 1373741843, 1373741820, 1373741798, 1373741778, 1373741761, 1373741497, 1373741450, 1373741389, 1373741331, 1373741292] 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 ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742078', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742061', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742042', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741862', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741843', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741820', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741798', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741778', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741761', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741497', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741450', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741389', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741331', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741292', None, None, None, None, None, '3923681') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 time used for this insertion : 0.03505587577819824 save_final save missing photos in datou_result : time spend for datou_step_exec : 18.1729998588562 time spend to save output : 0.03535056114196777 total time spend for step 8 : 18.20835041999817 step9:split_time_score Fri Oct 10 11:36:16 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'}] (('13', 14),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25072025 25330046 Nombre de photos uploadées : 14 / 23040 (0%) 25072025 25330046 Nombre de photos taguées (types de déchets): 0 / 14 (0%) 25072025 25330046 Nombre de photos taguées (volume) : 0 / 14 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 6.198883056640625e-06 ?????????????? elapsed_time : fill_and_build_computed_from_old_data 0.00086212158203125 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6693813800811768 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_P25312472_25-07-2025_07_28_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312472 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312473_25-07-2025_08_08_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312473 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312481_25-07-2025_07_44_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312481 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25312500_28-09-2025_16_06_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312500 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312501_25-07-2025_07_39_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312501 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312502_25-07-2025_08_24_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312502 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312503_25-07-2025_07_13_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312503 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312505_25-07-2025_07_11_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312505 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312508_25-07-2025_07_27_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312508 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312510_25-07-2025_07_35_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312510 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312512_25-07-2025_08_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312512 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312533_25-07-2025_07_36_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312533 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312535_25-07-2025_08_47_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312535 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312555_25-07-2025_07_30_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312555 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25315422_25-07-2025_08_16_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25315422 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25315423_25-07-2025_08_18_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25315423 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25315436_25-07-2025_10_09_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25315436 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25315449_25-07-2025_08_23_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25315449 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25315155_25-07-2025_08_39_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25315155 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312571_25-07-2025_07_14_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312571 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25315156_25-07-2025_09_57_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25315156 order by id desc limit 1 Qualite : 0.0699760585870908 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25312578_15-09-2025_10_50_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312578 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 11626 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11627 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11624 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11624 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11631 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11625 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11628 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11629 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11630 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11632 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 11626 have datatype=11 whereas input 0 of step 11624 have datatype=2 WARNING : type of output 1 of step 11627 doesn't seem to be define in the database( WARNING : type of input 3 of step 11625 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 11627 doesn't seem to be define in the database( WARNING : type of input 1 of step 11624 doesn't seem to be define in the database( WARNING : output 0 of step 11631 have datatype=10 whereas input 3 of step 11630 have datatype=6 WARNING : type of input 1 of step 11631 doesn't seem to be define in the database( WARNING : output 1 of step 11624 have datatype=7 whereas input 1 of step 11631 have datatype=None WARNING : type of output 1 of step 11631 doesn't seem to be define in the database( WARNING : type of input 4 of step 11625 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11626 doesn't seem to be define in the database( WARNING : type of input 1 of step 11627 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`=25312578 AND mptpi.`type`=4205 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312581_25-07-2025_07_17_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312581 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312589_25-07-2025_09_06_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312589 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25314909_25-07-2025_08_21_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25314909 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312596_25-07-2025_07_23_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312596 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25312600_25-07-2025_09_14_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25312600 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25314926_25-07-2025_09_39_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25314926 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25316257_25-07-2025_08_32_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25316257 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25316258_25-07-2025_08_39_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25316258 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25318583_25-07-2025_09_31_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25318583 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25322591_25-07-2025_10_43_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25322591 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25315183_25-07-2025_10_23_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25315183 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25322594_25-07-2025_13_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25322594 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25314928_25-07-2025_08_06_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25314928 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25314945_25-07-2025_09_43_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25314945 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25329243_25-07-2025_14_17_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25329243 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325510_25-07-2025_11_45_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325510 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25314428_25-07-2025_07_56_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25314428 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325516_25-07-2025_11_50_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325516 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25314431_25-07-2025_07_53_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25314431 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325518_25-07-2025_12_27_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325518 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25329246_25-07-2025_14_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25329246 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25329263_25-07-2025_13_57_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25329263 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25329264_25-07-2025_14_16_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25329264 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328798_25-07-2025_14_14_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328798 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328799_25-07-2025_14_03_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328799 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25330355_25-07-2025_14_26_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25330355 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25331751_25-07-2025_15_02_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25331751 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25332055_25-07-2025_15_18_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25332055 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25332804_25-07-2025_15_57_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25332804 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325522_25-07-2025_12_36_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325522 order by id desc limit 1 Qualite : 0.08490535278257905 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25317323_03-09-2025_10_33_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25317323 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 11626 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11627 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11624 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11624 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11631 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11625 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11628 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11629 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11630 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11632 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 11626 have datatype=11 whereas input 0 of step 11624 have datatype=2 WARNING : type of output 1 of step 11627 doesn't seem to be define in the database( WARNING : type of input 3 of step 11625 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 11627 doesn't seem to be define in the database( WARNING : type of input 1 of step 11624 doesn't seem to be define in the database( WARNING : output 0 of step 11631 have datatype=10 whereas input 3 of step 11630 have datatype=6 WARNING : type of input 1 of step 11631 doesn't seem to be define in the database( WARNING : output 1 of step 11624 have datatype=7 whereas input 1 of step 11631 have datatype=None WARNING : type of output 1 of step 11631 doesn't seem to be define in the database( WARNING : type of input 4 of step 11625 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11626 doesn't seem to be define in the database( WARNING : type of input 1 of step 11627 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`=25317323 AND mptpi.`type`=4205 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25322932_25-07-2025_10_55_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25322932 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25322411_25-07-2025_10_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25322411 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25318858_25-07-2025_09_25_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25318858 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25319700_25-07-2025_09_38_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25319700 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25319371_25-07-2025_09_38_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25319371 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25322413_25-07-2025_10_44_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25322413 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25333071_25-07-2025_15_41_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25333071 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25325529_25-07-2025_16_10_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25325529 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25335200_25-07-2025_16_29_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25335200 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25336181_25-07-2025_16_57_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25336181 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25329285_25-07-2025_14_33_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25329285 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337112_25-07-2025_17_16_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337112 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337850_25-07-2025_18_05_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337850 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25338037_25-07-2025_17_32_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25338037 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344574_25-07-2025_21_11_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344574 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328805_25-07-2025_14_25_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328805 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344205_25-07-2025_20_19_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344205 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344207_25-07-2025_21_06_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344207 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25328772_25-07-2025_13_52_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25328772 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343122_25-07-2025_19_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343122 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343125_25-07-2025_19_50_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343125 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344210_25-07-2025_20_28_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344210 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343876_25-07-2025_20_03_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343876 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343612_25-07-2025_20_27_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343612 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343621_25-07-2025_20_14_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343621 order by id desc limit 1 Qualite : 0.20234290418622644 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25330046_10-10-2025_11_35_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25330046 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 11608 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11609 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11606 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11606 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11613 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11607 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11610 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11611 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11612 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11614 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 11608 have datatype=11 whereas input 0 of step 11606 have datatype=2 WARNING : type of output 1 of step 11609 doesn't seem to be define in the database( WARNING : type of input 3 of step 11607 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 11609 doesn't seem to be define in the database( WARNING : type of input 1 of step 11606 doesn't seem to be define in the database( WARNING : output 0 of step 11613 have datatype=10 whereas input 3 of step 11612 have datatype=6 WARNING : type of input 1 of step 11613 doesn't seem to be define in the database( WARNING : output 1 of step 11606 have datatype=7 whereas input 1 of step 11613 have datatype=None WARNING : type of output 1 of step 11613 doesn't seem to be define in the database( WARNING : type of input 4 of step 11607 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11608 doesn't seem to be define in the database( WARNING : type of input 1 of step 11609 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`=25330046 AND mptpi.`type`=4203 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25330414_25-07-2025_14_24_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25330414 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343376_25-07-2025_20_09_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343376 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343390_25-07-2025_20_17_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343390 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343623_25-07-2025_20_11_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343623 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343626_25-07-2025_20_33_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343626 order by id desc limit 1 Qualite : 0.0951086931535479 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25343629_22-09-2025_09_20_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343629 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`=25343629 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343630_25-07-2025_20_09_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343630 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25343894_25-07-2025_20_17_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25343894 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25332806_25-07-2025_15_22_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25332806 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344213_25-07-2025_20_28_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344213 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344214_25-07-2025_20_11_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344214 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344216_25-07-2025_20_27_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344216 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344218_25-07-2025_20_10_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344218 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344580_25-07-2025_20_28_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344580 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25344583_25-07-2025_21_22_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25344583 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25335676_25-07-2025_16_44_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25335676 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25337857_25-07-2025_17_35_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337857 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25336429_25-07-2025_17_18_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25336429 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25336898_25-07-2025_17_01_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25336898 order by id desc limit 1 Qualite : 0.010901011292952414 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25337128_25-09-2025_14_51_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25337128 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`=25337128 AND mptpi.`type`=3327 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25072025': {'nb_upload': 14, '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 [1373742078, 1373742061, 1373742042, 1373741862, 1373741843, 1373741820, 1373741798, 1373741778, 1373741761, 1373741497, 1373741450, 1373741389, 1373741331, 1373741292] Looping around the photos to save general results len do output : 1 /25330046Didn'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 ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742078', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742061', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373742042', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741862', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741843', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741820', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741798', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741778', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741761', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741497', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741450', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741389', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741331', None, None, None, None, None, '3923681') ('4251', None, None, None, None, None, None, None, '3923681') ('4251', '25330046', '1373741292', None, None, None, None, None, '3923681') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.03605771064758301 save_final save missing photos in datou_result : time spend for datou_step_exec : 38.461942195892334 time spend to save output : 0.03630971908569336 total time spend for step 9 : 38.49825191497803 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 14 set_done_treatment 5.01user 0.92system 1:29.53elapsed 6%CPU (0avgtext+0avgdata 179312maxresident)k 280inputs+60480outputs (0major+76660minor)pagefaults 0swaps