python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4255 ' -s datou_consolidate -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1441997 load datou : 4255 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4255, datou_cur_ids : ['3685295'] with mtr_portfolio_ids : ['25416702'] and first list_photo_ids : [] new path : /proc/1441997/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 4.184566974639893 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Tue Sep 9 17:12:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 562 chid ids of type : 3327 batch 1 Loaded 215 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 213 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 226 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 213 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 203 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1374188986, 1374188982, 1374188937, 1374188903, 1374188902, 1374188901, 1374188881, 1374188773, 1374188770, 1374188767, 1374188764, 1374188763, 1374095835, 1374095833, 1374095831, 1374095825, 1374095824, 1374095789, 1374095787, 1374095785] Looping around the photos to save general results len do output : 20 /1374095785Didn't retrieve data . /1374095787Didn't retrieve data . /1374095789Didn't retrieve data . /1374095824Didn't retrieve data . /1374095825Didn't retrieve data . /1374095831Didn't retrieve data . /1374095833Didn't retrieve data . /1374095835Didn't retrieve data . /1374188763Didn't retrieve data . /1374188764Didn't retrieve data . /1374188767Didn't retrieve data . /1374188770Didn't retrieve data . /1374188773Didn't retrieve data . /1374188881Didn't retrieve data . /1374188901Didn't retrieve data . /1374188902Didn't retrieve data . /1374188903Didn't retrieve data . /1374188937Didn't retrieve data . /1374188982Didn't retrieve data . /1374188986Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188986', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188982', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188937', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188903', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188902', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188901', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188881', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188773', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188770', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188767', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188764', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188763', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095835', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095833', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095831', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095825', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095824', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095789', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095787', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095785', None, None, None, None, None, '3685295') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 time used for this insertion : 0.03787827491760254 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8478820323944092 time spend to save output : 0.03857064247131348 total time spend for step 1 : 0.8864526748657227 step2:consolidate_hashtags_from_manual_portfolio Tue Sep 9 17:12:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 25416702 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`=25416702 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25416702 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25416702 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417250 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 619 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417251 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 279 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417252 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 852 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417253 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 857 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417254 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417255 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417256 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417257 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 48 chid ids of type : 3327 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417259 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 474 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417260 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 161 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417262 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1018 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25417263 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26690932 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26690933 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 [1374188986, 1374188982, 1374188937, 1374188903, 1374188902, 1374188901, 1374188881, 1374188773, 1374188770, 1374188767, 1374188764, 1374188763, 1374095835, 1374095833, 1374095831, 1374095825, 1374095824, 1374095789, 1374095787, 1374095785] Looping around the photos to save general results len do output : 6 /Tassign value string error string indices must be integers invalid literal for int() with base 10: 'T' begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.038253068923950195 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.34894585609436 time spend to save output : 0.03845357894897461 total time spend for step 2 : 14.387399435043335 step3:rle_unique_nms_with_priority Tue Sep 9 17:12:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 540 chid ids of type : 3327 seulement à utiliser dans la step consolidation batch 1 Loaded 52 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09528803825378418 seulement à utiliser dans la step consolidation batch 1 Loaded 49 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09177470207214355 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09046244621276855 seulement à utiliser dans la step consolidation batch 1 Loaded 54 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09206175804138184 seulement à utiliser dans la step consolidation batch 1 Loaded 56 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09290146827697754 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.08907222747802734 seulement à utiliser dans la step consolidation batch 1 Loaded 54 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09222579002380371 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09240555763244629 seulement à utiliser dans la step consolidation batch 1 Loaded 61 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09536600112915039 seulement à utiliser dans la step consolidation batch 1 Loaded 52 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0898895263671875 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09010720252990723 seulement à utiliser dans la step consolidation batch 1 Loaded 58 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09585380554199219 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09052681922912598 seulement à utiliser dans la step consolidation batch 1 Loaded 51 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09395885467529297 seulement à utiliser dans la step consolidation batch 1 Loaded 59 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.08990025520324707 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.08853697776794434 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09075403213500977 seulement à utiliser dans la step consolidation batch 1 Loaded 54 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09449481964111328 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09314799308776855 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09573745727539062 map_output_result : {1374188986: (0.024647001721597783, 'Should be the crop_list due to order', 0.01629465665505574), 1374188982: (0.024647001721597783, 'Should be the crop_list due to order', 0.004089664832160252), 1374188937: (0.024647001721597783, 'Should be the crop_list due to order', 0.027804272300876485), 1374188903: (0.024647001721597783, 'Should be the crop_list due to order', 0.000484894962805405), 1374188902: (0.024647001721597783, 'Should be the crop_list due to order', 0.0009934114086660463), 1374188901: (0.024647001721597783, 'Should be the crop_list due to order', 0.0013417661346549214), 1374188881: (0.024647001721597783, 'Should be the crop_list due to order', 0.013632644234506032), 1374188773: (0.024647001721597783, 'Should be the crop_list due to order', 0.002529217180166783), 1374188770: (0.024647001721597783, 'Should be the crop_list due to order', 0.0003149752188614572), 1374188767: (0.024647001721597783, 'Should be the crop_list due to order', 0.21992855396620284), 1374188764: (0.024647001721597783, 'Should be the crop_list due to order', 0.08425624732000662), 1374188763: (0.024647001721597783, 'Should be the crop_list due to order', 0.015093060619918493), 1374095835: (0.024647001721597783, 'Should be the crop_list due to order', 0.018805855224178204), 1374095833: (0.024647001721597783, 'Should be the crop_list due to order', 0.009304436033814034), 1374095831: (0.024647001721597783, 'Should be the crop_list due to order', 0.014443900163613646), 1374095825: (0.024647001721597783, 'Should be the crop_list due to order', 0.014945029537580184), 1374095824: (0.024647001721597783, 'Should be the crop_list due to order', 0.01052423375495248), 1374095789: (0.024647001721597783, 'Should be the crop_list due to order', 0.006280833278817521), 1374095787: (0.024647001721597783, 'Should be the crop_list due to order', 0.008873179773024025), 1374095785: (0.024647001721597783, 'Should be the crop_list due to order', 0.022999201832094498)} 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 [1374188986, 1374188982, 1374188937, 1374188903, 1374188902, 1374188901, 1374188881, 1374188773, 1374188770, 1374188767, 1374188764, 1374188763, 1374095835, 1374095833, 1374095831, 1374095825, 1374095824, 1374095789, 1374095787, 1374095785] Looping around the photos to save general results len do output : 20 /1374188986.Didn't retrieve data . /1374188982.Didn't retrieve data . /1374188937.Didn't retrieve data . /1374188903.Didn't retrieve data . /1374188902.Didn't retrieve data . /1374188901.Didn't retrieve data . /1374188881.Didn't retrieve data . /1374188773.Didn't retrieve data . /1374188770.Didn't retrieve data . /1374188767.Didn't retrieve data . /1374188764.Didn't retrieve data . /1374188763.Didn't retrieve data . /1374095835.Didn't retrieve data . /1374095833.Didn't retrieve data . /1374095831.Didn't retrieve data . /1374095825.Didn't retrieve data . /1374095824.Didn't retrieve data . /1374095789.Didn't retrieve data . /1374095787.Didn't retrieve data . /1374095785.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188986', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188982', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188937', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188903', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188902', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188901', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188881', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188773', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188770', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188767', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188764', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188763', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095835', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095833', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095831', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095825', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095824', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095789', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095787', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095785', None, None, None, None, None, '3685295') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.040445566177368164 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.274496793746948 time spend to save output : 0.04122614860534668 total time spend for step 3 : 4.315722942352295 step4:ventilate_hashtags_in_portfolio Tue Sep 9 17:12: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 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 : 25416702 get user id for portfolio 25416702 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`=25416702 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25416702 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25416702 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/25417250,25417251,25417252,25417253,25417254,25417255,25417256,25417257,25417259,25417260,25417262,25417263,26690934?tags=carton,barquette_avec_film,mal_croppe,flou,metal,etiquette,pehd,papier,pet_fonce,bouchon,pet_clair,verre,emr Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374188986, 1374188982, 1374188937, 1374188903, 1374188902, 1374188901, 1374188881, 1374188773, 1374188770, 1374188767, 1374188764, 1374188763, 1374095835, 1374095833, 1374095831, 1374095825, 1374095824, 1374095789, 1374095787, 1374095785] Looping around the photos to save general results len do output : 1 /25416702. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188986', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188982', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188937', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188903', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188902', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188901', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188881', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188773', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188770', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188767', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188764', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188763', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095835', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095833', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095831', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095825', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095824', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095789', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095787', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095785', None, None, None, None, None, '3685295') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.03878617286682129 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1199848651885986 time spend to save output : 0.03907489776611328 total time spend for step 4 : 1.159059762954712 step5:final Tue Sep 9 17:12:55 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 : {1374188986: ('0.03476338036967743',), 1374188982: ('0.03476338036967743',), 1374188937: ('0.03476338036967743',), 1374188903: ('0.03476338036967743',), 1374188902: ('0.03476338036967743',), 1374188901: ('0.03476338036967743',), 1374188881: ('0.03476338036967743',), 1374188773: ('0.03476338036967743',), 1374188770: ('0.03476338036967743',), 1374188767: ('0.03476338036967743',), 1374188764: ('0.03476338036967743',), 1374188763: ('0.03476338036967743',), 1374095835: ('0.03476338036967743',), 1374095833: ('0.03476338036967743',), 1374095831: ('0.03476338036967743',), 1374095825: ('0.03476338036967743',), 1374095824: ('0.03476338036967743',), 1374095789: ('0.03476338036967743',), 1374095787: ('0.03476338036967743',), 1374095785: ('0.03476338036967743',)} new output for save of step final : {1374188986: ('0.03476338036967743',), 1374188982: ('0.03476338036967743',), 1374188937: ('0.03476338036967743',), 1374188903: ('0.03476338036967743',), 1374188902: ('0.03476338036967743',), 1374188901: ('0.03476338036967743',), 1374188881: ('0.03476338036967743',), 1374188773: ('0.03476338036967743',), 1374188770: ('0.03476338036967743',), 1374188767: ('0.03476338036967743',), 1374188764: ('0.03476338036967743',), 1374188763: ('0.03476338036967743',), 1374095835: ('0.03476338036967743',), 1374095833: ('0.03476338036967743',), 1374095831: ('0.03476338036967743',), 1374095825: ('0.03476338036967743',), 1374095824: ('0.03476338036967743',), 1374095789: ('0.03476338036967743',), 1374095787: ('0.03476338036967743',), 1374095785: ('0.03476338036967743',)} [1374188986, 1374188982, 1374188937, 1374188903, 1374188902, 1374188901, 1374188881, 1374188773, 1374188770, 1374188767, 1374188764, 1374188763, 1374095835, 1374095833, 1374095831, 1374095825, 1374095824, 1374095789, 1374095787, 1374095785] Looping around the photos to save general results len do output : 20 /1374188986.Didn't retrieve data . /1374188982.Didn't retrieve data . /1374188937.Didn't retrieve data . /1374188903.Didn't retrieve data . /1374188902.Didn't retrieve data . /1374188901.Didn't retrieve data . /1374188881.Didn't retrieve data . /1374188773.Didn't retrieve data . /1374188770.Didn't retrieve data . /1374188767.Didn't retrieve data . /1374188764.Didn't retrieve data . /1374188763.Didn't retrieve data . /1374095835.Didn't retrieve data . /1374095833.Didn't retrieve data . /1374095831.Didn't retrieve data . /1374095825.Didn't retrieve data . /1374095824.Didn't retrieve data . /1374095789.Didn't retrieve data . /1374095787.Didn't retrieve data . /1374095785.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188986', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188982', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188937', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188903', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188902', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188901', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188881', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188773', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188770', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188767', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188764', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188763', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095835', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095833', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095831', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095825', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095824', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095789', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095787', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095785', None, None, None, None, None, '3685295') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.03957104682922363 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09028959274291992 time spend to save output : 0.04039478302001953 total time spend for step 5 : 0.13068437576293945 step6:blur_detection Tue Sep 9 17:12:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.03409409523010254 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.03620576858520508 save missing photos in datou_result : time spend for datou_step_exec : 0.08389806747436523 time spend to save output : 0.08395719528198242 total time spend for step 6 : 0.16785526275634766 step7:brightness Tue Sep 9 17:12:55 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.03138923645019531 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.032538652420043945 save missing photos in datou_result : time spend for datou_step_exec : 0.09627819061279297 time spend to save output : 0.07989668846130371 total time spend for step 7 : 0.17617487907409668 step8:send_mail_cod Tue Sep 9 17:12:55 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_P25416702_09-09-2025_17_12_55.pdf 25417250 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 .imagette254172501757430775 25417251 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 .imagette254172511757430777 25417254 imagette254172541757430777 25417255 imagette254172551757430777 25417256 imagette254172561757430777 25417257 change filename to text .imagette254172571757430777 25417259 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 .imagette254172591757430778 25417260 change filename to text .change filename to text .change filename to text .imagette254172601757430779 25417263 imagette254172631757430779 26690934 imagette266909341757430779 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25416702 and hashtag_type = 3327 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25417250,25417251,25417252,25417253,25417254,25417255,25417256,25417257,25417259,25417260,25417262,25417263,26690934?tags=carton,barquette_avec_film,mal_croppe,flou,metal,etiquette,pehd,papier,pet_fonce,bouchon,pet_clair,verre,emr your option no_mail is active, we will not send the real mail to your client args[1374188986] : ((1374188986, -2.3115013787282392, 492609224), (1374188986, -0.020768520445348587, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188982] : ((1374188982, -3.149773591349463, 492609224), (1374188982, 0.04045391431886551, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188937] : ((1374188937, -5.390618596947524, 492609224), (1374188937, -0.10305819565824798, 496442774), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188903] : ((1374188903, -0.8845968402860402, 492688767), (1374188903, 0.09694243080265211, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188902] : ((1374188902, -1.9554587539788957, 492688767), (1374188902, -0.09110424124483862, 496442774), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188901] : ((1374188901, -2.74395583344586, 492609224), (1374188901, -0.03311181787877645, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188881] : ((1374188881, -5.214599871869289, 492609224), (1374188881, -0.05997828363054252, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188773] : ((1374188773, -3.4722819413011003, 492609224), (1374188773, 0.07495685719513401, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188770] : ((1374188770, -2.452721417291255, 492609224), (1374188770, -0.1580402218541061, 496442774), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188767] : ((1374188767, -1.7158706708196925, 492688767), (1374188767, -0.049907321306230365, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188764] : ((1374188764, -5.497837104021159, 492609224), (1374188764, -0.22164955022173474, 496442774), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374188763] : ((1374188763, -3.4126746645119796, 492609224), (1374188763, -0.03114219389059152, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374095835] : ((1374095835, -2.780162436235909, 492609224), (1374095835, -0.023765750216540923, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374095833] : ((1374095833, -0.805828006409953, 492688767), (1374095833, 0.05610635728127852, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374095831] : ((1374095831, -1.6443753373805536, 492688767), (1374095831, -0.03959656380780067, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374095825] : ((1374095825, -1.4397258890174836, 492688767), (1374095825, -0.11278025402528753, 496442774), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374095824] : ((1374095824, -5.073251197732498, 492609224), (1374095824, -0.13634129808258966, 496442774), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374095789] : ((1374095789, -3.1535426053922415, 492609224), (1374095789, -0.1391689102998557, 496442774), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374095787] : ((1374095787, -2.54603924601493, 492609224), (1374095787, -0.013736357706063844, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com args[1374095785] : ((1374095785, -2.0430398066097535, 492609224), (1374095785, -0.03329302548775997, 2107752395), '0.03476338036967743') We are sending mail with results at kexin@fotonower.com refus_total : 0.03476338036967743 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25416702 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_P25416702_09-09-2025_17_12_55.pdf results_COD_P25416702_09-09-2025_17_12_55.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25416702_09-09-2025_17_12_55.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4255','25416702','results_COD_P25416702_09-09-2025_17_12_55.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25416702_09-09-2025_17_12_55.pdf','pdf','','0.64','0.03476338036967743') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1374188986, 1374188982, 1374188937, 1374188903, 1374188902, 1374188901, 1374188881, 1374188773, 1374188770, 1374188767, 1374188764, 1374188763, 1374095835, 1374095833, 1374095831, 1374095825, 1374095824, 1374095789, 1374095787, 1374095785] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188986', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188982', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188937', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188903', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188902', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188901', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188881', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188773', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188770', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188767', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188764', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188763', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095835', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095833', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095831', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095825', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095824', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095789', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095787', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095785', None, None, None, None, None, '3685295') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04603385925292969 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.6794114112854 time spend to save output : 0.04628109931945801 total time spend for step 8 : 7.725692510604858 step9:split_time_score Tue Sep 9 17:13:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('07', 20),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28072025 25416702 Nombre de photos uploadées : 20 / 23040 (0%) 28072025 25416702 Nombre de photos taguées (types de déchets): 0 / 20 (0%) 28072025 25416702 Nombre de photos taguées (volume) : 0 / 20 (0%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 8.106231689453125e-06 ???????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012180805206298828 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.7253670692443848 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_P25421470_28-07-2025_22_46_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25421470 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25421484_28-07-2025_20_35_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25421484 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25419305_28-07-2025_21_45_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25419305 order by id desc limit 1 Qualite : 0.03739057257422355 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25418967_05-09-2025_15_44_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25418967 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`=25418967 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25417162_28-07-2025_18_43_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25417162 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25417163_28-07-2025_21_21_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25417163 order by id desc limit 1 Qualite : 0.03476338036967743 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25416702_09-09-2025_17_12_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25416702 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`=25416702 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25416035_28-07-2025_21_05_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25416035 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25415621_28-07-2025_18_08_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25415621 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25415278_28-07-2025_20_57_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25415278 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25415011_28-07-2025_21_15_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25415011 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25413967_28-07-2025_17_29_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25413967 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25412986_28-07-2025_17_11_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25412986 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25408002_28-07-2025_19_27_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25408002 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25411596_28-07-2025_20_17_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25411596 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25411599_28-07-2025_16_55_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25411599 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25410785_28-07-2025_16_19_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25410785 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25410537_28-07-2025_16_13_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25410537 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25408326_28-07-2025_19_36_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25408326 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25408330_28-07-2025_15_15_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25408330 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25407430_28-07-2025_14_52_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25407430 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25406779_28-07-2025_14_31_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25406779 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25406781_28-07-2025_14_56_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25406781 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25406177_28-07-2025_18_42_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25406177 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25406192_28-07-2025_14_24_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25406192 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25405922_28-07-2025_14_26_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25405922 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25404022_28-07-2025_18_07_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25404022 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25403720_28-07-2025_13_33_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25403720 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25403069_28-07-2025_17_20_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25403069 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25404024_28-07-2025_13_35_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25404024 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28072025': {'nb_upload': 20, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1374188986, 1374188982, 1374188937, 1374188903, 1374188902, 1374188901, 1374188881, 1374188773, 1374188770, 1374188767, 1374188764, 1374188763, 1374095835, 1374095833, 1374095831, 1374095825, 1374095824, 1374095789, 1374095787, 1374095785] Looping around the photos to save general results len do output : 1 /25416702Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188986', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188982', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188937', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188903', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188902', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188901', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188881', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188773', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188770', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188767', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188764', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374188763', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095835', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095833', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095831', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095825', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095824', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095789', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095787', None, None, None, None, None, '3685295') ('4255', None, None, None, None, None, None, None, '3685295') ('4255', '25416702', '1374095785', None, None, None, None, None, '3685295') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.045928001403808594 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.959922552108765 time spend to save output : 0.04623293876647949 total time spend for step 9 : 17.006155490875244 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 20 set_done_treatment 5.32user 1.31system 0:54.12elapsed 12%CPU (0avgtext+0avgdata 199884maxresident)k 120inputs+42720outputs (5major+122887minor)pagefaults 0swaps