python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4241 ' -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 : 2902315 load datou : 4241 # 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 11481 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11482 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11479 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11479 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11486 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11480 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11483 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11484 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11485 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11487 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 11481 have datatype=11 whereas input 0 of step 11479 have datatype=2 WARNING : type of output 1 of step 11482 doesn't seem to be define in the database( WARNING : type of input 3 of step 11480 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 11482 doesn't seem to be define in the database( WARNING : type of input 1 of step 11479 doesn't seem to be define in the database( WARNING : output 0 of step 11486 have datatype=10 whereas input 3 of step 11485 have datatype=6 WARNING : type of input 1 of step 11486 doesn't seem to be define in the database( WARNING : output 1 of step 11479 have datatype=7 whereas input 1 of step 11486 have datatype=None WARNING : type of output 1 of step 11486 doesn't seem to be define in the database( WARNING : type of input 4 of step 11480 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11481 doesn't seem to be define in the database( WARNING : type of input 1 of step 11482 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4241, datou_cur_ids : ['4100838'] with mtr_portfolio_ids : ['28072024'] and first list_photo_ids : [] new path : /proc/2902315/ 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 11481 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11482 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11479 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11479 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11486 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11480 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11483 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11484 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11485 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11487 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 11481 have datatype=11 whereas input 0 of step 11479 have datatype=2 WARNING : type of output 1 of step 11482 doesn't seem to be define in the database( WARNING : type of input 3 of step 11480 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 11482 doesn't seem to be define in the database( WARNING : type of input 1 of step 11479 doesn't seem to be define in the database( WARNING : output 0 of step 11486 have datatype=10 whereas input 3 of step 11485 have datatype=6 WARNING : type of input 1 of step 11486 doesn't seem to be define in the database( WARNING : output 1 of step 11479 have datatype=7 whereas input 1 of step 11486 have datatype=None WARNING : type of output 1 of step 11486 doesn't seem to be define in the database( WARNING : type of input 4 of step 11480 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11481 doesn't seem to be define in the database( WARNING : type of input 1 of step 11482 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 21 ; length of list_pids : 21 ; length of list_args : 21 time to download the photos : 5.192840814590454 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 Mon Nov 24 07:26:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 80 chid ids of type : 3726 batch 1 Loaded 80 chid ids of type : 3726 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 [1391782928, 1391782924, 1391782822, 1391782820, 1391782818, 1391782816, 1391782742, 1391782740, 1391782738, 1391782736, 1391782733, 1391782730, 1391782625, 1391782621, 1391782615, 1391782613, 1391782611, 1391782511, 1391782508, 1391782505, 1391782501] Looping around the photos to save general results len do output : 18 /1391782928Didn't retrieve data . /1391782924Didn't retrieve data . /1391782822Didn't retrieve data . /1391782820Didn't retrieve data . /1391782818Didn't retrieve data . /1391782742Didn't retrieve data . /1391782740Didn't retrieve data . /1391782738Didn't retrieve data . /1391782736Didn't retrieve data . /1391782733Didn't retrieve data . /1391782730Didn't retrieve data . /1391782625Didn't retrieve data . /1391782621Didn't retrieve data . /1391782615Didn't retrieve data . /1391782613Didn't retrieve data . /1391782511Didn't retrieve data . /1391782508Didn't retrieve data . /1391782505Didn'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 ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782928', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782924', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782822', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782820', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782818', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782816', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782742', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782740', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782738', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782736', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782733', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782730', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782625', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782621', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782615', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782613', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782611', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782511', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782508', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782505', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782501', None, None, None, None, None, '4100838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.02194976806640625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.16268181800842285 time spend to save output : 0.02316761016845703 total time spend for step 1 : 0.18584942817687988 step2:consolidate_hashtags_from_manual_portfolio Mon Nov 24 07:26:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 28072024 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`=28072024 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','Teint_Dans_La_Masse','autre_refus','cartonnette','environnement','kraft','metal','papier','plastique','mal_croppe','flou','papier','background')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28072024 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','Teint_Dans_La_Masse','autre_refus','cartonnette','environnement','kraft','metal','papier','plastique','mal_croppe','flou','papier','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28072024 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','Teint_Dans_La_Masse','autre_refus','cartonnette','environnement','kraft','metal','papier','plastique','mal_croppe','flou','papier','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28073098 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 24 chid ids of type : 3726 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28073099 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 6 chid ids of type : 3726 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28073100 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 8 chid ids of type : 3726 begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28073101 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 13 chid ids of type : 3726 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28073102 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=28073103 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=28073104 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=28073105 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=28073106 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=28073107 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 6 chid ids of type : 3726 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28073108 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=28073109 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=28824545 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 [1391782928, 1391782924, 1391782822, 1391782820, 1391782818, 1391782816, 1391782742, 1391782740, 1391782738, 1391782736, 1391782733, 1391782730, 1391782625, 1391782621, 1391782615, 1391782613, 1391782611, 1391782511, 1391782508, 1391782505, 1391782501] 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 : 21 time used for this insertion : 0.02401590347290039 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.8727035522460938 time spend to save output : 0.0242002010345459 total time spend for step 2 : 0.8969037532806396 step3:rle_unique_nms_with_priority Mon Nov 24 07:26: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 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 62 chid ids of type : 3726 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03210902214050293 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032242536544799805 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03231692314147949 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.036237239837646484 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.05179452896118164 No data in photo_id : 1391782816 seulement à utiliser dans la step consolidation batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.037195682525634766 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.05328822135925293 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03237009048461914 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032277822494506836 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.033803701400756836 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03237009048461914 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04670453071594238 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04202437400817871 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.048552513122558594 seulement à utiliser dans la step consolidation batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030440807342529297 No data in photo_id : 1391782611 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03206443786621094 seulement à utiliser dans la step consolidation batch 1 Loaded 2 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03127169609069824 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03227424621582031 No data in photo_id : 1391782501 Missing data for photo_id : 1391782816 in {1391782928: 0, 1391782924: 0, 1391782822: 0, 1391782820: 0, 1391782818: 0, 1391782742: 0, 1391782740: 0, 1391782738: 0, 1391782736: 0, 1391782733: 0, 1391782730: 0, 1391782625: 0, 1391782621: 0, 1391782615: 0, 1391782613: 0, 1391782511: 0, 1391782508: 0, 1391782505: 0} Missing data for photo_id : 1391782611 in {1391782928: 0, 1391782924: 0, 1391782822: 0, 1391782820: 0, 1391782818: 0, 1391782742: 0, 1391782740: 0, 1391782738: 0, 1391782736: 0, 1391782733: 0, 1391782730: 0, 1391782625: 0, 1391782621: 0, 1391782615: 0, 1391782613: 0, 1391782511: 0, 1391782508: 0, 1391782505: 0} Missing data for photo_id : 1391782501 in {1391782928: 0, 1391782924: 0, 1391782822: 0, 1391782820: 0, 1391782818: 0, 1391782742: 0, 1391782740: 0, 1391782738: 0, 1391782736: 0, 1391782733: 0, 1391782730: 0, 1391782625: 0, 1391782621: 0, 1391782615: 0, 1391782613: 0, 1391782511: 0, 1391782508: 0, 1391782505: 0} Missing data for photo_id : 1391782816 in {1391782928: 0, 1391782924: 0, 1391782822: 0, 1391782820: 0, 1391782818: 0, 1391782742: 0, 1391782740: 0, 1391782738: 0, 1391782736: 0, 1391782733: 0, 1391782730: 0, 1391782625: 0, 1391782621: 0, 1391782615: 0, 1391782613: 0, 1391782511: 0, 1391782508: 0, 1391782505: 0} Missing data for photo_id : 1391782611 in {1391782928: 0, 1391782924: 0, 1391782822: 0, 1391782820: 0, 1391782818: 0, 1391782742: 0, 1391782740: 0, 1391782738: 0, 1391782736: 0, 1391782733: 0, 1391782730: 0, 1391782625: 0, 1391782621: 0, 1391782615: 0, 1391782613: 0, 1391782511: 0, 1391782508: 0, 1391782505: 0} Missing data for photo_id : 1391782501 in {1391782928: 0, 1391782924: 0, 1391782822: 0, 1391782820: 0, 1391782818: 0, 1391782742: 0, 1391782740: 0, 1391782738: 0, 1391782736: 0, 1391782733: 0, 1391782730: 0, 1391782625: 0, 1391782621: 0, 1391782615: 0, 1391782613: 0, 1391782511: 0, 1391782508: 0, 1391782505: 0} map_output_result : {1391782928: (0.0, 'Should be the crop_list due to order', 0), 1391782924: (0.0, 'Should be the crop_list due to order', 0), 1391782822: (0.0, 'Should be the crop_list due to order', 0), 1391782820: (0.0, 'Should be the crop_list due to order', 0), 1391782818: (0.0, 'Should be the crop_list due to order', 0), 1391782742: (0.0, 'Should be the crop_list due to order', 0), 1391782740: (0.0, 'Should be the crop_list due to order', 0), 1391782738: (0.0, 'Should be the crop_list due to order', 0), 1391782736: (0.0, 'Should be the crop_list due to order', 0), 1391782733: (0.0, 'Should be the crop_list due to order', 0), 1391782730: (0.0, 'Should be the crop_list due to order', 0), 1391782625: (0.0, 'Should be the crop_list due to order', 0), 1391782621: (0.0, 'Should be the crop_list due to order', 0), 1391782615: (0.0, 'Should be the crop_list due to order', 0), 1391782613: (0.0, 'Should be the crop_list due to order', 0), 1391782511: (0.0, 'Should be the crop_list due to order', 0), 1391782508: (0.0, 'Should be the crop_list due to order', 0), 1391782505: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1391782928, 1391782924, 1391782822, 1391782820, 1391782818, 1391782816, 1391782742, 1391782740, 1391782738, 1391782736, 1391782733, 1391782730, 1391782625, 1391782621, 1391782615, 1391782613, 1391782611, 1391782511, 1391782508, 1391782505, 1391782501] Looping around the photos to save general results len do output : 18 /1391782928.Didn't retrieve data . /1391782924.Didn't retrieve data . /1391782822.Didn't retrieve data . /1391782820.Didn't retrieve data . /1391782818.Didn't retrieve data . /1391782742.Didn't retrieve data . /1391782740.Didn't retrieve data . /1391782738.Didn't retrieve data . /1391782736.Didn't retrieve data . /1391782733.Didn't retrieve data . /1391782730.Didn't retrieve data . /1391782625.Didn't retrieve data . /1391782621.Didn't retrieve data . /1391782615.Didn't retrieve data . /1391782613.Didn't retrieve data . /1391782511.Didn't retrieve data . /1391782508.Didn't retrieve data . /1391782505.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 ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782928', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782924', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782822', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782820', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782818', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782816', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782742', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782740', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782738', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782736', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782733', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782730', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782625', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782621', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782615', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782613', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782611', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782511', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782508', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782505', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782501', None, None, None, None, None, '4100838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 time used for this insertion : 0.017803192138671875 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.4196534156799316 time spend to save output : 0.01836109161376953 total time spend for step 3 : 2.438014507293701 step4:ventilate_hashtags_in_portfolio Mon Nov 24 07:26:38 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 : 28072024 get user id for portfolio 28072024 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`=28072024 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','Teint_Dans_La_Masse','autre_refus','cartonnette','environnement','kraft','metal','papier','plastique','mal_croppe','flou','papier')) 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`=28072024 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','Carton_gris','Teint_Dans_La_Masse','autre_refus','cartonnette','environnement','kraft','metal','papier','plastique','mal_croppe','flou','papier')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28073098,28073099,28073100,28073101,28073102,28073103,28073104,28073105,28073106,28073107,28073108,28073109?tags=Carton_brun,kraft,papier,Teint_Dans_La_Masse,cartonnette,Carton_gris,environnement,flou,autre_refus,mal_croppe,metal,plastique Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1391782928, 1391782924, 1391782822, 1391782820, 1391782818, 1391782816, 1391782742, 1391782740, 1391782738, 1391782736, 1391782733, 1391782730, 1391782625, 1391782621, 1391782615, 1391782613, 1391782611, 1391782511, 1391782508, 1391782505, 1391782501] Looping around the photos to save general results len do output : 1 /28072024. 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 ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782928', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782924', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782822', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782820', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782818', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782816', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782742', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782740', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782738', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782736', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782733', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782730', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782625', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782621', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782615', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782613', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782611', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782511', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782508', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782505', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782501', None, None, None, None, None, '4100838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 time used for this insertion : 0.1588132381439209 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3526418209075928 time spend to save output : 0.15918707847595215 total time spend for step 4 : 0.5118288993835449 step5:final Mon Nov 24 07:26:39 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 : {1391782928: ('0.03357574812293436',), 1391782924: ('0.03357574812293436',), 1391782822: ('0.03357574812293436',), 1391782820: ('0.03357574812293436',), 1391782818: ('0.03357574812293436',), 1391782742: ('0.03357574812293436',), 1391782740: ('0.03357574812293436',), 1391782738: ('0.03357574812293436',), 1391782736: ('0.03357574812293436',), 1391782733: ('0.03357574812293436',), 1391782730: ('0.03357574812293436',), 1391782625: ('0.03357574812293436',), 1391782621: ('0.03357574812293436',), 1391782615: ('0.03357574812293436',), 1391782613: ('0.03357574812293436',), 1391782511: ('0.03357574812293436',), 1391782508: ('0.03357574812293436',), 1391782505: ('0.03357574812293436',)} new output for save of step final : {1391782928: ('0.03357574812293436',), 1391782924: ('0.03357574812293436',), 1391782822: ('0.03357574812293436',), 1391782820: ('0.03357574812293436',), 1391782818: ('0.03357574812293436',), 1391782742: ('0.03357574812293436',), 1391782740: ('0.03357574812293436',), 1391782738: ('0.03357574812293436',), 1391782736: ('0.03357574812293436',), 1391782733: ('0.03357574812293436',), 1391782730: ('0.03357574812293436',), 1391782625: ('0.03357574812293436',), 1391782621: ('0.03357574812293436',), 1391782615: ('0.03357574812293436',), 1391782613: ('0.03357574812293436',), 1391782511: ('0.03357574812293436',), 1391782508: ('0.03357574812293436',), 1391782505: ('0.03357574812293436',)} [1391782928, 1391782924, 1391782822, 1391782820, 1391782818, 1391782816, 1391782742, 1391782740, 1391782738, 1391782736, 1391782733, 1391782730, 1391782625, 1391782621, 1391782615, 1391782613, 1391782611, 1391782511, 1391782508, 1391782505, 1391782501] Looping around the photos to save general results len do output : 18 /1391782928.Didn't retrieve data . /1391782924.Didn't retrieve data . /1391782822.Didn't retrieve data . /1391782820.Didn't retrieve data . /1391782818.Didn't retrieve data . /1391782742.Didn't retrieve data . /1391782740.Didn't retrieve data . /1391782738.Didn't retrieve data . /1391782736.Didn't retrieve data . /1391782733.Didn't retrieve data . /1391782730.Didn't retrieve data . /1391782625.Didn't retrieve data . /1391782621.Didn't retrieve data . /1391782615.Didn't retrieve data . /1391782613.Didn't retrieve data . /1391782511.Didn't retrieve data . /1391782508.Didn't retrieve data . /1391782505.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 ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782928', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782924', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782822', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782820', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782818', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782816', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782742', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782740', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782738', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782736', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782733', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782730', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782625', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782621', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782615', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782613', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782611', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782511', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782508', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782505', None, None, None, None, None, '4100838') ('4241', None, None, None, None, None, None, None, '4100838') ('4241', '28072024', '1391782501', None, None, None, None, None, '4100838') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 time used for this insertion : 0.032048702239990234 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.16391611099243164 time spend to save output : 0.03289628028869629 total time spend for step 5 : 0.19681239128112793 step6:blur_detection Mon Nov 24 07:26:39 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) 2268.243891429819 (2160, 3840) 2210.006432736747 (2160, 3840) 2538.9251623219384 (2160, 3840) 2578.20527478283 (2160, 3840) 1855.623551056826 (2160, 3840) 2587.0075980272136 (2160, 3840) 2648.31748465373 (2160, 3840) 1796.0777498694943 (2160, 3840) 2000.4662024144986 (2160, 3840) 2219.246619369597 (2160, 3840) 2228.644709327087 (2160, 3840) 2215.1890929902497 (2160, 3840) 1708.0001524426616 (2160, 3840) 2221.5702827677574 (2160, 3840) 2210.2249673587116 (2160, 3840) 2268.10529651931 (2160, 3840) 2024.387496087116 (2160, 3840) 1629.3491079506214 (2160, 3840) 2064.6187683774497 (2160, 3840) 1259.23134240775 (2160, 3840) 749.0352336955776 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 : 21 time used for this insertion : 0.017802953720092773 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 21 time used for this insertion : 0.02085733413696289 save missing photos in datou_result : time spend for datou_step_exec : 2.608576774597168 time spend to save output : 0.044599294662475586 total time spend for step 6 : 2.6531760692596436 step7:brightness Mon Nov 24 07:26: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/1763965589_2902315_1391782928_6e35b36e14624861815b3b347b9ce31a.jpg treat image : temp/1763965589_2902315_1391782924_21e5b2368b2447e5f77b7ca7739c3dec.jpg treat image : temp/1763965589_2902315_1391782822_89bacfa509409f03aedd6e988fb4580c.jpg treat image : temp/1763965589_2902315_1391782820_e700bec9286689d4ce461937a38ab194.jpg treat image : temp/1763965589_2902315_1391782818_7ef12536f78a2d96408c736e171d047b.jpg treat image : temp/1763965589_2902315_1391782816_b68ff5f97972a20594a50b2fdd858d62.jpg treat image : temp/1763965589_2902315_1391782742_e5fa6e17dd5bd3ed8fb89baffc647acc.jpg treat image : temp/1763965589_2902315_1391782740_46662ec255fda571a76f73bf4fb13bc5.jpg treat image : temp/1763965589_2902315_1391782738_84cf2ed264557a76dfa508b2650df117.jpg treat image : temp/1763965589_2902315_1391782736_daa2cdd7ddbd7d107ffb114a3e5be6cf.jpg treat image : temp/1763965589_2902315_1391782733_9b6960f4da0b0d0d62e7af56548e5307.jpg treat image : temp/1763965589_2902315_1391782730_3f6ef3908f1dea347a7f0ed7be0a4e62.jpg treat image : temp/1763965589_2902315_1391782625_5a922bc572e7293a69bf065e22096e09.jpg treat image : temp/1763965589_2902315_1391782621_7974953dc52e8e24f037bc76823aa32f.jpg treat image : temp/1763965589_2902315_1391782615_b09145fea5a69ebf1eab553a69c1c36b.jpg treat image : temp/1763965589_2902315_1391782613_a8cb319043171a09501c9656a73fa6e3.jpg treat image : temp/1763965589_2902315_1391782611_5c28a4f687c2e401ffec7d58d7e6d080.jpg treat image : temp/1763965589_2902315_1391782511_66eb3343503429feef083e752a846646.jpg treat image : temp/1763965589_2902315_1391782508_35e7aca46422132f4ef6344a03c0d96b.jpg treat image : temp/1763965589_2902315_1391782505_9139d32aae385e481ea4ee18cfa91f9c.jpg treat image : temp/1763965589_2902315_1391782501_3f5a5dc4e7cac85390915c04047d9d33.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 : 21 time used for this insertion : 0.017022132873535156 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 21 time used for this insertion : 0.016680479049682617 save missing photos in datou_result : time spend for datou_step_exec : 18.852444887161255 time spend to save output : 0.0394136905670166 total time spend for step 7 : 18.89185857772827 step8:send_mail_cod Mon Nov 24 07:27:00 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_P28072024_24-11-2025_07_27_00.pdf 28073099 change filename to text .imagette280730991763965620 28073102 imagette280731021763965621 28073106 imagette280731061763965621 28073108 imagette280731081763965621 28073109 imagette280731091763965621 28073098 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette280730981763965621 28073101 change filename to text .change filename to text .change filename to text .change filename to text .imagette280731011763965621 28073103 imagette280731031763965622 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28072024 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28073098,28073099,28073100,28073101,28073102,28073103,28073104,28073105,28073106,28073107,28073108,28073109?tags=Carton_brun,kraft,papier,Teint_Dans_La_Masse,cartonnette,Carton_gris,environnement,flou,autre_refus,mal_croppe,metal,plastique your option no_mail is active, we will not send the real mail to your client args[1391782928] : ((1391782928, 2268.243891429819, 492609224), (1391782928, 1.0509979374767862, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782924] : ((1391782924, 2210.006432736747, 492609224), (1391782924, 1.265974014961355, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782822] : ((1391782822, 2538.9251623219384, 492609224), (1391782822, 1.108908004945926, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782820] : ((1391782820, 2578.20527478283, 492609224), (1391782820, 1.1297606124489334, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782818] : ((1391782818, 1855.623551056826, 2107751945), (1391782818, 0.6801252991986195, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782816] : ((1391782816, 2587.0075980272136, 492609224), (1391782816, 1.5768504919532311, 2107752395)) We are sending mail with results at kexin@fotonower.com args[1391782742] : ((1391782742, 2648.31748465373, 492609224), (1391782742, 1.0942238179931028, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782740] : ((1391782740, 1796.0777498694943, 2107751945), (1391782740, 0.924121092433543, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782738] : ((1391782738, 2000.4662024144986, 492609224), (1391782738, 1.3658609714178054, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782736] : ((1391782736, 2219.246619369597, 492609224), (1391782736, 0.7917632950447381, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782733] : ((1391782733, 2228.644709327087, 492609224), (1391782733, 0.8079272867931889, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782730] : ((1391782730, 2215.1890929902497, 492609224), (1391782730, 0.7975876153925743, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782625] : ((1391782625, 1708.0001524426616, 2107751945), (1391782625, 0.7258026502032245, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782621] : ((1391782621, 2221.5702827677574, 492609224), (1391782621, 1.8136077145375677, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782615] : ((1391782615, 2210.2249673587116, 492609224), (1391782615, 1.2158963311029576, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782613] : ((1391782613, 2268.10529651931, 492609224), (1391782613, 1.088491261375747, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782611] : ((1391782611, 2024.387496087116, 492609224), (1391782611, 0.7824076973161781, 2107752395)) We are sending mail with results at kexin@fotonower.com args[1391782511] : ((1391782511, 1629.3491079506214, 2107751945), (1391782511, 0.5125077238952812, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782508] : ((1391782508, 2064.6187683774497, 492609224), (1391782508, 1.1162283621118876, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782505] : ((1391782505, 1259.23134240775, 2107751945), (1391782505, 0.4888014728961646, 2107752395), '0.03357574812293436') We are sending mail with results at kexin@fotonower.com args[1391782501] : ((1391782501, 749.0352336955776, 492688767), (1391782501, -0.25107762185833243, 496442774)) We are sending mail with results at kexin@fotonower.com refus_total : (1391782501, 749.0352336955776, 492688767) ERROR in datou_step_exec, will save and exit ! float() argument must be a string or a number, not 'tuple' File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2339, in datou_exec output = datou_step_exec(sNext, args, cache, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2659, in datou_step_exec return send_or_copy.datou_step_exec_send_mail_cod(param, json_param, args, context, map_info, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_send_or_copy.py", line 782, in datou_step_exec_send_mail_cod refus_total,list_results_prediagnostique_in_mail = cod.send_mail_to_client(context, args, portfolio_id, list_photo_id, sujet, dest_mail, File "/home/admin/workarea/git/Velours/python/prod/cod/main_cod.py", line 186, in send_mail_to_client message_in_mail += "
Dans ces conditions,le taux de refus est: {:.2%}
".format(float(refus_total)) [1391782928, 1391782924, 1391782822, 1391782820, 1391782818, 1391782816, 1391782742, 1391782740, 1391782738, 1391782736, 1391782733, 1391782730, 1391782625, 1391782621, 1391782615, 1391782613, 1391782611, 1391782511, 1391782508, 1391782505, 1391782501] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.019611120223999023 save_final ERROR in last step send_mail_cod, float() argument must be a string or a number, not 'tuple' time spend for datou_step_exec : 1.681187629699707 time spend to save output : 0.025727033615112305 total time spend for step 7 : 1.7069146633148193 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 21 set_done_treatment 23.76user 3.61system 0:36.74elapsed 74%CPU (0avgtext+0avgdata 199500maxresident)k 5656inputs+60736outputs (84major+413713minor)pagefaults 0swaps