python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4249 ' -s datou_consolidate -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1344849 load datou : 4249 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11590 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11591 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11588 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11588 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11595 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11589 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11592 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11593 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11594 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11596 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11590 have datatype=11 whereas input 0 of step 11588 have datatype=2 WARNING : type of output 1 of step 11591 doesn't seem to be define in the database( WARNING : type of input 3 of step 11589 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11591 doesn't seem to be define in the database( WARNING : type of input 1 of step 11588 doesn't seem to be define in the database( WARNING : output 0 of step 11595 have datatype=10 whereas input 3 of step 11594 have datatype=6 WARNING : type of input 1 of step 11595 doesn't seem to be define in the database( WARNING : output 1 of step 11588 have datatype=7 whereas input 1 of step 11595 have datatype=None WARNING : type of output 1 of step 11595 doesn't seem to be define in the database( WARNING : type of input 4 of step 11589 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11590 doesn't seem to be define in the database( WARNING : type of input 1 of step 11591 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4249, datou_cur_ids : ['3664598'] with mtr_portfolio_ids : ['24776490'] and first list_photo_ids : [] new path : /proc/1344849/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11590 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11591 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11588 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11588 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11595 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11589 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11592 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11593 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11594 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11596 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11590 have datatype=11 whereas input 0 of step 11588 have datatype=2 WARNING : type of output 1 of step 11591 doesn't seem to be define in the database( WARNING : type of input 3 of step 11589 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11591 doesn't seem to be define in the database( WARNING : type of input 1 of step 11588 doesn't seem to be define in the database( WARNING : output 0 of step 11595 have datatype=10 whereas input 3 of step 11594 have datatype=6 WARNING : type of input 1 of step 11595 doesn't seem to be define in the database( WARNING : output 1 of step 11588 have datatype=7 whereas input 1 of step 11595 have datatype=None WARNING : type of output 1 of step 11595 doesn't seem to be define in the database( WARNING : type of input 4 of step 11589 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11590 doesn't seem to be define in the database( WARNING : type of input 1 of step 11591 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 27 ; length of list_pids : 27 ; length of list_args : 27 time to download the photos : 5.6236302852630615 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 Thu Sep 4 17:27: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 642 chid ids of type : 4209 batch 1 Loaded 119 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 125 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 136 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 143 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 136 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 88 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1371449703, 1371449701, 1371449697, 1371449678, 1371449621, 1371449619, 1371449615, 1371449608, 1371449504, 1371449493, 1371449478, 1371449474, 1371449458, 1371449451, 1371449403, 1371449400, 1371449386, 1371449383, 1371449380, 1371449364, 1371449362, 1371449356, 1371449353, 1371449348, 1371449342, 1371449317, 1371449312] Looping around the photos to save general results len do output : 27 /1371449703Didn't retrieve data . /1371449701Didn't retrieve data . /1371449697Didn't retrieve data . /1371449678Didn't retrieve data . /1371449621Didn't retrieve data . /1371449619Didn't retrieve data . /1371449615Didn't retrieve data . /1371449608Didn't retrieve data . /1371449504Didn't retrieve data . /1371449493Didn't retrieve data . /1371449478Didn't retrieve data . /1371449474Didn't retrieve data . /1371449458Didn't retrieve data . /1371449451Didn't retrieve data . /1371449403Didn't retrieve data . /1371449400Didn't retrieve data . /1371449386Didn't retrieve data . /1371449383Didn't retrieve data . /1371449380Didn't retrieve data . /1371449364Didn't retrieve data . /1371449362Didn't retrieve data . /1371449356Didn't retrieve data . /1371449353Didn't retrieve data . /1371449348Didn't retrieve data . /1371449342Didn't retrieve data . /1371449317Didn't retrieve data . /1371449312Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449703', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449701', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449697', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449678', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449621', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449619', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449615', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449608', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449504', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449493', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449478', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449474', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449458', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449451', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449403', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449400', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449386', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449383', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449380', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449364', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449362', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449356', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449353', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449348', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449342', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449317', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449312', None, None, None, None, None, '3664598') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.019173383712768555 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.39511942863464355 time spend to save output : 0.020064115524291992 total time spend for step 1 : 0.41518354415893555 step2:consolidate_hashtags_from_manual_portfolio Thu Sep 4 17:27: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 : 24776490 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`=24776490 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24776490 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24776490 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24776828 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=24776829 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=24776830 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 24 chid ids of type : 4209 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24776831 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 82 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24776832 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 747 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the 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=24776833 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 114 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24776834 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 219 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24776835 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 656 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the 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=24776836 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=24776837 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 163 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24776838 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 47 chid ids of type : 4209 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=24776839 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=24776840 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 24 chid ids of type : 4209 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24776841 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 24 chid ids of type : 4209 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24776842 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 668 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the 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=24776843 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 747 chid ids of type : 4209 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the 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=26533383 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 [1371449703, 1371449701, 1371449697, 1371449678, 1371449621, 1371449619, 1371449615, 1371449608, 1371449504, 1371449493, 1371449478, 1371449474, 1371449458, 1371449451, 1371449403, 1371449400, 1371449386, 1371449383, 1371449380, 1371449364, 1371449362, 1371449356, 1371449353, 1371449348, 1371449342, 1371449317, 1371449312] 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 : 27 time used for this insertion : 0.018657684326171875 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.187698602676392 time spend to save output : 0.018800020217895508 total time spend for step 2 : 9.206498622894287 step3:rle_unique_nms_with_priority Thu Sep 4 17:27:44 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 650 chid ids of type : 4209 seulement à utiliser dans la step consolidation batch 1 Loaded 24 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03124547004699707 seulement à utiliser dans la step consolidation batch 1 Loaded 18 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028958559036254883 seulement à utiliser dans la step consolidation batch 1 Loaded 37 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.038781166076660156 seulement à utiliser dans la step consolidation batch 1 Loaded 19 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028275012969970703 seulement à utiliser dans la step consolidation batch 1 Loaded 21 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02949380874633789 seulement à utiliser dans la step consolidation batch 1 Loaded 35 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.038069963455200195 seulement à utiliser dans la step consolidation batch 1 Loaded 30 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03191685676574707 seulement à utiliser dans la step consolidation batch 1 Loaded 25 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02842116355895996 seulement à utiliser dans la step consolidation batch 1 Loaded 35 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03493452072143555 seulement à utiliser dans la step consolidation batch 1 Loaded 40 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03194689750671387 seulement à utiliser dans la step consolidation batch 1 Loaded 30 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031239748001098633 seulement à utiliser dans la step consolidation batch 1 Loaded 29 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03228354454040527 seulement à utiliser dans la step consolidation batch 1 Loaded 37 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.034642934799194336 seulement à utiliser dans la step consolidation batch 1 Loaded 34 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03217124938964844 seulement à utiliser dans la step consolidation batch 1 Loaded 15 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02917313575744629 seulement à utiliser dans la step consolidation batch 1 Loaded 33 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030807971954345703 seulement à utiliser dans la step consolidation batch 1 Loaded 32 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031297922134399414 seulement à utiliser dans la step consolidation batch 1 Loaded 29 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03432512283325195 seulement à utiliser dans la step consolidation batch 1 Loaded 24 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030846834182739258 seulement à utiliser dans la step consolidation batch 1 Loaded 22 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02973484992980957 seulement à utiliser dans la step consolidation batch 1 Loaded 27 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029778242111206055 seulement à utiliser dans la step consolidation batch 1 Loaded 38 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030937910079956055 seulement à utiliser dans la step consolidation batch 1 Loaded 25 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0305173397064209 seulement à utiliser dans la step consolidation batch 1 Loaded 22 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029144763946533203 seulement à utiliser dans la step consolidation batch 1 Loaded 25 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0302581787109375 seulement à utiliser dans la step consolidation batch 1 Loaded 22 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029561996459960938 seulement à utiliser dans la step consolidation batch 1 Loaded 19 chid ids of type : 4209 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028251171112060547 map_output_result : {1371449703: (0.0, 'Should be the crop_list due to order', 0), 1371449701: (0.0, 'Should be the crop_list due to order', 0), 1371449697: (0.0, 'Should be the crop_list due to order', 0), 1371449678: (0.0, 'Should be the crop_list due to order', 0), 1371449621: (0.0, 'Should be the crop_list due to order', 0), 1371449619: (0.0, 'Should be the crop_list due to order', 0), 1371449615: (0.0, 'Should be the crop_list due to order', 0), 1371449608: (0.0, 'Should be the crop_list due to order', 0), 1371449504: (0.0, 'Should be the crop_list due to order', 0), 1371449493: (0.0, 'Should be the crop_list due to order', 0), 1371449478: (0.0, 'Should be the crop_list due to order', 0), 1371449474: (0.0, 'Should be the crop_list due to order', 0), 1371449458: (0.0, 'Should be the crop_list due to order', 0), 1371449451: (0.0, 'Should be the crop_list due to order', 0), 1371449403: (0.0, 'Should be the crop_list due to order', 0), 1371449400: (0.0, 'Should be the crop_list due to order', 0), 1371449386: (0.0, 'Should be the crop_list due to order', 0), 1371449383: (0.0, 'Should be the crop_list due to order', 0), 1371449380: (0.0, 'Should be the crop_list due to order', 0), 1371449364: (0.0, 'Should be the crop_list due to order', 0), 1371449362: (0.0, 'Should be the crop_list due to order', 0), 1371449356: (0.0, 'Should be the crop_list due to order', 0), 1371449353: (0.0, 'Should be the crop_list due to order', 0), 1371449348: (0.0, 'Should be the crop_list due to order', 0), 1371449342: (0.0, 'Should be the crop_list due to order', 0), 1371449317: (0.0, 'Should be the crop_list due to order', 0), 1371449312: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1371449703, 1371449701, 1371449697, 1371449678, 1371449621, 1371449619, 1371449615, 1371449608, 1371449504, 1371449493, 1371449478, 1371449474, 1371449458, 1371449451, 1371449403, 1371449400, 1371449386, 1371449383, 1371449380, 1371449364, 1371449362, 1371449356, 1371449353, 1371449348, 1371449342, 1371449317, 1371449312] Looping around the photos to save general results len do output : 27 /1371449703.Didn't retrieve data . /1371449701.Didn't retrieve data . /1371449697.Didn't retrieve data . /1371449678.Didn't retrieve data . /1371449621.Didn't retrieve data . /1371449619.Didn't retrieve data . /1371449615.Didn't retrieve data . /1371449608.Didn't retrieve data . /1371449504.Didn't retrieve data . /1371449493.Didn't retrieve data . /1371449478.Didn't retrieve data . /1371449474.Didn't retrieve data . /1371449458.Didn't retrieve data . /1371449451.Didn't retrieve data . /1371449403.Didn't retrieve data . /1371449400.Didn't retrieve data . /1371449386.Didn't retrieve data . /1371449383.Didn't retrieve data . /1371449380.Didn't retrieve data . /1371449364.Didn't retrieve data . /1371449362.Didn't retrieve data . /1371449356.Didn't retrieve data . /1371449353.Didn't retrieve data . /1371449348.Didn't retrieve data . /1371449342.Didn't retrieve data . /1371449317.Didn't retrieve data . /1371449312.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449703', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449701', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449697', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449678', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449621', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449619', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449615', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449608', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449504', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449493', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449478', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449474', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449458', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449451', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449403', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449400', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449386', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449383', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449380', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449364', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449362', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449356', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449353', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449348', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449342', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449317', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449312', None, None, None, None, None, '3664598') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 81 time used for this insertion : 0.020633697509765625 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.966369390487671 time spend to save output : 0.02144908905029297 total time spend for step 3 : 3.987818479537964 step4:ventilate_hashtags_in_portfolio Thu Sep 4 17:27:48 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 : 24776490 get user id for portfolio 24776490 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`=24776490 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24776490 AND mptpi.`type`=4209 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/24776828,24776829,24776830,24776831,24776832,24776833,24776834,24776835,24776836,24776837,24776838,24776839,24776840,24776841,24776842,24776843?tags=pet_fonce,ela,metal,kraft,papier,etiquette,film_plastique,mal_croppe,textiles_sanitaires,flou,pet_clair,pehd,pet_opaque,barquette_opaque,environnement,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1371449703, 1371449701, 1371449697, 1371449678, 1371449621, 1371449619, 1371449615, 1371449608, 1371449504, 1371449493, 1371449478, 1371449474, 1371449458, 1371449451, 1371449403, 1371449400, 1371449386, 1371449383, 1371449380, 1371449364, 1371449362, 1371449356, 1371449353, 1371449348, 1371449342, 1371449317, 1371449312] Looping around the photos to save general results len do output : 1 /24776490. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449703', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449701', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449697', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449678', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449621', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449619', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449615', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449608', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449504', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449493', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449478', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449474', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449458', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449451', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449403', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449400', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449386', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449383', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449380', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449364', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449362', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449356', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449353', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449348', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449342', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449317', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449312', None, None, None, None, None, '3664598') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.019596576690673828 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4301738739013672 time spend to save output : 0.019843578338623047 total time spend for step 4 : 0.45001745223999023 step5:final Thu Sep 4 17:27:48 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 : {1371449703: ('0.6556047006665049',), 1371449701: ('0.6556047006665049',), 1371449697: ('0.6556047006665049',), 1371449678: ('0.6556047006665049',), 1371449621: ('0.6556047006665049',), 1371449619: ('0.6556047006665049',), 1371449615: ('0.6556047006665049',), 1371449608: ('0.6556047006665049',), 1371449504: ('0.6556047006665049',), 1371449493: ('0.6556047006665049',), 1371449478: ('0.6556047006665049',), 1371449474: ('0.6556047006665049',), 1371449458: ('0.6556047006665049',), 1371449451: ('0.6556047006665049',), 1371449403: ('0.6556047006665049',), 1371449400: ('0.6556047006665049',), 1371449386: ('0.6556047006665049',), 1371449383: ('0.6556047006665049',), 1371449380: ('0.6556047006665049',), 1371449364: ('0.6556047006665049',), 1371449362: ('0.6556047006665049',), 1371449356: ('0.6556047006665049',), 1371449353: ('0.6556047006665049',), 1371449348: ('0.6556047006665049',), 1371449342: ('0.6556047006665049',), 1371449317: ('0.6556047006665049',), 1371449312: ('0.6556047006665049',)} new output for save of step final : {1371449703: ('0.6556047006665049',), 1371449701: ('0.6556047006665049',), 1371449697: ('0.6556047006665049',), 1371449678: ('0.6556047006665049',), 1371449621: ('0.6556047006665049',), 1371449619: ('0.6556047006665049',), 1371449615: ('0.6556047006665049',), 1371449608: ('0.6556047006665049',), 1371449504: ('0.6556047006665049',), 1371449493: ('0.6556047006665049',), 1371449478: ('0.6556047006665049',), 1371449474: ('0.6556047006665049',), 1371449458: ('0.6556047006665049',), 1371449451: ('0.6556047006665049',), 1371449403: ('0.6556047006665049',), 1371449400: ('0.6556047006665049',), 1371449386: ('0.6556047006665049',), 1371449383: ('0.6556047006665049',), 1371449380: ('0.6556047006665049',), 1371449364: ('0.6556047006665049',), 1371449362: ('0.6556047006665049',), 1371449356: ('0.6556047006665049',), 1371449353: ('0.6556047006665049',), 1371449348: ('0.6556047006665049',), 1371449342: ('0.6556047006665049',), 1371449317: ('0.6556047006665049',), 1371449312: ('0.6556047006665049',)} [1371449703, 1371449701, 1371449697, 1371449678, 1371449621, 1371449619, 1371449615, 1371449608, 1371449504, 1371449493, 1371449478, 1371449474, 1371449458, 1371449451, 1371449403, 1371449400, 1371449386, 1371449383, 1371449380, 1371449364, 1371449362, 1371449356, 1371449353, 1371449348, 1371449342, 1371449317, 1371449312] Looping around the photos to save general results len do output : 27 /1371449703.Didn't retrieve data . /1371449701.Didn't retrieve data . /1371449697.Didn't retrieve data . /1371449678.Didn't retrieve data . /1371449621.Didn't retrieve data . /1371449619.Didn't retrieve data . /1371449615.Didn't retrieve data . /1371449608.Didn't retrieve data . /1371449504.Didn't retrieve data . /1371449493.Didn't retrieve data . /1371449478.Didn't retrieve data . /1371449474.Didn't retrieve data . /1371449458.Didn't retrieve data . /1371449451.Didn't retrieve data . /1371449403.Didn't retrieve data . /1371449400.Didn't retrieve data . /1371449386.Didn't retrieve data . /1371449383.Didn't retrieve data . /1371449380.Didn't retrieve data . /1371449364.Didn't retrieve data . /1371449362.Didn't retrieve data . /1371449356.Didn't retrieve data . /1371449353.Didn't retrieve data . /1371449348.Didn't retrieve data . /1371449342.Didn't retrieve data . /1371449317.Didn't retrieve data . /1371449312.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449703', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449701', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449697', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449678', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449621', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449619', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449615', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449608', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449504', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449493', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449478', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449474', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449458', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449451', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449403', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449400', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449386', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449383', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449380', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449364', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449362', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449356', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449353', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449348', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449342', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449317', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449312', None, None, None, None, None, '3664598') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 81 time used for this insertion : 0.017066001892089844 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.039092063903808594 time spend to save output : 0.017881155014038086 total time spend for step 5 : 0.05697321891784668 step6:blur_detection Thu Sep 4 17:27:48 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 : 27 time used for this insertion : 0.011471271514892578 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 27 time used for this insertion : 0.015503883361816406 save missing photos in datou_result : time spend for datou_step_exec : 0.026486873626708984 time spend to save output : 0.03238964080810547 total time spend for step 6 : 0.05887651443481445 step7:brightness Thu Sep 4 17:27:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure 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 : 27 time used for this insertion : 0.011947393417358398 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 27 time used for this insertion : 0.011025667190551758 save missing photos in datou_result : time spend for datou_step_exec : 0.02884674072265625 time spend to save output : 0.027586936950683594 total time spend for step 7 : 0.056433677673339844 step8:send_mail_cod Thu Sep 4 17:27: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 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_P24776490_04-09-2025_17_27_49.pdf 24776828 imagette247768281756999669 24776829 imagette247768291756999669 24776830 change filename to text .imagette247768301756999669 24776831 change filename to text .change filename to text .change filename to text .imagette247768311756999669 24776833 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette247768331756999669 24776834 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 .imagette247768341756999670 24776836 imagette247768361756999671 24776838 change filename to text .change filename to text .imagette247768381756999671 24776839 imagette247768391756999671 24776840 change filename to text .change filename to text .imagette247768401756999671 24776841 change filename to text .imagette247768411756999671 24776843 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette247768431756999672 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24776490 and hashtag_type = 4209 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/24776828,24776829,24776830,24776831,24776832,24776833,24776834,24776835,24776836,24776837,24776838,24776839,24776840,24776841,24776842,24776843?tags=pet_fonce,ela,metal,kraft,papier,etiquette,film_plastique,mal_croppe,textiles_sanitaires,flou,pet_clair,pehd,pet_opaque,barquette_opaque,environnement,carton your option no_mail is active, we will not send the real mail to your client args[1371449703] : ((1371449703, -7.5153092694259565, 492609224), (1371449703, 0.8417490923690936, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449701] : ((1371449701, -7.314918846715561, 492609224), (1371449701, 0.7614711520062645, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449697] : ((1371449697, -7.485597261419664, 492609224), (1371449697, 1.3522434928277527, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449678] : ((1371449678, -7.7128839133369205, 492609224), (1371449678, 0.9238028157527871, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449621] : ((1371449621, -7.389989636922633, 492609224), (1371449621, 0.9456447953031004, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449619] : ((1371449619, -7.294798510123832, 492609224), (1371449619, 1.1226973960458402, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449615] : ((1371449615, -7.204386424773643, 492609224), (1371449615, 1.4981542914983443, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449608] : ((1371449608, -7.522822417637217, 492609224), (1371449608, 1.0613086366151037, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449504] : ((1371449504, -7.5197433228213635, 492609224), (1371449504, 1.065809307794054, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449493] : ((1371449493, -7.299101088773819, 492609224), (1371449493, 1.2698101771822647, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449478] : ((1371449478, -7.211148748675949, 492609224), (1371449478, 0.9425004287342398, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449474] : ((1371449474, -6.973767066821116, 492609224), (1371449474, 0.6351270604731576, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449458] : ((1371449458, -7.107080816759534, 492609224), (1371449458, 0.8858769405940479, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449451] : ((1371449451, -7.190872066713073, 492609224), (1371449451, 1.345444872734254, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449403] : ((1371449403, -7.722190991728496, 492609224), (1371449403, 1.0366038122723817, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449400] : ((1371449400, -7.275518715599072, 492609224), (1371449400, 1.2933790235038507, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449386] : ((1371449386, -7.272039931059429, 492609224), (1371449386, 0.941737119042039, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449383] : ((1371449383, -7.011498034424041, 492609224), (1371449383, 1.0102775973171625, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449380] : ((1371449380, -7.286456100711164, 492609224), (1371449380, 0.9667121242315094, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449364] : ((1371449364, -7.28978268845681, 492609224), (1371449364, 0.9588789000413704, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449362] : ((1371449362, -7.219078299216395, 492609224), (1371449362, 0.9751823452600189, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449356] : ((1371449356, -7.206716772021811, 492609224), (1371449356, 1.203149674161173, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449353] : ((1371449353, -7.145669954191322, 492609224), (1371449353, 1.1088954390377546, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449348] : ((1371449348, -7.419116604566722, 492609224), (1371449348, 1.2333210729982331, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449342] : ((1371449342, -7.1370992178713895, 492609224), (1371449342, 0.7056910995621315, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449317] : ((1371449317, -7.692655747126566, 492609224), (1371449317, 0.9431491199621274, 2107752395), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com args[1371449312] : ((1371449312, -5.437757858384884, 492609224), (1371449312, -0.47117537293576434, 496442774), '0.6556047006665049') We are sending mail with results at kexin@fotonower.com refus_total : 0.6556047006665049 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=24776490 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_P24776490_04-09-2025_17_27_49.pdf results_COD_P24776490_04-09-2025_17_27_49.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24776490_04-09-2025_17_27_49.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4249','24776490','results_COD_P24776490_04-09-2025_17_27_49.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24776490_04-09-2025_17_27_49.pdf','pdf','','1.39','0.6556047006665049') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1371449703, 1371449701, 1371449697, 1371449678, 1371449621, 1371449619, 1371449615, 1371449608, 1371449504, 1371449493, 1371449478, 1371449474, 1371449458, 1371449451, 1371449403, 1371449400, 1371449386, 1371449383, 1371449380, 1371449364, 1371449362, 1371449356, 1371449353, 1371449348, 1371449342, 1371449317, 1371449312] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449703', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449701', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449697', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449678', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449621', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449619', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449615', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449608', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449504', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449493', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449478', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449474', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449458', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449451', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449403', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449400', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449386', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449383', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449380', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449364', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449362', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449356', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449353', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449348', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449342', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449317', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449312', None, None, None, None, None, '3664598') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01681375503540039 save_final save missing photos in datou_result : time spend for datou_step_exec : 10.53751277923584 time spend to save output : 0.017131805419921875 total time spend for step 8 : 10.554644584655762 step9:split_time_score Thu Sep 4 17:27:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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'}] (('18', 27),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09072025 24776490 Nombre de photos uploadées : 27 / 23040 (0%) 09072025 24776490 Nombre de photos taguées (types de déchets): 0 / 27 (0%) 09072025 24776490 Nombre de photos taguées (volume) : 0 / 27 (0%) elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ??????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013577938079833984 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21613097190856934 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_P24753612_09-07-2025_15_51_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753612 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753612_09-07-2025_15_51_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753612 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753638_09-07-2025_15_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753638 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753640_09-07-2025_15_52_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753640 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753641_09-07-2025_15_52_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753641 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753642_09-07-2025_16_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753642 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753643_09-07-2025_15_56_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753643 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753644_09-07-2025_15_56_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753644 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753644_09-07-2025_15_56_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753644 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753646_09-07-2025_15_58_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753646 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753661_09-07-2025_15_55_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753661 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753675_09-07-2025_15_59_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753675 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753677_09-07-2025_19_31_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753677 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753677_09-07-2025_19_31_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753677 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753679_09-07-2025_16_00_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753679 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757195_09-07-2025_16_46_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24757195 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753682_09-07-2025_16_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753682 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753686_09-07-2025_15_53_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753686 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753689_09-07-2025_15_51_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753689 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753689_09-07-2025_15_51_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753689 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753703_09-07-2025_15_58_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753703 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753717_09-07-2025_16_09_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753717 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753719_09-07-2025_15_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753719 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753719_09-07-2025_15_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753719 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757196_09-07-2025_17_19_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24757196 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753723_09-07-2025_17_18_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753723 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753726_09-07-2025_19_55_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753726 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753728_09-07-2025_15_53_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753728 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753730_09-07-2025_15_56_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753730 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753731_09-07-2025_15_49_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753731 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753732_09-07-2025_17_01_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753732 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753733_09-07-2025_15_54_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753733 order by id desc limit 1 Qualite : 0.09784907889660494 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24753734_09-07-2025_15_43_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24753734 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24753734 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24757197_09-07-2025_16_56_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24757197 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760968_09-07-2025_18_15_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760968 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760969_09-07-2025_18_13_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760969 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760969_09-07-2025_18_13_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760969 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760971_09-07-2025_18_22_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760971 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760973_09-07-2025_21_03_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760973 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760987_09-07-2025_18_12_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760987 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24760987_09-07-2025_18_12_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24760987 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24761001_09-07-2025_18_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24761001 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24774217_10-07-2025_00_25_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24774217 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24774219_10-07-2025_00_14_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24774219 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24774219_10-07-2025_00_14_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24774219 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24774222_10-07-2025_00_52_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24774222 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24774224_10-07-2025_00_15_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24774224 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24774225_10-07-2025_00_20_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24774225 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24774238_10-07-2025_00_12_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24774238 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24776489_10-07-2025_01_13_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24776489 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24776489_10-07-2025_01_13_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24776489 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24776490_04-09-2025_17_27_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24776490 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24776491_10-07-2025_01_20_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24776491 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026599_17-07-2025_16_05_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25026599 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026602_17-07-2025_16_28_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25026602 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026604_17-07-2025_17_08_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25026604 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026604_17-07-2025_17_08_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25026604 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026606_17-07-2025_16_03_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25026606 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026627_17-07-2025_16_30_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25026627 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25026648_17-07-2025_19_09_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25026648 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09072025': {'nb_upload': 27, '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 [1371449703, 1371449701, 1371449697, 1371449678, 1371449621, 1371449619, 1371449615, 1371449608, 1371449504, 1371449493, 1371449478, 1371449474, 1371449458, 1371449451, 1371449403, 1371449400, 1371449386, 1371449383, 1371449380, 1371449364, 1371449362, 1371449356, 1371449353, 1371449348, 1371449342, 1371449317, 1371449312] Looping around the photos to save general results len do output : 1 /24776490Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449703', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449701', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449697', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449678', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449621', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449619', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449615', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449608', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449504', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449493', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449478', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449474', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449458', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449451', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449403', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449400', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449386', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449383', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449380', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449364', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449362', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449356', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449353', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449348', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449342', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449317', None, None, None, None, None, '3664598') ('4249', None, None, None, None, None, None, None, '3664598') ('4249', '24776490', '1371449312', None, None, None, None, None, '3664598') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.04337644577026367 save_final save missing photos in datou_result : time spend for datou_step_exec : 31.099363088607788 time spend to save output : 0.043630123138427734 total time spend for step 9 : 31.142993211746216 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 27 set_done_treatment 7.49user 1.78system 1:05.85elapsed 14%CPU (0avgtext+0avgdata 201860maxresident)k 920inputs+118440outputs (0major+143087minor)pagefaults 0swaps