python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4250 ' -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 : 3563385 load datou : 4250 # 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 11599 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11600 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11597 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11597 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11604 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11598 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11601 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11602 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11603 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11605 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 11599 have datatype=11 whereas input 0 of step 11597 have datatype=2 WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 3 of step 11598 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 11600 doesn't seem to be define in the database( WARNING : type of input 1 of step 11597 doesn't seem to be define in the database( WARNING : output 0 of step 11604 have datatype=10 whereas input 3 of step 11603 have datatype=6 WARNING : type of input 1 of step 11604 doesn't seem to be define in the database( WARNING : output 1 of step 11597 have datatype=7 whereas input 1 of step 11604 have datatype=None WARNING : type of output 1 of step 11604 doesn't seem to be define in the database( WARNING : type of input 4 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11599 doesn't seem to be define in the database( WARNING : type of input 1 of step 11600 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 : 4250, datou_cur_ids : ['4333434'] with mtr_portfolio_ids : ['26072896'] and first list_photo_ids : [] new path : /proc/3563385/ 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 11599 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11600 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11597 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11597 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11604 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11598 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11601 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11602 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11603 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11605 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 11599 have datatype=11 whereas input 0 of step 11597 have datatype=2 WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 3 of step 11598 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 11600 doesn't seem to be define in the database( WARNING : type of input 1 of step 11597 doesn't seem to be define in the database( WARNING : output 0 of step 11604 have datatype=10 whereas input 3 of step 11603 have datatype=6 WARNING : type of input 1 of step 11604 doesn't seem to be define in the database( WARNING : output 1 of step 11597 have datatype=7 whereas input 1 of step 11604 have datatype=None WARNING : type of output 1 of step 11604 doesn't seem to be define in the database( WARNING : type of input 4 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11599 doesn't seem to be define in the database( WARNING : type of input 1 of step 11600 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 22 ; length of list_pids : 22 ; length of list_args : 22 time to download the photos : 6.121450185775757 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 Wed Jan 21 14:20:33 2026 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 70 chid ids of type : 4207 batch 1 Loaded 197 chid ids of type : 4207 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 [1377774350, 1377774322, 1377773992, 1377773969, 1377773918, 1377773894, 1377773865, 1377773477, 1377773440, 1377773414, 1377773402, 1377773400, 1377773398, 1377773391, 1377773388, 1377773384, 1377773381, 1377773378, 1377773375, 1377773215, 1377773213, 1377773212] Looping around the photos to save general results len do output : 22 /1377774350Didn't retrieve data . /1377774322Didn't retrieve data . /1377773992Didn't retrieve data . /1377773969Didn't retrieve data . /1377773918Didn't retrieve data . /1377773894Didn't retrieve data . /1377773865Didn't retrieve data . /1377773477Didn't retrieve data . /1377773440Didn't retrieve data . /1377773414Didn't retrieve data . /1377773402Didn't retrieve data . /1377773400Didn't retrieve data . /1377773398Didn't retrieve data . /1377773391Didn't retrieve data . /1377773388Didn't retrieve data . /1377773384Didn't retrieve data . /1377773381Didn't retrieve data . /1377773378Didn't retrieve data . /1377773375Didn't retrieve data . /1377773215Didn't retrieve data . /1377773213Didn't retrieve data . /1377773212Didn'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 ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774350', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774322', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773992', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773969', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773918', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773894', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773865', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773477', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773440', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773414', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773402', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773400', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773398', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773391', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773388', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773384', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773381', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773378', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773375', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773215', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773213', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773212', None, None, None, None, None, '4333434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 time used for this insertion : 0.0517730712890625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.21312904357910156 time spend to save output : 0.05232381820678711 total time spend for step 1 : 0.26545286178588867 step2:consolidate_hashtags_from_manual_portfolio Wed Jan 21 14:20:33 2026 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 : 26072896 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`=26072896 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26072896 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26072896 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26076548 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=26076549 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=26076550 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=26076551 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=26076552 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=26076553 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=26076554 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=26076555 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 6 chid ids of type : 4207 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=26076556 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 163 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26076558 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 183 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=26076559 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 21 chid ids of type : 4207 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=26076560 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=26076561 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 13 chid ids of type : 4207 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=26076562 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 9 chid ids of type : 4207 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=26076563 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 59 chid ids of type : 4207 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=26076564 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=30173038 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 [1377774350, 1377774322, 1377773992, 1377773969, 1377773918, 1377773894, 1377773865, 1377773477, 1377773440, 1377773414, 1377773402, 1377773400, 1377773398, 1377773391, 1377773388, 1377773384, 1377773381, 1377773378, 1377773375, 1377773215, 1377773213, 1377773212] 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 : 22 time used for this insertion : 0.03389620780944824 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.0803287029266357 time spend to save output : 0.03407025337219238 total time spend for step 2 : 3.114398956298828 step3:rle_unique_nms_with_priority Wed Jan 21 14:20:36 2026 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 169 chid ids of type : 4207 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031097888946533203 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03104877471923828 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03447675704956055 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03333640098571777 seulement à utiliser dans la step consolidation batch 1 Loaded 16 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03540849685668945 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03339242935180664 seulement à utiliser dans la step consolidation batch 1 Loaded 15 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03588366508483887 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03221845626831055 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03428387641906738 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.033498525619506836 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03246450424194336 seulement à utiliser dans la step consolidation batch 1 Loaded 12 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03464865684509277 seulement à utiliser dans la step consolidation batch 1 Loaded 17 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03528404235839844 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.033197641372680664 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.035897254943847656 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03278851509094238 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03311634063720703 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032227277755737305 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03193950653076172 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03186178207397461 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030957460403442383 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032796382904052734 map_output_result : {1377774350: (0.0, 'Should be the crop_list due to order', 0), 1377774322: (0.0, 'Should be the crop_list due to order', 0), 1377773992: (0.0, 'Should be the crop_list due to order', 0), 1377773969: (0.0, 'Should be the crop_list due to order', 0), 1377773918: (0.0, 'Should be the crop_list due to order', 0), 1377773894: (0.0, 'Should be the crop_list due to order', 0), 1377773865: (0.0, 'Should be the crop_list due to order', 0), 1377773477: (0.0, 'Should be the crop_list due to order', 0), 1377773440: (0.0, 'Should be the crop_list due to order', 0), 1377773414: (0.0, 'Should be the crop_list due to order', 0), 1377773402: (0.0, 'Should be the crop_list due to order', 0), 1377773400: (0.0, 'Should be the crop_list due to order', 0), 1377773398: (0.0, 'Should be the crop_list due to order', 0), 1377773391: (0.0, 'Should be the crop_list due to order', 0), 1377773388: (0.0, 'Should be the crop_list due to order', 0), 1377773384: (0.0, 'Should be the crop_list due to order', 0), 1377773381: (0.0, 'Should be the crop_list due to order', 0), 1377773378: (0.0, 'Should be the crop_list due to order', 0), 1377773375: (0.0, 'Should be the crop_list due to order', 0), 1377773215: (0.0, 'Should be the crop_list due to order', 0), 1377773213: (0.0, 'Should be the crop_list due to order', 0), 1377773212: (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 [1377774350, 1377774322, 1377773992, 1377773969, 1377773918, 1377773894, 1377773865, 1377773477, 1377773440, 1377773414, 1377773402, 1377773400, 1377773398, 1377773391, 1377773388, 1377773384, 1377773381, 1377773378, 1377773375, 1377773215, 1377773213, 1377773212] Looping around the photos to save general results len do output : 22 /1377774350.Didn't retrieve data . /1377774322.Didn't retrieve data . /1377773992.Didn't retrieve data . /1377773969.Didn't retrieve data . /1377773918.Didn't retrieve data . /1377773894.Didn't retrieve data . /1377773865.Didn't retrieve data . /1377773477.Didn't retrieve data . /1377773440.Didn't retrieve data . /1377773414.Didn't retrieve data . /1377773402.Didn't retrieve data . /1377773400.Didn't retrieve data . /1377773398.Didn't retrieve data . /1377773391.Didn't retrieve data . /1377773388.Didn't retrieve data . /1377773384.Didn't retrieve data . /1377773381.Didn't retrieve data . /1377773378.Didn't retrieve data . /1377773375.Didn't retrieve data . /1377773215.Didn't retrieve data . /1377773213.Didn't retrieve data . /1377773212.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 ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774350', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774322', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773992', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773969', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773918', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773894', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773865', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773477', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773440', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773414', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773402', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773400', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773398', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773391', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773388', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773384', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773381', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773378', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773375', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773215', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773213', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773212', None, None, None, None, None, '4333434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.017674684524536133 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.930948257446289 time spend to save output : 0.018345355987548828 total time spend for step 3 : 3.949293613433838 step4:ventilate_hashtags_in_portfolio Wed Jan 21 14:20:40 2026 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 : 26072896 get user id for portfolio 26072896 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`=26072896 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26072896 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/26076548,26076549,26076550,26076551,26076552,26076553,26076554,26076555,26076556,26076558,26076559,26076560,26076561,26076562,26076563,26076564?tags=flou,kraft,metal,pehd,pet_fonce,pet_clair,barquette_opaque,pet_opaque,papier,carton,film_plastique,textiles_sanitaires,ela,environnement,mal_croppe,etiquette Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1377774350, 1377774322, 1377773992, 1377773969, 1377773918, 1377773894, 1377773865, 1377773477, 1377773440, 1377773414, 1377773402, 1377773400, 1377773398, 1377773391, 1377773388, 1377773384, 1377773381, 1377773378, 1377773375, 1377773215, 1377773213, 1377773212] Looping around the photos to save general results len do output : 1 /26072896. 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 ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774350', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774322', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773992', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773969', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773918', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773894', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773865', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773477', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773440', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773414', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773402', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773400', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773398', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773391', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773388', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773384', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773381', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773378', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773375', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773215', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773213', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773212', None, None, None, None, None, '4333434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.03362917900085449 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.40410733222961426 time spend to save output : 0.03397178649902344 total time spend for step 4 : 0.4380791187286377 step5:final Wed Jan 21 14:20:40 2026 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 : {1377774350: ('0.03680063852218429',), 1377774322: ('0.03680063852218429',), 1377773992: ('0.03680063852218429',), 1377773969: ('0.03680063852218429',), 1377773918: ('0.03680063852218429',), 1377773894: ('0.03680063852218429',), 1377773865: ('0.03680063852218429',), 1377773477: ('0.03680063852218429',), 1377773440: ('0.03680063852218429',), 1377773414: ('0.03680063852218429',), 1377773402: ('0.03680063852218429',), 1377773400: ('0.03680063852218429',), 1377773398: ('0.03680063852218429',), 1377773391: ('0.03680063852218429',), 1377773388: ('0.03680063852218429',), 1377773384: ('0.03680063852218429',), 1377773381: ('0.03680063852218429',), 1377773378: ('0.03680063852218429',), 1377773375: ('0.03680063852218429',), 1377773215: ('0.03680063852218429',), 1377773213: ('0.03680063852218429',), 1377773212: ('0.03680063852218429',)} new output for save of step final : {1377774350: ('0.03680063852218429',), 1377774322: ('0.03680063852218429',), 1377773992: ('0.03680063852218429',), 1377773969: ('0.03680063852218429',), 1377773918: ('0.03680063852218429',), 1377773894: ('0.03680063852218429',), 1377773865: ('0.03680063852218429',), 1377773477: ('0.03680063852218429',), 1377773440: ('0.03680063852218429',), 1377773414: ('0.03680063852218429',), 1377773402: ('0.03680063852218429',), 1377773400: ('0.03680063852218429',), 1377773398: ('0.03680063852218429',), 1377773391: ('0.03680063852218429',), 1377773388: ('0.03680063852218429',), 1377773384: ('0.03680063852218429',), 1377773381: ('0.03680063852218429',), 1377773378: ('0.03680063852218429',), 1377773375: ('0.03680063852218429',), 1377773215: ('0.03680063852218429',), 1377773213: ('0.03680063852218429',), 1377773212: ('0.03680063852218429',)} [1377774350, 1377774322, 1377773992, 1377773969, 1377773918, 1377773894, 1377773865, 1377773477, 1377773440, 1377773414, 1377773402, 1377773400, 1377773398, 1377773391, 1377773388, 1377773384, 1377773381, 1377773378, 1377773375, 1377773215, 1377773213, 1377773212] Looping around the photos to save general results len do output : 22 /1377774350.Didn't retrieve data . /1377774322.Didn't retrieve data . /1377773992.Didn't retrieve data . /1377773969.Didn't retrieve data . /1377773918.Didn't retrieve data . /1377773894.Didn't retrieve data . /1377773865.Didn't retrieve data . /1377773477.Didn't retrieve data . /1377773440.Didn't retrieve data . /1377773414.Didn't retrieve data . /1377773402.Didn't retrieve data . /1377773400.Didn't retrieve data . /1377773398.Didn't retrieve data . /1377773391.Didn't retrieve data . /1377773388.Didn't retrieve data . /1377773384.Didn't retrieve data . /1377773381.Didn't retrieve data . /1377773378.Didn't retrieve data . /1377773375.Didn't retrieve data . /1377773215.Didn't retrieve data . /1377773213.Didn't retrieve data . /1377773212.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 ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774350', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774322', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773992', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773969', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773918', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773894', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773865', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773477', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773440', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773414', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773402', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773400', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773398', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773391', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773388', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773384', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773381', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773378', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773375', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773215', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773213', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773212', None, None, None, None, None, '4333434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.017072677612304688 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.054991960525512695 time spend to save output : 0.017979860305786133 total time spend for step 5 : 0.07297182083129883 step6:blur_detection Wed Jan 21 14:20:41 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 22 time used for this insertion : 0.012797117233276367 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 22 time used for this insertion : 0.04801750183105469 save missing photos in datou_result : time spend for datou_step_exec : 0.06638598442077637 time spend to save output : 0.06667542457580566 total time spend for step 6 : 0.13306140899658203 step7:brightness Wed Jan 21 14:20:41 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 22 time used for this insertion : 0.017871856689453125 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 22 time used for this insertion : 0.01690363883972168 save missing photos in datou_result : time spend for datou_step_exec : 0.03228044509887695 time spend to save output : 0.04064321517944336 total time spend for step 7 : 0.07292366027832031 step8:send_mail_cod Wed Jan 21 14:20:41 2026 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_P26072896_21-01-2026_14_20_41.pdf 26076549 imagette260765491769001641 26076550 imagette260765501769001641 26076551 imagette260765511769001641 26076552 imagette260765521769001641 26076553 imagette260765531769001641 26076554 imagette260765541769001641 26076555 change filename to text .imagette260765551769001641 26076556 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette260765561769001641 26076559 change filename to text .change filename to text .change filename to text .imagette260765591769001644 26076560 imagette260765601769001644 26076561 change filename to text .imagette260765611769001644 26076564 imagette260765641769001644 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26072896 and hashtag_type = 4207 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26076548,26076549,26076550,26076551,26076552,26076553,26076554,26076555,26076556,26076558,26076559,26076560,26076561,26076562,26076563,26076564?tags=flou,kraft,metal,pehd,pet_fonce,pet_clair,barquette_opaque,pet_opaque,papier,carton,film_plastique,textiles_sanitaires,ela,environnement,mal_croppe,etiquette your option no_mail is active, we will not send the real mail to your client args[1377774350] : ((1377774350, -6.051978494155655, 492609224), (1377774350, -0.37672967651401834, 496442774), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377774322] : ((1377774322, -6.600376800934167, 492609224), (1377774322, -0.11706589918618081, 496442774), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773992] : ((1377773992, -7.15382305224721, 492609224), (1377773992, 0.20553100901929247, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773969] : ((1377773969, -7.100591165213012, 492609224), (1377773969, 0.21000284456267962, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773918] : ((1377773918, -7.167712237815897, 492609224), (1377773918, 0.32907038144734535, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773894] : ((1377773894, -7.259591733996518, 492609224), (1377773894, 0.4550494547839901, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773865] : ((1377773865, -7.094534830421565, 492609224), (1377773865, 0.2243284084832037, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773477] : ((1377773477, -7.0926985475073066, 492609224), (1377773477, 0.3162642859648591, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773440] : ((1377773440, -7.156872178275743, 492609224), (1377773440, 0.3610063691252533, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773414] : ((1377773414, -7.214221846307998, 492609224), (1377773414, 0.24013137797724085, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773402] : ((1377773402, -7.173574116135705, 492609224), (1377773402, 0.23757714771737753, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773400] : ((1377773400, -6.94390355345777, 492609224), (1377773400, 0.1339098153936781, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773398] : ((1377773398, -7.194580279728837, 492609224), (1377773398, 0.11607654431019612, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773391] : ((1377773391, -6.964653133874731, 492609224), (1377773391, 0.25425214990702866, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773388] : ((1377773388, -7.106836214334441, 492609224), (1377773388, 0.11582270133440072, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773384] : ((1377773384, -6.900745558178666, 492609224), (1377773384, 0.2905270882351607, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773381] : ((1377773381, -6.797004413123382, 492609224), (1377773381, 0.036298249019787523, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773378] : ((1377773378, -7.035981816300011, 492609224), (1377773378, 0.3816074416993618, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773375] : ((1377773375, -6.4437244042260815, 492609224), (1377773375, -0.047110158796845464, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773215] : ((1377773215, -6.060729867287086, 492609224), (1377773215, -0.514021732142188, 501862349), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773213] : ((1377773213, -7.081628062526718, 492609224), (1377773213, 0.4144960201992828, 2107752395), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com args[1377773212] : ((1377773212, -6.38404103535388, 492609224), (1377773212, -0.13079375059489182, 496442774), '0.03680063852218429') We are sending mail with results at kexin@fotonower.com refus_total : 0.03680063852218429 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=26072896 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_P26072896_21-01-2026_14_20_41.pdf results_COD_P26072896_21-01-2026_14_20_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26072896_21-01-2026_14_20_41.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4250','26072896','results_COD_P26072896_21-01-2026_14_20_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26072896_21-01-2026_14_20_41.pdf','pdf','','0.91','0.03680063852218429') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1377774350, 1377774322, 1377773992, 1377773969, 1377773918, 1377773894, 1377773865, 1377773477, 1377773440, 1377773414, 1377773402, 1377773400, 1377773398, 1377773391, 1377773388, 1377773384, 1377773381, 1377773378, 1377773375, 1377773215, 1377773213, 1377773212] 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 ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774350', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774322', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773992', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773969', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773918', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773894', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773865', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773477', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773440', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773414', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773402', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773400', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773398', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773391', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773388', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773384', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773381', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773378', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773375', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773215', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773213', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773212', None, None, None, None, None, '4333434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 time used for this insertion : 0.017673254013061523 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.689229249954224 time spend to save output : 0.01798081398010254 total time spend for step 8 : 7.707210063934326 step9:split_time_score Wed Jan 21 14:20:48 2026 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'}] (('06', 22),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 19082025 26072896 Nombre de photos uploadées : 22 / 23040 (0%) 19082025 26072896 Nombre de photos taguées (types de déchets): 0 / 22 (0%) 19082025 26072896 Nombre de photos taguées (volume) : 0 / 22 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.4836273193359375e-06 ?????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0010085105895996094 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.27004361152648926 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_P26072890_20-08-2025_11_22_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072890 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072892_20-08-2025_13_02_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072892 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072894_20-08-2025_12_41_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072894 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26072896_21-01-2026_14_20_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072896 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26072896_21-01-2026_14_20_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072896 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072898_20-08-2025_12_43_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072898 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072900_20-08-2025_11_53_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072900 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072901_20-08-2025_10_32_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072901 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072903_20-08-2025_13_28_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072903 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072905_20-08-2025_15_16_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072905 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072905_20-08-2025_15_16_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072905 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072918_20-08-2025_11_02_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072918 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072920_20-08-2025_12_36_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072920 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072922_20-08-2025_11_49_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072922 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072923_20-08-2025_12_33_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072923 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072924_20-08-2025_15_23_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072924 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072924_20-08-2025_15_23_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072924 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072925_20-08-2025_13_12_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072925 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072926_20-08-2025_11_12_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072926 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072927_20-08-2025_10_49_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072927 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072928_20-08-2025_14_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072928 order by id desc limit 1 Qualite : 0.1467202419704861 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072929_20-08-2025_10_24_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072929 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`=26072929 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072931_20-08-2025_11_36_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072931 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072932_20-08-2025_12_46_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072932 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072933_20-08-2025_15_26_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072933 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072933_20-08-2025_15_26_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072933 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072934_20-08-2025_12_29_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072934 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072935_20-08-2025_15_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072935 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072936_20-08-2025_13_30_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072936 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072936_20-08-2025_13_30_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072936 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072937_20-08-2025_12_30_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072937 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072938_20-08-2025_10_56_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072938 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072939_20-08-2025_13_35_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072939 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072939_20-08-2025_13_35_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072939 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072940_20-08-2025_11_59_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072940 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072941_20-08-2025_11_32_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072941 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072943_20-08-2025_10_28_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072943 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072944_20-08-2025_11_01_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072944 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072946_20-08-2025_10_42_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072946 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072948_20-08-2025_12_10_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072948 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072950_20-08-2025_11_56_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072950 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072952_20-08-2025_11_22_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072952 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072954_20-08-2025_15_48_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072954 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072954_20-08-2025_15_48_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072954 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072956_20-08-2025_11_55_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072956 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072958_20-08-2025_13_42_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072958 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072974_20-08-2025_11_23_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072974 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072976_20-08-2025_15_51_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072976 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072976_20-08-2025_15_51_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072976 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072977_20-08-2025_10_35_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072977 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072979_20-08-2025_12_02_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072979 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072981_20-08-2025_15_58_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072981 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072981_20-08-2025_15_58_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072981 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072983_20-08-2025_11_45_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072983 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072985_20-08-2025_11_38_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072985 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072987_20-08-2025_10_38_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072987 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072989_20-08-2025_11_08_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072989 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072991_20-08-2025_10_31_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072991 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072993_20-08-2025_16_09_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072993 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072993_20-08-2025_16_09_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072993 order by id desc limit 1 Qualite : 0.14472075536908438 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072994_20-08-2025_10_18_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072994 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`=26072994 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072995_20-08-2025_10_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072995 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072996_20-08-2025_11_22_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072996 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072997_20-08-2025_11_39_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072997 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072998_20-08-2025_11_03_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072998 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072999_20-08-2025_12_54_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072999 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26072999_20-08-2025_12_54_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26072999 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073000_20-08-2025_11_04_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073000 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073001_20-08-2025_11_15_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073001 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073002_20-08-2025_12_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073002 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073003_20-08-2025_11_07_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073003 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073004_20-08-2025_10_34_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073004 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073005_20-08-2025_10_50_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073005 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073006_20-08-2025_11_54_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073006 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073006_20-08-2025_11_54_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073006 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073007_20-08-2025_11_03_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073007 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073008_20-08-2025_10_44_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073008 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073009_20-08-2025_11_52_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073009 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073009_20-08-2025_11_52_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073009 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073010_20-08-2025_10_17_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073010 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073011_20-08-2025_10_44_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073011 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073012_20-08-2025_10_36_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073012 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073013_20-08-2025_11_50_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073013 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073013_20-08-2025_11_50_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073013 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073015_20-08-2025_11_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073015 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073028_20-08-2025_10_17_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073028 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26073030_20-01-2026_14_01_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073030 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26073030_20-01-2026_14_01_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073030 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073032_20-08-2025_10_56_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073032 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073034_20-08-2025_10_28_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073034 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073036_20-08-2025_10_34_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073036 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073039_20-08-2025_10_24_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073039 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073042_20-08-2025_10_38_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073042 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073044_20-08-2025_10_40_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073044 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073047_20-08-2025_10_54_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073047 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073047_20-08-2025_10_54_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073047 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073050_20-08-2025_10_22_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073050 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073053_20-08-2025_10_18_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073053 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073056_20-08-2025_10_37_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073056 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073059_20-08-2025_10_40_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073059 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073073_20-08-2025_10_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073073 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26073073_20-08-2025_10_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26073073 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'19082025': {'nb_upload': 22, '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 [1377774350, 1377774322, 1377773992, 1377773969, 1377773918, 1377773894, 1377773865, 1377773477, 1377773440, 1377773414, 1377773402, 1377773400, 1377773398, 1377773391, 1377773388, 1377773384, 1377773381, 1377773378, 1377773375, 1377773215, 1377773213, 1377773212] Looping around the photos to save general results len do output : 1 /26072896Didn'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 ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774350', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377774322', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773992', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773969', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773918', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773894', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773865', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773477', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773440', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773414', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773402', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773400', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773398', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773391', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773388', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773384', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773381', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773378', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773375', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773215', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773213', None, None, None, None, None, '4333434') ('4250', None, None, None, None, None, None, None, '4333434') ('4250', '26072896', '1377773212', None, None, None, None, None, '4333434') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.01772618293762207 save_final save missing photos in datou_result : time spend for datou_step_exec : 65.64545321464539 time spend to save output : 0.01804375648498535 total time spend for step 9 : 65.66349697113037 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 22 set_done_treatment 6.01user 2.09system 1:30.42elapsed 8%CPU (0avgtext+0avgdata 228016maxresident)k 54552inputs+81504outputs (5374major+152768minor)pagefaults 0swaps