python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4255 ' -s datou_consolidate -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1507078 load datou : 4255 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4255, datou_cur_ids : ['3695216'] with mtr_portfolio_ids : ['24292802'] and first list_photo_ids : [] new path : /proc/1507078/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 5.846936225891113 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 11 12:04:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 562 chid ids of type : 3327 batch 1 Loaded 230 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 267 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 222 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 219 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 179 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1367787954, 1367787880, 1367787878, 1367787863, 1367787860, 1367787859, 1367787858, 1367787856, 1367787854, 1367787848, 1367787846, 1367787844, 1367787841, 1367787838, 1367787582, 1367787574, 1367787572, 1367787546, 1367787504, 1367787396] Looping around the photos to save general results len do output : 20 /1367787396Didn't retrieve data . /1367787504Didn't retrieve data . /1367787546Didn't retrieve data . /1367787572Didn't retrieve data . /1367787574Didn't retrieve data . /1367787582Didn't retrieve data . /1367787838Didn't retrieve data . /1367787841Didn't retrieve data . /1367787844Didn't retrieve data . /1367787846Didn't retrieve data . /1367787848Didn't retrieve data . /1367787854Didn't retrieve data . /1367787856Didn't retrieve data . /1367787858Didn't retrieve data . /1367787859Didn't retrieve data . /1367787860Didn't retrieve data . /1367787863Didn't retrieve data . /1367787878Didn't retrieve data . /1367787880Didn't retrieve data . /1367787954Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787954', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787880', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787878', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787863', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787860', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787859', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787858', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787856', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787854', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787848', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787846', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787844', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787841', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787838', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787582', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787574', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787572', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787546', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787504', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787396', None, None, None, None, None, '3695216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 time used for this insertion : 0.016910076141357422 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6046323776245117 time spend to save output : 0.01752638816833496 total time spend for step 1 : 1.6221587657928467 step2:consolidate_hashtags_from_manual_portfolio Thu Sep 11 12:04: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 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 : 24292802 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`=24292802 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24292802 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24292802 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24293171 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 786 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24293172 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1117 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24293174 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 177 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24293175 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 394 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24293176 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 55 chid ids of type : 3327 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24293177 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 571 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24293178 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 122 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24293179 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=24293180 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 569 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24293181 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1065 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24293182 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=24293184 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 386 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=26759554 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=26759555 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 [1367787954, 1367787880, 1367787878, 1367787863, 1367787860, 1367787859, 1367787858, 1367787856, 1367787854, 1367787848, 1367787846, 1367787844, 1367787841, 1367787838, 1367787582, 1367787574, 1367787572, 1367787546, 1367787504, 1367787396] Looping around the photos to save general results len do output : 6 /Tassign value string error string indices must be integers invalid literal for int() with base 10: 'T' begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06568622589111328 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.504889726638794 time spend to save output : 0.06588554382324219 total time spend for step 2 : 6.570775270462036 step3:rle_unique_nms_with_priority Thu Sep 11 12:04:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 575 chid ids of type : 3327 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.11165595054626465 seulement à utiliser dans la step consolidation batch 1 Loaded 67 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03313040733337402 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.13645148277282715 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.14267802238464355 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0968010425567627 seulement à utiliser dans la step consolidation batch 1 Loaded 49 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.17039132118225098 seulement à utiliser dans la step consolidation batch 1 Loaded 60 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.15011119842529297 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1472477912902832 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.11296248435974121 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030660152435302734 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03208279609680176 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0309298038482666 seulement à utiliser dans la step consolidation batch 1 Loaded 54 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03406262397766113 seulement à utiliser dans la step consolidation batch 1 Loaded 52 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03252387046813965 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1864469051361084 seulement à utiliser dans la step consolidation batch 1 Loaded 51 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.20067071914672852 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0302886962890625 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03451824188232422 seulement à utiliser dans la step consolidation batch 1 Loaded 62 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02997899055480957 seulement à utiliser dans la step consolidation batch 1 Loaded 63 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03462100028991699 map_output_result : {1367787954: (0.025581264319501813, 'Should be the crop_list due to order', 0.01872186468737323), 1367787880: (0.025581264319501813, 'Should be the crop_list due to order', 0.0750568042438691), 1367787878: (0.025581264319501813, 'Should be the crop_list due to order', 0.027671378541401486), 1367787863: (0.025581264319501813, 'Should be the crop_list due to order', 0.015449376049899627), 1367787860: (0.025581264319501813, 'Should be the crop_list due to order', 0.03834949873133696), 1367787859: (0.025581264319501813, 'Should be the crop_list due to order', 0.011411593300701312), 1367787858: (0.025581264319501813, 'Should be the crop_list due to order', 0.043482682680001446), 1367787856: (0.025581264319501813, 'Should be the crop_list due to order', 0.0337892831134749), 1367787854: (0.025581264319501813, 'Should be the crop_list due to order', 0.048634232687675374), 1367787848: (0.025581264319501813, 'Should be the crop_list due to order', 0.026475371840480974), 1367787846: (0.025581264319501813, 'Should be the crop_list due to order', 0.02833031091004317), 1367787844: (0.025581264319501813, 'Should be the crop_list due to order', 0.01707719710426316), 1367787841: (0.025581264319501813, 'Should be the crop_list due to order', 0.03464860230195728), 1367787838: (0.025581264319501813, 'Should be the crop_list due to order', 0.003864971786129752), 1367787582: (0.025581264319501813, 'Should be the crop_list due to order', 0.009115028860627906), 1367787574: (0.025581264319501813, 'Should be the crop_list due to order', 0.011836038797426942), 1367787572: (0.025581264319501813, 'Should be the crop_list due to order', 0.0056219156225943605), 1367787546: (0.025581264319501813, 'Should be the crop_list due to order', 0.020124874108344275), 1367787504: (0.025581264319501813, 'Should be the crop_list due to order', 0.004578911202633124), 1367787396: (0.025581264319501813, 'Should be the crop_list due to order', 0.03738534981980192)} 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 [1367787954, 1367787880, 1367787878, 1367787863, 1367787860, 1367787859, 1367787858, 1367787856, 1367787854, 1367787848, 1367787846, 1367787844, 1367787841, 1367787838, 1367787582, 1367787574, 1367787572, 1367787546, 1367787504, 1367787396] Looping around the photos to save general results len do output : 20 /1367787954.Didn't retrieve data . /1367787880.Didn't retrieve data . /1367787878.Didn't retrieve data . /1367787863.Didn't retrieve data . /1367787860.Didn't retrieve data . /1367787859.Didn't retrieve data . /1367787858.Didn't retrieve data . /1367787856.Didn't retrieve data . /1367787854.Didn't retrieve data . /1367787848.Didn't retrieve data . /1367787846.Didn't retrieve data . /1367787844.Didn't retrieve data . /1367787841.Didn't retrieve data . /1367787838.Didn't retrieve data . /1367787582.Didn't retrieve data . /1367787574.Didn't retrieve data . /1367787572.Didn't retrieve data . /1367787546.Didn't retrieve data . /1367787504.Didn't retrieve data . /1367787396.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787954', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787880', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787878', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787863', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787860', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787859', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787858', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787856', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787854', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787848', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787846', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787844', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787841', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787838', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787582', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787574', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787572', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787546', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787504', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787396', None, None, None, None, None, '3695216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.017377614974975586 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.889394044876099 time spend to save output : 0.01808309555053711 total time spend for step 3 : 5.907477140426636 step4:ventilate_hashtags_in_portfolio Thu Sep 11 12:04:47 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 : 24292802 get user id for portfolio 24292802 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`=24292802 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24292802 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24292802 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/24293171,24293172,24293174,24293175,24293176,24293177,24293178,24293179,24293180,24293181,24293182,24293184,26759562?tags=carton,pet_clair,pehd,papier,barquette_avec_film,flou,bouchon,metal,pet_fonce,mal_croppe,verre,etiquette,emr Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1367787954, 1367787880, 1367787878, 1367787863, 1367787860, 1367787859, 1367787858, 1367787856, 1367787854, 1367787848, 1367787846, 1367787844, 1367787841, 1367787838, 1367787582, 1367787574, 1367787572, 1367787546, 1367787504, 1367787396] Looping around the photos to save general results len do output : 1 /24292802. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787954', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787880', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787878', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787863', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787860', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787859', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787858', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787856', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787854', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787848', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787846', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787844', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787841', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787838', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787582', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787574', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787572', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787546', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787504', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787396', None, None, None, None, None, '3695216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.04568767547607422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.38599395751953125 time spend to save output : 0.04598712921142578 total time spend for step 4 : 0.43198108673095703 step5:final Thu Sep 11 12:04:47 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 : {1367787954: ('0.06672864905071697',), 1367787880: ('0.06672864905071697',), 1367787878: ('0.06672864905071697',), 1367787863: ('0.06672864905071697',), 1367787860: ('0.06672864905071697',), 1367787859: ('0.06672864905071697',), 1367787858: ('0.06672864905071697',), 1367787856: ('0.06672864905071697',), 1367787854: ('0.06672864905071697',), 1367787848: ('0.06672864905071697',), 1367787846: ('0.06672864905071697',), 1367787844: ('0.06672864905071697',), 1367787841: ('0.06672864905071697',), 1367787838: ('0.06672864905071697',), 1367787582: ('0.06672864905071697',), 1367787574: ('0.06672864905071697',), 1367787572: ('0.06672864905071697',), 1367787546: ('0.06672864905071697',), 1367787504: ('0.06672864905071697',), 1367787396: ('0.06672864905071697',)} new output for save of step final : {1367787954: ('0.06672864905071697',), 1367787880: ('0.06672864905071697',), 1367787878: ('0.06672864905071697',), 1367787863: ('0.06672864905071697',), 1367787860: ('0.06672864905071697',), 1367787859: ('0.06672864905071697',), 1367787858: ('0.06672864905071697',), 1367787856: ('0.06672864905071697',), 1367787854: ('0.06672864905071697',), 1367787848: ('0.06672864905071697',), 1367787846: ('0.06672864905071697',), 1367787844: ('0.06672864905071697',), 1367787841: ('0.06672864905071697',), 1367787838: ('0.06672864905071697',), 1367787582: ('0.06672864905071697',), 1367787574: ('0.06672864905071697',), 1367787572: ('0.06672864905071697',), 1367787546: ('0.06672864905071697',), 1367787504: ('0.06672864905071697',), 1367787396: ('0.06672864905071697',)} [1367787954, 1367787880, 1367787878, 1367787863, 1367787860, 1367787859, 1367787858, 1367787856, 1367787854, 1367787848, 1367787846, 1367787844, 1367787841, 1367787838, 1367787582, 1367787574, 1367787572, 1367787546, 1367787504, 1367787396] Looping around the photos to save general results len do output : 20 /1367787954.Didn't retrieve data . /1367787880.Didn't retrieve data . /1367787878.Didn't retrieve data . /1367787863.Didn't retrieve data . /1367787860.Didn't retrieve data . /1367787859.Didn't retrieve data . /1367787858.Didn't retrieve data . /1367787856.Didn't retrieve data . /1367787854.Didn't retrieve data . /1367787848.Didn't retrieve data . /1367787846.Didn't retrieve data . /1367787844.Didn't retrieve data . /1367787841.Didn't retrieve data . /1367787838.Didn't retrieve data . /1367787582.Didn't retrieve data . /1367787574.Didn't retrieve data . /1367787572.Didn't retrieve data . /1367787546.Didn't retrieve data . /1367787504.Didn't retrieve data . /1367787396.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787954', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787880', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787878', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787863', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787860', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787859', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787858', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787856', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787854', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787848', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787846', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787844', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787841', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787838', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787582', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787574', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787572', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787546', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787504', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787396', None, None, None, None, None, '3695216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.045072317123413086 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07719159126281738 time spend to save output : 0.045928239822387695 total time spend for step 5 : 0.12311983108520508 step6:blur_detection Thu Sep 11 12:04:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.009779214859008789 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.011899471282958984 save missing photos in datou_result : time spend for datou_step_exec : 0.023986101150512695 time spend to save output : 0.02592921257019043 total time spend for step 6 : 0.049915313720703125 step7:brightness Thu Sep 11 12:04:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.012748241424560547 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.00903463363647461 save missing photos in datou_result : time spend for datou_step_exec : 0.025884628295898438 time spend to save output : 0.0261383056640625 total time spend for step 7 : 0.05202293395996094 step8:send_mail_cod Thu Sep 11 12:04:47 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_P24292802_11-09-2025_12_04_47.pdf 24293171 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 .imagette242931711757585087 24293174 change filename to text .change filename to text .change filename to text .change filename to text .imagette242931741757585090 24293175 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 .imagette242931751757585090 24293176 change filename to text .imagette242931761757585092 24293178 change filename to text .change filename to text .imagette242931781757585092 24293179 imagette242931791757585092 24293180 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 .imagette242931801757585092 24293182 imagette242931821757585094 24293184 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 .imagette242931841757585094 26759562 imagette267595621757585096 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24292802 and hashtag_type = 3327 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/24293171,24293172,24293174,24293175,24293176,24293177,24293178,24293179,24293180,24293181,24293182,24293184,26759562?tags=carton,pet_clair,pehd,papier,barquette_avec_film,flou,bouchon,metal,pet_fonce,mal_croppe,verre,etiquette,emr your option no_mail is active, we will not send the real mail to your client args[1367787954] : ((1367787954, -3.3145771981414303, 492609224), (1367787954, 0.1545546379296251, 2107752395), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787880] : ((1367787880, -3.3542411865358597, 492609224), (1367787880, -0.2143896522983226, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787878] : ((1367787878, -2.4133031698818184, 492609224), (1367787878, -0.21924985149769027, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787863] : ((1367787863, -1.6614371782813595, 492688767), (1367787863, 0.13412287047987742, 2107752395), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787860] : ((1367787860, -1.4772747607978391, 492688767), (1367787860, -0.0978850219989028, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787859] : ((1367787859, -2.2295321072344807, 492609224), (1367787859, 0.08541762193529488, 2107752395), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787858] : ((1367787858, -6.912019868876013, 492609224), (1367787858, -0.205462393557515, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787856] : ((1367787856, -6.509871998688781, 492609224), (1367787856, -0.23358418993286276, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787854] : ((1367787854, -1.8019892035599738, 492688767), (1367787854, -0.12943632920268672, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787848] : ((1367787848, -2.7659663935173726, 492609224), (1367787848, 0.09575563075919655, 2107752395), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787846] : ((1367787846, -2.2676720489518547, 492609224), (1367787846, -0.09055108146827914, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787844] : ((1367787844, -1.5559690796887187, 492688767), (1367787844, -0.1562448534053965, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787841] : ((1367787841, -3.548635740092873, 492609224), (1367787841, -0.23847506754133788, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787838] : ((1367787838, -1.8788138745566028, 492688767), (1367787838, -0.0009580382069057697, 2107752395), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787582] : ((1367787582, -2.103741672638026, 492609224), (1367787582, -0.12357482678272382, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787574] : ((1367787574, -3.522267974176661, 492609224), (1367787574, -0.08215247766516866, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787572] : ((1367787572, -7.151474687174509, 492609224), (1367787572, -0.25384507016777363, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787546] : ((1367787546, -1.7578369005405194, 492688767), (1367787546, -0.04618367410385634, 2107752395), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787504] : ((1367787504, -0.7053056102310128, 492688767), (1367787504, -0.05498908065052922, 2107752395), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com args[1367787396] : ((1367787396, -2.9160482017859275, 492609224), (1367787396, -0.221868606004553, 496442774), '0.06672864905071697') We are sending mail with results at kexin@fotonower.com refus_total : 0.06672864905071697 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=24292802 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_P24292802_11-09-2025_12_04_47.pdf results_COD_P24292802_11-09-2025_12_04_47.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24292802_11-09-2025_12_04_47.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4255','24292802','results_COD_P24292802_11-09-2025_12_04_47.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24292802_11-09-2025_12_04_47.pdf','pdf','','0.86','0.06672864905071697') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1367787954, 1367787880, 1367787878, 1367787863, 1367787860, 1367787859, 1367787858, 1367787856, 1367787854, 1367787848, 1367787846, 1367787844, 1367787841, 1367787838, 1367787582, 1367787574, 1367787572, 1367787546, 1367787504, 1367787396] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787954', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787880', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787878', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787863', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787860', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787859', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787858', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787856', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787854', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787848', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787846', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787844', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787841', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787838', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787582', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787574', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787572', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787546', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787504', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787396', None, None, None, None, None, '3695216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.09084486961364746 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.8618323802948 time spend to save output : 0.09117293357849121 total time spend for step 8 : 11.953005313873291 step9:split_time_score Thu Sep 11 12:04: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'}] (('07', 20),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 24062025 24292802 Nombre de photos uploadées : 20 / 23040 (0%) 24062025 24292802 Nombre de photos taguées (types de déchets): 0 / 20 (0%) 24062025 24292802 Nombre de photos taguées (volume) : 0 / 20 (0%) elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 8.344650268554688e-06 ???????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001184225082397461 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.283536434173584 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps Qualite : 0.03619328270926423 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24401559_12-08-2025_11_56_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24401559 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24401559 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24401561_29-06-2025_08_47_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24401561 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24401565_29-06-2025_10_19_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24401565 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24401567_29-06-2025_09_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24401567 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418219_30-06-2025_14_47_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418219 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418224_30-06-2025_10_04_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418224 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418227_30-06-2025_10_31_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418227 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418250_30-06-2025_11_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418250 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418255_30-06-2025_10_34_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418255 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418274_30-06-2025_09_32_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418274 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418283_30-06-2025_14_27_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418283 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292732_25-06-2025_17_34_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292732 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418308_30-06-2025_11_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418308 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418312_30-06-2025_11_00_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418316_30-06-2025_10_55_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418316 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418339_30-06-2025_09_27_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418339 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418358_30-06-2025_11_56_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418358 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418366_30-06-2025_11_19_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418366 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418381_30-06-2025_12_02_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418381 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418399_30-06-2025_10_10_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418399 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418402_30-06-2025_12_50_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418402 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418404_30-06-2025_11_46_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418404 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418424_30-06-2025_11_11_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418424 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418431_30-06-2025_08_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418431 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24418449_30-06-2025_09_16_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24418449 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24401571_29-06-2025_10_24_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24401571 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292761_25-06-2025_16_51_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292761 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292770_25-06-2025_19_17_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292770 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292775_25-06-2025_16_53_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292775 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292788_25-06-2025_16_51_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292788 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292789_25-06-2025_16_35_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292789 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292791_25-06-2025_19_20_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292791 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292793_25-06-2025_16_27_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292793 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292794_25-06-2025_16_47_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292794 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292795_25-06-2025_19_11_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292795 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292797_25-06-2025_16_19_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292797 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292798_25-06-2025_16_47_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292798 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292799_25-06-2025_20_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292799 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24292800_25-06-2025_16_11_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292800 order by id desc limit 1 Qualite : 0.06672864905071697 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24292802_11-09-2025_12_04_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24292802 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24292802 AND mptpi.`type`=3327 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'24062025': {'nb_upload': 20, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1367787954, 1367787880, 1367787878, 1367787863, 1367787860, 1367787859, 1367787858, 1367787856, 1367787854, 1367787848, 1367787846, 1367787844, 1367787841, 1367787838, 1367787582, 1367787574, 1367787572, 1367787546, 1367787504, 1367787396] Looping around the photos to save general results len do output : 1 /24292802Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787954', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787880', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787878', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787863', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787860', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787859', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787858', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787856', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787854', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787848', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787846', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787844', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787841', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787838', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787582', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787574', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787572', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787546', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787504', None, None, None, None, None, '3695216') ('4255', None, None, None, None, None, None, None, '3695216') ('4255', '24292802', '1367787396', None, None, None, None, None, '3695216') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.04023003578186035 save_final save missing photos in datou_result : time spend for datou_step_exec : 20.405433893203735 time spend to save output : 0.040631771087646484 total time spend for step 9 : 20.446065664291382 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 20 set_done_treatment 5.76user 2.43system 0:55.59elapsed 14%CPU (0avgtext+0avgdata 201608maxresident)k 120inputs+56992outputs (0major+149015minor)pagefaults 0swaps