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 : 92047 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 updating current state to 1 list_input_json: [] Current got : datou_id : 4255, datou_cur_ids : ['4017607'] with mtr_portfolio_ids : ['28313938'] and first list_photo_ids : [] new path : /proc/92047/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 28 ; length of list_pids : 28 ; length of list_args : 28 time to download the photos : 6.360027313232422 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Fri Nov 7 16:44: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 203 chid ids of type : 3327 batch 1 Loaded 414 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 216 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 [1372326847, 1372326843, 1372326839, 1372326650, 1372326647, 1372326644, 1372326642, 1372326638, 1372326635, 1372326488, 1372326485, 1372326481, 1372326478, 1372326475, 1372326470, 1372326453, 1372326450, 1367317635, 1367317627, 1367317598, 1367317590, 1367317585, 1367317574, 1367317565, 1367317560, 1367317484, 1367317469, 1367317452] Looping around the photos to save general results len do output : 11 /1367317635Didn't retrieve data . /1367317627Didn't retrieve data . /1367317598Didn't retrieve data . /1367317590Didn't retrieve data . /1367317585Didn't retrieve data . /1367317574Didn't retrieve data . /1367317565Didn't retrieve data . /1367317560Didn't retrieve data . /1367317484Didn't retrieve data . /1367317469Didn't retrieve data . /1367317452Didn'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, '4017607') ('4255', '28313938', '1372326847', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326843', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326839', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326650', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326647', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326644', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326642', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326638', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326488', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326485', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326481', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326478', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326475', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326470', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326453', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326450', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317627', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317598', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317590', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317585', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317574', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317565', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317560', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317484', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317469', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317452', None, None, None, None, None, '4017607') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.017644882202148438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.17152023315429688 time spend to save output : 0.018173694610595703 total time spend for step 1 : 0.18969392776489258 step2:consolidate_hashtags_from_manual_portfolio Fri Nov 7 16:44: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 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 : 28313938 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`=28313938 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`=28313938 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`=28313938 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314037 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314038 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314039 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314040 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314041 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314042 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314043 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314044 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314045 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314047 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314048 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314049 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314050 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28314051 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 [1372326847, 1372326843, 1372326839, 1372326650, 1372326647, 1372326644, 1372326642, 1372326638, 1372326635, 1372326488, 1372326485, 1372326481, 1372326478, 1372326475, 1372326470, 1372326453, 1372326450, 1367317635, 1367317627, 1367317598, 1367317590, 1367317585, 1367317574, 1367317565, 1367317560, 1367317484, 1367317469, 1367317452] 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 : 28 time used for this insertion : 0.016211986541748047 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7613916397094727 time spend to save output : 0.01648855209350586 total time spend for step 2 : 0.7778801918029785 step3:rle_unique_nms_with_priority Fri Nov 7 16:44: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 complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 241 chid ids of type : 3327 No data in photo_id : 1372326847 No data in photo_id : 1372326843 No data in photo_id : 1372326839 No data in photo_id : 1372326650 No data in photo_id : 1372326647 No data in photo_id : 1372326644 No data in photo_id : 1372326642 No data in photo_id : 1372326638 No data in photo_id : 1372326635 No data in photo_id : 1372326488 No data in photo_id : 1372326485 No data in photo_id : 1372326481 No data in photo_id : 1372326478 No data in photo_id : 1372326475 No data in photo_id : 1372326470 No data in photo_id : 1372326453 No data in photo_id : 1372326450 seulement à utiliser dans la step consolidation batch 1 Loaded 61 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030381441116333008 seulement à utiliser dans la step consolidation batch 1 Loaded 58 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029320240020751953 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.02930927276611328 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.029158592224121094 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.02983236312866211 seulement à utiliser dans la step consolidation batch 1 Loaded 66 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030525684356689453 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.03110527992248535 seulement à utiliser dans la step consolidation batch 1 Loaded 66 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02925419807434082 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029005050659179688 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.02998185157775879 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.030179262161254883 Missing data for photo_id : 1372326847 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326843 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326839 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326650 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326647 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326644 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326642 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326638 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326635 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326488 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326485 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326481 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326478 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326475 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326470 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326453 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326450 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326847 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326843 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326839 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326650 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326647 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326644 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326642 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326638 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326635 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326488 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326485 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326481 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326478 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326475 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326470 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326453 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} Missing data for photo_id : 1372326450 in {1367317635: 0.03955981495213825, 1367317627: 0.1832337520116086, 1367317598: 0.0, 1367317590: 0.0011555522109760739, 1367317585: 0.09907411184076353, 1367317574: 0.038175181375237, 1367317565: 0.025769404021808662, 1367317560: 0.0012683415646696724, 1367317484: 0.008669123281621961, 1367317469: 0.029274524483384353, 1367317452: 0.0025883825809297407} map_output_result : {1367317635: (0.01531314958296921, 'Should be the crop_list due to order', 0.03955981495213825), 1367317627: (0.01531314958296921, 'Should be the crop_list due to order', 0.1832337520116086), 1367317598: (0.01531314958296921, 'Should be the crop_list due to order', 0.0), 1367317590: (0.01531314958296921, 'Should be the crop_list due to order', 0.0011555522109760739), 1367317585: (0.01531314958296921, 'Should be the crop_list due to order', 0.09907411184076353), 1367317574: (0.01531314958296921, 'Should be the crop_list due to order', 0.038175181375237), 1367317565: (0.01531314958296921, 'Should be the crop_list due to order', 0.025769404021808662), 1367317560: (0.01531314958296921, 'Should be the crop_list due to order', 0.0012683415646696724), 1367317484: (0.01531314958296921, 'Should be the crop_list due to order', 0.008669123281621961), 1367317469: (0.01531314958296921, 'Should be the crop_list due to order', 0.029274524483384353), 1367317452: (0.01531314958296921, 'Should be the crop_list due to order', 0.0025883825809297407)} 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 [1372326847, 1372326843, 1372326839, 1372326650, 1372326647, 1372326644, 1372326642, 1372326638, 1372326635, 1372326488, 1372326485, 1372326481, 1372326478, 1372326475, 1372326470, 1372326453, 1372326450, 1367317635, 1367317627, 1367317598, 1367317590, 1367317585, 1367317574, 1367317565, 1367317560, 1367317484, 1367317469, 1367317452] Looping around the photos to save general results len do output : 11 /1367317635.Didn't retrieve data . /1367317627.Didn't retrieve data . /1367317598.Didn't retrieve data . /1367317590.Didn't retrieve data . /1367317585.Didn't retrieve data . /1367317574.Didn't retrieve data . /1367317565.Didn't retrieve data . /1367317560.Didn't retrieve data . /1367317484.Didn't retrieve data . /1367317469.Didn't retrieve data . /1367317452.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, '4017607') ('4255', '28313938', '1372326847', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326843', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326839', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326650', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326647', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326644', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326642', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326638', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326488', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326485', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326481', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326478', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326475', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326470', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326453', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326450', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317627', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317598', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317590', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317585', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317574', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317565', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317560', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317484', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317469', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317452', None, None, None, None, None, '4017607') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 50 time used for this insertion : 0.02047109603881836 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7500193119049072 time spend to save output : 0.021150588989257812 total time spend for step 3 : 1.771169900894165 step4:ventilate_hashtags_in_portfolio Fri Nov 7 16:44:36 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 28313938 get user id for portfolio 28313938 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`=28313938 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`=28313938 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`=28313938 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/28314055,28314056,28314057,28314058,28314059,28314060,28314061,28314062,28314063,28314064,28314065,28314066,28314067?tags=pet_clair,etiquette,bouchon,pet_fonce,pehd,barquette_avec_film,papier,carton,verre,metal,mal_croppe,flou,emr Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1372326847, 1372326843, 1372326839, 1372326650, 1372326647, 1372326644, 1372326642, 1372326638, 1372326635, 1372326488, 1372326485, 1372326481, 1372326478, 1372326475, 1372326470, 1372326453, 1372326450, 1367317635, 1367317627, 1367317598, 1367317590, 1367317585, 1367317574, 1367317565, 1367317560, 1367317484, 1367317469, 1367317452] Looping around the photos to save general results len do output : 1 /28313938. 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, '4017607') ('4255', '28313938', '1372326847', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326843', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326839', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326650', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326647', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326644', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326642', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326638', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326488', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326485', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326481', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326478', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326475', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326470', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326453', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326450', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317627', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317598', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317590', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317585', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317574', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317565', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317560', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317484', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317469', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317452', None, None, None, None, None, '4017607') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 29 time used for this insertion : 0.020685672760009766 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6367306709289551 time spend to save output : 0.021015405654907227 total time spend for step 4 : 0.6577460765838623 step5:final Fri Nov 7 16:44:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1367317635: ('0.05981232878775414',), 1367317627: ('0.05981232878775414',), 1367317598: ('0.05981232878775414',), 1367317590: ('0.05981232878775414',), 1367317585: ('0.05981232878775414',), 1367317574: ('0.05981232878775414',), 1367317565: ('0.05981232878775414',), 1367317560: ('0.05981232878775414',), 1367317484: ('0.05981232878775414',), 1367317469: ('0.05981232878775414',), 1367317452: ('0.05981232878775414',)} new output for save of step final : {1367317635: ('0.05981232878775414',), 1367317627: ('0.05981232878775414',), 1367317598: ('0.05981232878775414',), 1367317590: ('0.05981232878775414',), 1367317585: ('0.05981232878775414',), 1367317574: ('0.05981232878775414',), 1367317565: ('0.05981232878775414',), 1367317560: ('0.05981232878775414',), 1367317484: ('0.05981232878775414',), 1367317469: ('0.05981232878775414',), 1367317452: ('0.05981232878775414',)} [1372326847, 1372326843, 1372326839, 1372326650, 1372326647, 1372326644, 1372326642, 1372326638, 1372326635, 1372326488, 1372326485, 1372326481, 1372326478, 1372326475, 1372326470, 1372326453, 1372326450, 1367317635, 1367317627, 1367317598, 1367317590, 1367317585, 1367317574, 1367317565, 1367317560, 1367317484, 1367317469, 1367317452] Looping around the photos to save general results len do output : 11 /1367317635.Didn't retrieve data . /1367317627.Didn't retrieve data . /1367317598.Didn't retrieve data . /1367317590.Didn't retrieve data . /1367317585.Didn't retrieve data . /1367317574.Didn't retrieve data . /1367317565.Didn't retrieve data . /1367317560.Didn't retrieve data . /1367317484.Didn't retrieve data . /1367317469.Didn't retrieve data . /1367317452.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, '4017607') ('4255', '28313938', '1372326847', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326843', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326839', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326650', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326647', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326644', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326642', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326638', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326488', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326485', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326481', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326478', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326475', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326470', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326453', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326450', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317627', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317598', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317590', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317585', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317574', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317565', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317560', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317484', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317469', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317452', None, None, None, None, None, '4017607') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 50 time used for this insertion : 0.01817631721496582 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.03221702575683594 time spend to save output : 0.018827438354492188 total time spend for step 5 : 0.051044464111328125 step6:blur_detection Fri Nov 7 16:44:37 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: variance laplacian (2160, 3840) 223.21177248056887 (2160, 3840) 359.74260568912564 (2160, 3840) 429.3134691523593 (2160, 3840) 5171.858965880668 (2160, 3840) 478.72356641970407 (2160, 3840) 811.5085333052899 (2160, 3840) 635.1902178379012 (2160, 3840) 6322.89746720021 (2160, 3840) 381.70802831303604 (2160, 3840) 552.6213419322044 (2160, 3840) 318.66638662666463 (2160, 3840) 399.7061847022474 (2160, 3840) 8232.952461856941 (2160, 3840) 1666.9705094803423 (2160, 3840) 250.31408767612524 (2160, 3840) 725.7529149953358 (2160, 3840) 385.8297425925764 (2160, 3840) 282.63314159329997 (2160, 3840) 78.88677838389967 (2160, 3840) 261.86956240529753 (2160, 3840) 238.10909171823505 (2160, 3840) 480.72685226016375 (2160, 3840) 3834.6145528661436 (2160, 3840) 717.0212043708187 (2160, 3840) 156.27738843476695 (2160, 3840) 654.5003337127368 (2160, 3840) 1140.2163800664387 (2160, 3840) 381.70935803988056 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 : 28 time used for this insertion : 0.017920732498168945 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 28 time used for this insertion : 0.016143321990966797 save missing photos in datou_result : time spend for datou_step_exec : 4.077016115188599 time spend to save output : 0.038391828536987305 total time spend for step 6 : 4.115407943725586 step7:brightness Fri Nov 7 16:44: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 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 treat image : temp/1762530267_92047_1372326847_953bc0f6a1b880aaac0c427b0059e245.jpg treat image : temp/1762530267_92047_1372326843_607d38f79396c5405189018bc0826d0c.jpg treat image : temp/1762530267_92047_1372326839_24cf392112747d2a52edd0c8f6f1a437.jpg treat image : temp/1762530267_92047_1372326650_2f4c2f38baefa05a9ee6cd3cd28a8b7e.jpg treat image : temp/1762530267_92047_1372326647_8aed45f57698ecbc6de81fcc722dab78.jpg treat image : temp/1762530267_92047_1372326644_73b27481f64cb64734355bf7bfbbcf7a.jpg treat image : temp/1762530267_92047_1372326642_8543cad9f47859a19dbef0bc0fab6fab.jpg treat image : temp/1762530267_92047_1372326638_92783cc7c122e2e2aeba7489e0a8ea85.jpg treat image : temp/1762530267_92047_1372326635_23fa4b5c493fd49d8ad1372f6c36ba8f.jpg treat image : temp/1762530267_92047_1372326488_097bd0031f5c6bd734ff8170fd12bfd9.jpg treat image : temp/1762530267_92047_1372326485_cb4c028742706d6ea08a8e86451a6829.jpg treat image : temp/1762530267_92047_1372326481_62f5b62485144f8653286a23e8eb7825.jpg treat image : temp/1762530267_92047_1372326478_b78f2d9b5850976bb50c6fc20b90d890.jpg treat image : temp/1762530267_92047_1372326475_2e2cf76d7e28c5358a844f5dd3d6e6c0.jpg treat image : temp/1762530267_92047_1372326470_13f8f34b0f8954c849c8cf1908df8745.jpg treat image : temp/1762530267_92047_1372326453_8e472478ecf5dd25083f9d54db68e3ae.jpg treat image : temp/1762530267_92047_1372326450_ff277a3c29060aa84c0339f64eff5d3f.jpg treat image : temp/1762530267_92047_1367317635_d16c0e7255fd324425cdc4c6abe883bc.jpg treat image : temp/1762530267_92047_1367317627_0426a2055e5e45e3d28b734aa3c7fad3.jpg treat image : temp/1762530267_92047_1367317598_90d4df94356c64e619c844e99b05ac36.jpg treat image : temp/1762530267_92047_1367317590_0cca6ce0b4385751334df19028b4ae65.jpg treat image : temp/1762530267_92047_1367317585_0c29f7a487fe7daaab17bd38348f8490.jpg treat image : temp/1762530267_92047_1367317574_900c1dd0138116e30eb01bb80fc2e271.jpg treat image : temp/1762530267_92047_1367317565_9fe30ba3206a191166da77e4b6c8d7ec.jpg treat image : temp/1762530267_92047_1367317560_496914fecfafea9030e5e10341c14a9c.jpg treat image : temp/1762530267_92047_1367317484_b89878d832916d57c884816802997de7.jpg treat image : temp/1762530267_92047_1367317469_0f481b89644de06e058cfc09009a77b4.jpg treat image : temp/1762530267_92047_1367317452_67f2394c9adfa6d06ea4c15e682f5796.jpg 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 : 28 time used for this insertion : 0.015706300735473633 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 28 time used for this insertion : 0.01783609390258789 save missing photos in datou_result : time spend for datou_step_exec : 28.695504903793335 time spend to save output : 0.03846263885498047 total time spend for step 7 : 28.733967542648315 step8:send_mail_cod Fri Nov 7 16:45:10 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 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 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_P28313938_07-11-2025_16_45_10.pdf 28314056 change filename to text .imagette283140561762530310 28314057 change filename to text .change filename to text .change filename to text .change filename to text .imagette283140571762530310 28314058 change filename to text .change filename to text .change filename to text .change filename to text .imagette283140581762530310 28314059 change filename to text .imagette283140591762530311 28314060 change filename to text .imagette283140601762530311 28314061 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 .imagette283140611762530311 28314062 change filename to text .change filename to text .imagette283140621762530312 28314063 imagette283140631762530312 28314064 imagette283140641762530312 28314067 imagette283140671762530312 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28313938 and hashtag_type = 3327 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28314055,28314056,28314057,28314058,28314059,28314060,28314061,28314062,28314063,28314064,28314065,28314066,28314067?tags=pet_clair,etiquette,bouchon,pet_fonce,pehd,barquette_avec_film,papier,carton,verre,metal,mal_croppe,flou,emr your option no_mail is active, we will not send the real mail to your client args[1372326847] : ((1372326847, 223.21177248056887, 492688767), (1372326847, 0.14473721821311125, 2107752395)) We are sending mail with results at kexin@fotonower.com args[1372326843] : ((1372326843, 359.74260568912564, 492688767), (1372326843, 0.3976936271820121, 2107752395)) We are sending mail with results at kexin@fotonower.com args[1372326839] : ((1372326839, 429.3134691523593, 492688767), (1372326839, 0.37343516521821785, 2107752395)) We are sending mail with results at kexin@fotonower.com args[1372326650] : ((1372326650, 5171.858965880668, 492609224), (1372326650, -0.08592317748552238, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326647] : ((1372326647, 478.72356641970407, 492688767), (1372326647, -0.09325612387462484, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326644] : ((1372326644, 811.5085333052899, 2107751945), (1372326644, 0.00162987341063304, 2107752395)) We are sending mail with results at kexin@fotonower.com args[1372326642] : ((1372326642, 635.1902178379012, 492688767), (1372326642, -0.27139878508461585, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326638] : ((1372326638, 6322.89746720021, 492609224), (1372326638, -0.08876770893991706, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326635] : ((1372326635, 381.70802831303604, 492688767), (1372326635, -0.08485299902134495, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326488] : ((1372326488, 552.6213419322044, 492688767), (1372326488, -0.36402414659715027, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326485] : ((1372326485, 318.66638662666463, 492688767), (1372326485, -0.07659607393852631, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326481] : ((1372326481, 399.7061847022474, 492688767), (1372326481, -0.09159977559842838, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326478] : ((1372326478, 8232.952461856941, 492609224), (1372326478, -0.24514811535094413, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326475] : ((1372326475, 1666.9705094803423, 2107751945), (1372326475, -0.1954739752247538, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326470] : ((1372326470, 250.31408767612524, 492688767), (1372326470, -0.05924442882275267, 2107752395)) We are sending mail with results at kexin@fotonower.com args[1372326453] : ((1372326453, 725.7529149953358, 492688767), (1372326453, -0.21695369633041814, 496442774)) We are sending mail with results at kexin@fotonower.com args[1372326450] : ((1372326450, 385.8297425925764, 492688767), (1372326450, -0.2258019657695805, 496442774)) We are sending mail with results at kexin@fotonower.com args[1367317635] : ((1367317635, 282.63314159329997, 492688767), (1367317635, 0.5352338414492916, 2107752395), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com args[1367317627] : ((1367317627, 78.88677838389967, 492688767), (1367317627, 0.6589524294764197, 2107752395), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com args[1367317598] : ((1367317598, 261.86956240529753, 492688767), (1367317598, 0.7079504629132679, 2107752395), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com args[1367317590] : ((1367317590, 238.10909171823505, 492688767), (1367317590, 0.1914386415485929, 2107752395), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com args[1367317585] : ((1367317585, 480.72685226016375, 492688767), (1367317585, 0.5393914795562914, 2107752395), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com args[1367317574] : ((1367317574, 3834.6145528661436, 492609224), (1367317574, -0.08860808781840834, 496442774), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com args[1367317565] : ((1367317565, 717.0212043708187, 492688767), (1367317565, -0.0638805334481306, 2107752395), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com args[1367317560] : ((1367317560, 156.27738843476695, 492688767), (1367317560, 0.7592846269182204, 2107752395), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com args[1367317484] : ((1367317484, 654.5003337127368, 492688767), (1367317484, 0.9148545455403309, 2107752395), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com args[1367317469] : ((1367317469, 1140.2163800664387, 2107751945), (1367317469, -0.25498559047433017, 496442774), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com args[1367317452] : ((1367317452, 381.70935803988056, 492688767), (1367317452, -0.14804794747103114, 496442774), '0.05981232878775414') We are sending mail with results at kexin@fotonower.com refus_total : 0.05981232878775414 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28313938 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_P28313938_07-11-2025_16_45_10.pdf results_COD_P28313938_07-11-2025_16_45_10.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28313938_07-11-2025_16_45_10.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','28313938','results_COD_P28313938_07-11-2025_16_45_10.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28313938_07-11-2025_16_45_10.pdf','pdf','','0.72','0.05981232878775414') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1372326847, 1372326843, 1372326839, 1372326650, 1372326647, 1372326644, 1372326642, 1372326638, 1372326635, 1372326488, 1372326485, 1372326481, 1372326478, 1372326475, 1372326470, 1372326453, 1372326450, 1367317635, 1367317627, 1367317598, 1367317590, 1367317585, 1367317574, 1367317565, 1367317560, 1367317484, 1367317469, 1367317452] 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, '4017607') ('4255', '28313938', '1372326847', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326843', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326839', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326650', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326647', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326644', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326642', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326638', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326488', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326485', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326481', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326478', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326475', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326470', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326453', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326450', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317627', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317598', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317590', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317585', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317574', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317565', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317560', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317484', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317469', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317452', None, None, None, None, None, '4017607') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.018769502639770508 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.920778274536133 time spend to save output : 0.019092798233032227 total time spend for step 8 : 6.939871072769165 step9:split_time_score Fri Nov 7 16:45:16 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('03', 28),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 21062025 28313938 Nombre de photos uploadées : 28 / 23040 (0%) 21062025 28313938 Nombre de photos taguées (types de déchets): 0 / 28 (0%) 21062025 28313938 Nombre de photos taguées (volume) : 0 / 28 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ???????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014183521270751953 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20995116233825684 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24386209_28-06-2025_10_11_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24386209 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24386212_28-06-2025_13_09_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24386212 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24386215_28-06-2025_10_00_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24386215 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24386221_28-06-2025_09_27_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24386221 order by id desc limit 1 Qualite : 0.05165028254256191 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24386227_11-09-2025_17_48_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24386227 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`=24386227 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313715 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313745 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313777 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24233597_24-06-2025_18_34_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24233597 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313789 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313794 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313798 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313803 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313808 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313817 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313822 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313828 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313834 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313859 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313884 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313891 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313898 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313910 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313917 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313924 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313931 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24233663_21-06-2025_07_17_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24233663 order by id desc limit 1 Qualite : 0.05981232878775414 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28313938_07-11-2025_16_45_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28313938 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`=28313938 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24233666_24-06-2025_20_02_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24233666 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'21062025': {'nb_upload': 28, '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 [1372326847, 1372326843, 1372326839, 1372326650, 1372326647, 1372326644, 1372326642, 1372326638, 1372326635, 1372326488, 1372326485, 1372326481, 1372326478, 1372326475, 1372326470, 1372326453, 1372326450, 1367317635, 1367317627, 1367317598, 1367317590, 1367317585, 1367317574, 1367317565, 1367317560, 1367317484, 1367317469, 1367317452] Looping around the photos to save general results len do output : 1 /28313938Didn'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, '4017607') ('4255', '28313938', '1372326847', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326843', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326839', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326650', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326647', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326644', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326642', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326638', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326488', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326485', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326481', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326478', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326475', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326470', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326453', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1372326450', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317635', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317627', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317598', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317590', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317585', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317574', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317565', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317560', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317484', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317469', None, None, None, None, None, '4017607') ('4255', None, None, None, None, None, None, None, '4017607') ('4255', '28313938', '1367317452', None, None, None, None, None, '4017607') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 29 time used for this insertion : 0.01978754997253418 save_final save missing photos in datou_result : time spend for datou_step_exec : 32.39564108848572 time spend to save output : 0.02017831802368164 total time spend for step 9 : 32.4158194065094 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 28 set_done_treatment 35.15user 7.61system 1:24.65elapsed 50%CPU (0avgtext+0avgdata 200392maxresident)k 96inputs+48616outputs (13major+825699minor)pagefaults 0swaps