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 : 534395 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 : ['3997706'] with mtr_portfolio_ids : ['26536219'] and first list_photo_ids : [] new path : /proc/534395/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 27 ; length of list_pids : 27 ; length of list_args : 27 time to download the photos : 6.016344785690308 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Tue Nov 4 14:28:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 118 chid ids of type : 3726 batch 1 Loaded 103 chid ids of type : 3726 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 15 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 [1381445156, 1381445144, 1381445142, 1381445119, 1381445116, 1381445102, 1381445072, 1381445069, 1381445066, 1381445052, 1381445051, 1381445039, 1381445038, 1381445037, 1381445030, 1381445029, 1381444993, 1381444991, 1381444989, 1381444977, 1381444960, 1381444958, 1381444956, 1381444947, 1381444944, 1381444915, 1381444912] Looping around the photos to save general results len do output : 27 /1381445156Didn't retrieve data . /1381445144Didn't retrieve data . /1381445142Didn't retrieve data . /1381445119Didn't retrieve data . /1381445116Didn't retrieve data . /1381445102Didn't retrieve data . /1381445072Didn't retrieve data . /1381445069Didn't retrieve data . /1381445066Didn't retrieve data . /1381445052Didn't retrieve data . /1381445051Didn't retrieve data . /1381445039Didn't retrieve data . /1381445038Didn't retrieve data . /1381445037Didn't retrieve data . /1381445030Didn't retrieve data . /1381445029Didn't retrieve data . /1381444993Didn't retrieve data . /1381444991Didn't retrieve data . /1381444989Didn't retrieve data . /1381444977Didn't retrieve data . /1381444960Didn't retrieve data . /1381444958Didn't retrieve data . /1381444956Didn't retrieve data . /1381444947Didn't retrieve data . /1381444944Didn't retrieve data . /1381444915Didn't retrieve data . /1381444912Didn'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, '3997706') ('4241', '26536219', '1381445156', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445144', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445142', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445119', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445116', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445102', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445072', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445069', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445066', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445052', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445051', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445039', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445038', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445037', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445030', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445029', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444993', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444991', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444989', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444977', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444960', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444958', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444956', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444947', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444944', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444915', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444912', None, None, None, None, None, '3997706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.022091388702392578 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.182603120803833 time spend to save output : 0.02287912368774414 total time spend for step 1 : 0.20548224449157715 step2:consolidate_hashtags_from_manual_portfolio Tue Nov 4 14:28:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 26536219 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`=26536219 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`=26536219 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`=26536219 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=26540698 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 18 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=26540699 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=26540700 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 5 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=26540701 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 34 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 : 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=26540702 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=26540703 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 : 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=26540704 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=26540705 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=26540706 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 4 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=26540707 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 4 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=26540708 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=26540709 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 19 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=28160672 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 [1381445156, 1381445144, 1381445142, 1381445119, 1381445116, 1381445102, 1381445072, 1381445069, 1381445066, 1381445052, 1381445051, 1381445039, 1381445038, 1381445037, 1381445030, 1381445029, 1381444993, 1381444991, 1381444989, 1381444977, 1381444960, 1381444958, 1381444956, 1381444947, 1381444944, 1381444915, 1381444912] Looping around the photos to save general results len do output : 6 /Tassign value string error string indices must be integers invalid literal for int() with base 10: 'T' begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.018001794815063477 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9046375751495361 time spend to save output : 0.01823711395263672 total time spend for step 2 : 0.9228746891021729 step3:rle_unique_nms_with_priority Tue Nov 4 14:28: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 complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 91 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.025621414184570312 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.0244295597076416 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.02567434310913086 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.025602102279663086 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.026121139526367188 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.028399944305419922 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.02428913116455078 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.025868892669677734 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.024375200271606445 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.024130582809448242 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.025003671646118164 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.024212360382080078 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.02503180503845215 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.02396249771118164 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.024249553680419922 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.023782968521118164 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.025388717651367188 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.02396416664123535 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.02573680877685547 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.023616790771484375 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.024511337280273438 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.025757551193237305 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.024542570114135742 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.0245511531829834 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.026121854782104492 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.024714231491088867 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.024752378463745117 map_output_result : {1381445156: (0.0, 'Should be the crop_list due to order', 0), 1381445144: (0.0, 'Should be the crop_list due to order', 0), 1381445142: (0.0, 'Should be the crop_list due to order', 0), 1381445119: (0.0, 'Should be the crop_list due to order', 0), 1381445116: (0.0, 'Should be the crop_list due to order', 0), 1381445102: (0.0, 'Should be the crop_list due to order', 0), 1381445072: (0.0, 'Should be the crop_list due to order', 0), 1381445069: (0.0, 'Should be the crop_list due to order', 0), 1381445066: (0.0, 'Should be the crop_list due to order', 0), 1381445052: (0.0, 'Should be the crop_list due to order', 0), 1381445051: (0.0, 'Should be the crop_list due to order', 0), 1381445039: (0.0, 'Should be the crop_list due to order', 0), 1381445038: (0.0, 'Should be the crop_list due to order', 0), 1381445037: (0.0, 'Should be the crop_list due to order', 0), 1381445030: (0.0, 'Should be the crop_list due to order', 0), 1381445029: (0.0, 'Should be the crop_list due to order', 0), 1381444993: (0.0, 'Should be the crop_list due to order', 0), 1381444991: (0.0, 'Should be the crop_list due to order', 0), 1381444989: (0.0, 'Should be the crop_list due to order', 0), 1381444977: (0.0, 'Should be the crop_list due to order', 0), 1381444960: (0.0, 'Should be the crop_list due to order', 0), 1381444958: (0.0, 'Should be the crop_list due to order', 0), 1381444956: (0.0, 'Should be the crop_list due to order', 0), 1381444947: (0.0, 'Should be the crop_list due to order', 0), 1381444944: (0.0, 'Should be the crop_list due to order', 0), 1381444915: (0.0, 'Should be the crop_list due to order', 0), 1381444912: (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 [1381445156, 1381445144, 1381445142, 1381445119, 1381445116, 1381445102, 1381445072, 1381445069, 1381445066, 1381445052, 1381445051, 1381445039, 1381445038, 1381445037, 1381445030, 1381445029, 1381444993, 1381444991, 1381444989, 1381444977, 1381444960, 1381444958, 1381444956, 1381444947, 1381444944, 1381444915, 1381444912] Looping around the photos to save general results len do output : 27 /1381445156.Didn't retrieve data . /1381445144.Didn't retrieve data . /1381445142.Didn't retrieve data . /1381445119.Didn't retrieve data . /1381445116.Didn't retrieve data . /1381445102.Didn't retrieve data . /1381445072.Didn't retrieve data . /1381445069.Didn't retrieve data . /1381445066.Didn't retrieve data . /1381445052.Didn't retrieve data . /1381445051.Didn't retrieve data . /1381445039.Didn't retrieve data . /1381445038.Didn't retrieve data . /1381445037.Didn't retrieve data . /1381445030.Didn't retrieve data . /1381445029.Didn't retrieve data . /1381444993.Didn't retrieve data . /1381444991.Didn't retrieve data . /1381444989.Didn't retrieve data . /1381444977.Didn't retrieve data . /1381444960.Didn't retrieve data . /1381444958.Didn't retrieve data . /1381444956.Didn't retrieve data . /1381444947.Didn't retrieve data . /1381444944.Didn't retrieve data . /1381444915.Didn't retrieve data . /1381444912.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, '3997706') ('4241', '26536219', '1381445156', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445144', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445142', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445119', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445116', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445102', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445072', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445069', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445066', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445052', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445051', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445039', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445038', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445037', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445030', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445029', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444993', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444991', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444989', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444977', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444960', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444958', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444956', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444947', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444944', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444915', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444912', None, None, None, None, None, '3997706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 81 time used for this insertion : 0.017087459564208984 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.431828022003174 time spend to save output : 0.01795649528503418 total time spend for step 3 : 4.449784517288208 step4:ventilate_hashtags_in_portfolio Tue Nov 4 14:28: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 beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26536219 get user id for portfolio 26536219 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`=26536219 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`=26536219 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/26540698,26540699,26540700,26540701,26540702,26540703,26540704,26540705,26540706,26540707,26540708,26540709?tags=Carton_brun,flou,environnement,papier,Carton_gris,Teint_Dans_La_Masse,kraft,autre_refus,cartonnette,plastique,metal,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381445156, 1381445144, 1381445142, 1381445119, 1381445116, 1381445102, 1381445072, 1381445069, 1381445066, 1381445052, 1381445051, 1381445039, 1381445038, 1381445037, 1381445030, 1381445029, 1381444993, 1381444991, 1381444989, 1381444977, 1381444960, 1381444958, 1381444956, 1381444947, 1381444944, 1381444915, 1381444912] Looping around the photos to save general results len do output : 1 /26536219. 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, '3997706') ('4241', '26536219', '1381445156', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445144', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445142', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445119', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445116', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445102', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445072', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445069', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445066', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445052', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445051', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445039', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445038', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445037', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445030', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445029', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444993', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444991', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444989', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444977', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444960', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444958', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444956', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444947', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444944', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444915', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444912', None, None, None, None, None, '3997706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.016868114471435547 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.24574589729309082 time spend to save output : 0.01720571517944336 total time spend for step 4 : 0.2629516124725342 step5:final Tue Nov 4 14:28: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 : {1381445156: ('0.015672429508686588',), 1381445144: ('0.015672429508686588',), 1381445142: ('0.015672429508686588',), 1381445119: ('0.015672429508686588',), 1381445116: ('0.015672429508686588',), 1381445102: ('0.015672429508686588',), 1381445072: ('0.015672429508686588',), 1381445069: ('0.015672429508686588',), 1381445066: ('0.015672429508686588',), 1381445052: ('0.015672429508686588',), 1381445051: ('0.015672429508686588',), 1381445039: ('0.015672429508686588',), 1381445038: ('0.015672429508686588',), 1381445037: ('0.015672429508686588',), 1381445030: ('0.015672429508686588',), 1381445029: ('0.015672429508686588',), 1381444993: ('0.015672429508686588',), 1381444991: ('0.015672429508686588',), 1381444989: ('0.015672429508686588',), 1381444977: ('0.015672429508686588',), 1381444960: ('0.015672429508686588',), 1381444958: ('0.015672429508686588',), 1381444956: ('0.015672429508686588',), 1381444947: ('0.015672429508686588',), 1381444944: ('0.015672429508686588',), 1381444915: ('0.015672429508686588',), 1381444912: ('0.015672429508686588',)} new output for save of step final : {1381445156: ('0.015672429508686588',), 1381445144: ('0.015672429508686588',), 1381445142: ('0.015672429508686588',), 1381445119: ('0.015672429508686588',), 1381445116: ('0.015672429508686588',), 1381445102: ('0.015672429508686588',), 1381445072: ('0.015672429508686588',), 1381445069: ('0.015672429508686588',), 1381445066: ('0.015672429508686588',), 1381445052: ('0.015672429508686588',), 1381445051: ('0.015672429508686588',), 1381445039: ('0.015672429508686588',), 1381445038: ('0.015672429508686588',), 1381445037: ('0.015672429508686588',), 1381445030: ('0.015672429508686588',), 1381445029: ('0.015672429508686588',), 1381444993: ('0.015672429508686588',), 1381444991: ('0.015672429508686588',), 1381444989: ('0.015672429508686588',), 1381444977: ('0.015672429508686588',), 1381444960: ('0.015672429508686588',), 1381444958: ('0.015672429508686588',), 1381444956: ('0.015672429508686588',), 1381444947: ('0.015672429508686588',), 1381444944: ('0.015672429508686588',), 1381444915: ('0.015672429508686588',), 1381444912: ('0.015672429508686588',)} [1381445156, 1381445144, 1381445142, 1381445119, 1381445116, 1381445102, 1381445072, 1381445069, 1381445066, 1381445052, 1381445051, 1381445039, 1381445038, 1381445037, 1381445030, 1381445029, 1381444993, 1381444991, 1381444989, 1381444977, 1381444960, 1381444958, 1381444956, 1381444947, 1381444944, 1381444915, 1381444912] Looping around the photos to save general results len do output : 27 /1381445156.Didn't retrieve data . /1381445144.Didn't retrieve data . /1381445142.Didn't retrieve data . /1381445119.Didn't retrieve data . /1381445116.Didn't retrieve data . /1381445102.Didn't retrieve data . /1381445072.Didn't retrieve data . /1381445069.Didn't retrieve data . /1381445066.Didn't retrieve data . /1381445052.Didn't retrieve data . /1381445051.Didn't retrieve data . /1381445039.Didn't retrieve data . /1381445038.Didn't retrieve data . /1381445037.Didn't retrieve data . /1381445030.Didn't retrieve data . /1381445029.Didn't retrieve data . /1381444993.Didn't retrieve data . /1381444991.Didn't retrieve data . /1381444989.Didn't retrieve data . /1381444977.Didn't retrieve data . /1381444960.Didn't retrieve data . /1381444958.Didn't retrieve data . /1381444956.Didn't retrieve data . /1381444947.Didn't retrieve data . /1381444944.Didn't retrieve data . /1381444915.Didn't retrieve data . /1381444912.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, '3997706') ('4241', '26536219', '1381445156', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445144', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445142', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445119', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445116', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445102', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445072', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445069', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445066', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445052', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445051', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445039', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445038', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445037', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445030', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445029', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444993', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444991', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444989', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444977', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444960', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444958', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444956', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444947', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444944', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444915', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444912', None, None, None, None, None, '3997706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 81 time used for this insertion : 0.015480518341064453 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.03587841987609863 time spend to save output : 0.01698923110961914 total time spend for step 5 : 0.05286765098571777 step6:blur_detection Tue Nov 4 14:28:40 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) 928.490548306043 (2160, 3840) 1608.860118222258 (2160, 3840) 2289.991329436212 (2160, 3840) 1465.4858525593368 (2160, 3840) 2024.0936869232567 (2160, 3840) 1341.3239189220847 (2160, 3840) 2118.0817548509103 (2160, 3840) 1666.0546501917677 (2160, 3840) 1812.7810714621291 (2160, 3840) 1515.5649454650154 (2160, 3840) 1937.704165690044 (2160, 3840) 1922.2288619938854 (2160, 3840) 1512.311767648347 (2160, 3840) 1986.8823560235833 (2160, 3840) 1546.7818410136683 (2160, 3840) 1696.149481965378 (2160, 3840) 1696.2846473311754 (2160, 3840) 1744.5591461829101 (2160, 3840) 1727.0107884643658 (2160, 3840) 1776.018415459155 (2160, 3840) 1884.7025104149661 (2160, 3840) 2057.9906520715776 (2160, 3840) 1750.0932419418752 (2160, 3840) 2022.475967115739 (2160, 3840) 1960.9663968973528 (2160, 3840) 2029.4430009611008 (2160, 3840) 1703.2925726826254 Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 27 time used for this insertion : 0.014632463455200195 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 27 time used for this insertion : 8.45366358757019 save missing photos in datou_result : time spend for datou_step_exec : 4.920612096786499 time spend to save output : 8.473000526428223 total time spend for step 6 : 13.393612623214722 step7:brightness Tue Nov 4 14:28:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1762262908_534395_1381445156_92d7418ebe08d4bc64c826dc1a6ae210.jpg treat image : temp/1762262908_534395_1381445144_74921bc6f4c8a55694d4efc993319e36.jpg treat image : temp/1762262908_534395_1381445142_316b7db64b2ccfd143c954ad826e9093.jpg treat image : temp/1762262908_534395_1381445119_7cdb029155615f1f6a750b10e3124af5.jpg treat image : temp/1762262908_534395_1381445116_b17527f3f458e50a9b111dcf28cb5358.jpg treat image : temp/1762262908_534395_1381445102_ff372baecdc2defd27e0e83f8e8fc258.jpg treat image : temp/1762262908_534395_1381445072_f174c354ddb70f33caf44b5edfc1a128.jpg treat image : temp/1762262908_534395_1381445069_ac06029a83db04224286801519400806.jpg treat image : temp/1762262908_534395_1381445066_272fc4a8281de172a48739b9788479f2.jpg treat image : temp/1762262908_534395_1381445052_ca71ecc72a8e9ebd601950186f3866e3.jpg treat image : temp/1762262908_534395_1381445051_98aa92dfc38cf0da40face486f2395fe.jpg treat image : temp/1762262908_534395_1381445039_97ce2f7d1ff97736d56639df2e6cd685.jpg treat image : temp/1762262908_534395_1381445038_091e06de69922905ddadd39dedb2bcaa.jpg treat image : temp/1762262908_534395_1381445037_87a3f6d85d7644e27a19bab9d7034efa.jpg treat image : temp/1762262908_534395_1381445030_52d1f529d42cf151d2cb5c5a096f1bb5.jpg treat image : temp/1762262908_534395_1381445029_1ec3c7d990f26738facce223a00190c9.jpg treat image : temp/1762262908_534395_1381444993_24c54e24ae80793eb70ab3e6d0ad59eb.jpg treat image : temp/1762262908_534395_1381444991_e4c149e778578605e7f0716ac80930e4.jpg treat image : temp/1762262908_534395_1381444989_e1328d3f5cf38c7806784af37147fb08.jpg treat image : temp/1762262908_534395_1381444977_39ab89ab128977ee470c7b84502f6c1f.jpg treat image : temp/1762262908_534395_1381444960_6e42873652e5b17bbe6482319aba5a9c.jpg treat image : temp/1762262908_534395_1381444958_491256e14f6bd7e3b74c2f6640d3e272.jpg treat image : temp/1762262908_534395_1381444956_89028f226608698c6ac7d9e1b4b271ce.jpg treat image : temp/1762262908_534395_1381444947_a6d085d586bb7529361ccc957c7710ee.jpg treat image : temp/1762262908_534395_1381444944_29e505991fd9947aac434a3a6b0b1572.jpg treat image : temp/1762262908_534395_1381444915_39a54b54dfeac44bf3ded872c672cb1d.jpg treat image : temp/1762262908_534395_1381444912_21ea9a39f0213200c7bf04d894c757bd.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 : 27 time used for this insertion : 0.013637065887451172 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 27 time used for this insertion : 0.01684284210205078 save missing photos in datou_result : time spend for datou_step_exec : 26.546875953674316 time spend to save output : 0.03494405746459961 total time spend for step 7 : 26.581820011138916 step8:send_mail_cod Tue Nov 4 14:29:20 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_COD_P26536219_04-11-2025_14_29_20.pdf 26540704 imagette265407041762262960 26540705 imagette265407051762262960 26540706 change filename to text .imagette265407061762262960 26540707 change filename to text .imagette265407071762262960 26540708 imagette265407081762262960 26540698 change filename to text .change filename to text .change filename to text .imagette265406981762262960 26540702 imagette265407021762262960 26540703 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette265407031762262960 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26536219 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26540698,26540699,26540700,26540701,26540702,26540703,26540704,26540705,26540706,26540707,26540708,26540709?tags=Carton_brun,flou,environnement,papier,Carton_gris,Teint_Dans_La_Masse,kraft,autre_refus,cartonnette,plastique,metal,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1381445156] : ((1381445156, 928.490548306043, 2107751945), (1381445156, 0.5835232363314564, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445144] : ((1381445144, 1608.860118222258, 2107751945), (1381445144, 1.6575251790942158, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445142] : ((1381445142, 2289.991329436212, 492609224), (1381445142, 1.5181632380507166, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445119] : ((1381445119, 1465.4858525593368, 2107751945), (1381445119, 1.8063780220852783, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445116] : ((1381445116, 2024.0936869232567, 492609224), (1381445116, 2.1521899515146177, 492649241), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445102] : ((1381445102, 1341.3239189220847, 2107751945), (1381445102, 1.7233178008231993, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445072] : ((1381445072, 2118.0817548509103, 492609224), (1381445072, 2.2400021018727374, 492649241), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445069] : ((1381445069, 1666.0546501917677, 2107751945), (1381445069, 2.4304481126291053, 492649241), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445066] : ((1381445066, 1812.7810714621291, 2107751945), (1381445066, 1.8593190057143598, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445052] : ((1381445052, 1515.5649454650154, 2107751945), (1381445052, 1.6032614677524972, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445051] : ((1381445051, 1937.704165690044, 2107751945), (1381445051, 1.3930892506704329, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445039] : ((1381445039, 1922.2288619938854, 2107751945), (1381445039, 1.4167794801898115, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445038] : ((1381445038, 1512.311767648347, 2107751945), (1381445038, 2.1157649680618817, 492649241), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445037] : ((1381445037, 1986.8823560235833, 2107751945), (1381445037, 1.483599681446548, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445030] : ((1381445030, 1546.7818410136683, 2107751945), (1381445030, 1.3258022432229857, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381445029] : ((1381445029, 1696.149481965378, 2107751945), (1381445029, 1.1425391532411702, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444993] : ((1381444993, 1696.2846473311754, 2107751945), (1381444993, 1.150190849419803, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444991] : ((1381444991, 1744.5591461829101, 2107751945), (1381444991, 2.060760231256901, 492649241), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444989] : ((1381444989, 1727.0107884643658, 2107751945), (1381444989, 2.5989671624067303, 492649241), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444977] : ((1381444977, 1776.018415459155, 2107751945), (1381444977, 2.646159869453525, 492649241), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444960] : ((1381444960, 1884.7025104149661, 2107751945), (1381444960, 1.3522850812322635, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444958] : ((1381444958, 2057.9906520715776, 492609224), (1381444958, 1.747387375586806, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444956] : ((1381444956, 1750.0932419418752, 2107751945), (1381444956, 1.1784997640621462, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444947] : ((1381444947, 2022.475967115739, 492609224), (1381444947, 1.1754863593515155, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444944] : ((1381444944, 1960.9663968973528, 2107751945), (1381444944, 1.9451872258816654, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444915] : ((1381444915, 2029.4430009611008, 492609224), (1381444915, 1.78013980441286, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com args[1381444912] : ((1381444912, 1703.2925726826254, 2107751945), (1381444912, 1.681914532349535, 2107752395), '0.015672429508686588') We are sending mail with results at kexin@fotonower.com refus_total : 0.015672429508686588 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=26536219 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_P26536219_04-11-2025_14_29_20.pdf results_COD_P26536219_04-11-2025_14_29_20.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26536219_04-11-2025_14_29_20.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4241','26536219','results_COD_P26536219_04-11-2025_14_29_20.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26536219_04-11-2025_14_29_20.pdf','pdf','','0.77','0.015672429508686588') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1381445156, 1381445144, 1381445142, 1381445119, 1381445116, 1381445102, 1381445072, 1381445069, 1381445066, 1381445052, 1381445051, 1381445039, 1381445038, 1381445037, 1381445030, 1381445029, 1381444993, 1381444991, 1381444989, 1381444977, 1381444960, 1381444958, 1381444956, 1381444947, 1381444944, 1381444915, 1381444912] 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 ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445156', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445144', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445142', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445119', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445116', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445102', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445072', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445069', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445066', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445052', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445051', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445039', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445038', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445037', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445030', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445029', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444993', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444991', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444989', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444977', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444960', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444958', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444956', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444947', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444944', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444915', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444912', None, None, None, None, None, '3997706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01660323143005371 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.078573226928711 time spend to save output : 0.01695990562438965 total time spend for step 8 : 6.095533132553101 step9:split_time_score Tue Nov 4 14:29:26 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'}] (('13', 27),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 04092025 26536219 Nombre de photos uploadées : 27 / 23040 (0%) 04092025 26536219 Nombre de photos taguées (types de déchets): 0 / 27 (0%) 04092025 26536219 Nombre de photos taguées (volume) : 0 / 27 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 7.867813110351562e-06 ??????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019876956939697266 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20769309997558594 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_P26523735_04-09-2025_07_36_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26523735 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26523737_04-09-2025_07_15_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26523737 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26523739_04-09-2025_07_23_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26523739 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26523740_04-09-2025_09_10_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26523740 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26523740_04-09-2025_09_10_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26523740 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26541434_04-09-2025_20_30_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26541434 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539053_04-09-2025_20_07_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539053 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26524840_04-09-2025_10_43_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26524840 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26524840_04-09-2025_10_43_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26524840 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26524841_04-09-2025_07_56_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26524841 order by id desc limit 1 Qualite : 0.03302798101300705 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26524842_04-09-2025_08_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26524842 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26524842 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26524843_04-09-2025_07_57_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26524843 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26527509_04-09-2025_08_49_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26527509 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26527510_04-09-2025_08_44_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26527510 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26533163_04-09-2025_22_14_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26533163 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26533163_04-09-2025_22_14_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26533163 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531938_04-09-2025_12_37_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531938 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531440_04-09-2025_11_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531440 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26529997_04-09-2025_10_11_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26529997 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26529998_04-09-2025_10_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26529998 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26529999_04-09-2025_10_08_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26529999 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26529999_04-09-2025_10_08_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26529999 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26530000_04-09-2025_10_07_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26530000 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26530463_04-09-2025_11_09_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26530463 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26530464_04-09-2025_10_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26530464 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26530464_04-09-2025_10_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26530464 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26530465_04-09-2025_10_48_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26530465 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26530467_04-09-2025_10_47_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26530467 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26530468_04-09-2025_10_36_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26530468 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531442_04-09-2025_11_42_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531442 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531442_04-09-2025_11_42_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531442 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531443_04-09-2025_11_51_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531443 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531444_04-09-2025_12_06_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531444 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531456_04-09-2025_11_46_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531456 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531940_04-09-2025_12_14_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531940 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531942_04-09-2025_12_12_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531942 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531944_04-09-2025_12_06_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531944 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531945_04-09-2025_12_16_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531945 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531947_04-09-2025_12_07_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531947 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531949_04-09-2025_12_19_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531949 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531950_04-09-2025_12_10_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531950 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531950_04-09-2025_12_10_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531950 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26531952_04-09-2025_12_13_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26531952 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26533164_04-09-2025_17_43_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26533164 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26533165_04-09-2025_17_41_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26533165 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26533166_04-09-2025_21_58_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26533166 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26533166_04-09-2025_21_58_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26533166 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539057_04-09-2025_20_22_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539057 order by id desc limit 1 Qualite : 0.08075147569444444 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539059_04-09-2025_20_37_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539059 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26539059 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536212_04-09-2025_22_52_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536212 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536214_05-09-2025_02_47_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536214 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536214_05-09-2025_02_47_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536214 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536215_04-09-2025_18_55_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536215 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536217_04-09-2025_20_13_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536217 order by id desc limit 1 Qualite : 0.015672429508686588 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26536219_04-11-2025_14_29_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536219 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 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 ! 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`=26536219 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536221_04-09-2025_22_08_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536221 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536223_04-09-2025_19_17_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536223 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536224_05-09-2025_00_32_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536224 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536224_05-09-2025_00_32_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536224 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536226_04-09-2025_18_42_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536226 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536228_04-09-2025_18_57_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536228 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536230_04-09-2025_18_59_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536230 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536233_05-09-2025_00_34_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536233 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536233_05-09-2025_00_34_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536233 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536236_04-09-2025_21_26_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536236 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536238_04-09-2025_18_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536238 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26536238_04-09-2025_18_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26536238 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539062_04-09-2025_19_44_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539062 order by id desc limit 1 Qualite : 0.09884333606610084 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539064_04-09-2025_19_53_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539064 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26539064 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539067_04-09-2025_19_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539067 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539070_04-09-2025_20_10_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539070 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539072_04-09-2025_19_54_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539072 order by id desc limit 1 Qualite : 0.0794079195142563 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539074_04-09-2025_19_51_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539074 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26539074 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539077_04-09-2025_19_54_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539077 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539079_04-09-2025_20_55_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539079 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539079_04-09-2025_20_55_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539079 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26539081_04-09-2025_19_48_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26539081 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26541448_04-09-2025_20_33_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26541448 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26554503_05-09-2025_03_23_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26554503 order by id desc limit 1 Qualite : 0.0662781673875081 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545107_04-09-2025_21_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545107 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26545107 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545109_04-09-2025_22_54_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545109 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545109_04-09-2025_22_54_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545109 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545110_04-09-2025_21_43_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545110 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545112_04-09-2025_21_55_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545112 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545115_04-09-2025_23_02_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545115 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545115_04-09-2025_23_02_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545115 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545117_04-09-2025_22_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545117 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545119_04-09-2025_21_55_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545119 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545122_04-09-2025_21_43_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545122 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545123_04-09-2025_21_52_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545123 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545125_04-09-2025_21_45_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545125 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545127_04-09-2025_21_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545127 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545129_04-09-2025_21_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545129 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26545130_04-09-2025_23_07_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26545130 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26554522_05-09-2025_01_10_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26554522 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552421_05-09-2025_00_07_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26552421 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552422_05-09-2025_00_19_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26552422 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552441_05-09-2025_02_38_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26552441 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552441_05-09-2025_02_38_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26552441 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552442_05-09-2025_00_16_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26552442 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552443_05-09-2025_00_13_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26552443 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26560132_05-09-2025_05_07_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26560132 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'04092025': {'nb_upload': 27, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1381445156, 1381445144, 1381445142, 1381445119, 1381445116, 1381445102, 1381445072, 1381445069, 1381445066, 1381445052, 1381445051, 1381445039, 1381445038, 1381445037, 1381445030, 1381445029, 1381444993, 1381444991, 1381444989, 1381444977, 1381444960, 1381444958, 1381444956, 1381444947, 1381444944, 1381444915, 1381444912] Looping around the photos to save general results len do output : 1 /26536219Didn'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, '3997706') ('4241', '26536219', '1381445156', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445144', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445142', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445119', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445116', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445102', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445072', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445069', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445066', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445052', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445051', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445039', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445038', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445037', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445030', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381445029', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444993', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444991', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444989', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444977', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444960', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444958', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444956', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444947', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444944', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444915', None, None, None, None, None, '3997706') ('4241', None, None, None, None, None, None, None, '3997706') ('4241', '26536219', '1381444912', None, None, None, None, None, '3997706') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.016028165817260742 save_final save missing photos in datou_result : time spend for datou_step_exec : 60.13453269004822 time spend to save output : 0.016460657119750977 total time spend for step 9 : 60.15099334716797 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 27 set_done_treatment 35.15user 7.66system 2:00.44elapsed 35%CPU (0avgtext+0avgdata 199308maxresident)k 1360inputs+79840outputs (44major+831726minor)pagefaults 0swaps