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 : 987960 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 : ['4333744'] with mtr_portfolio_ids : ['26242573'] and first list_photo_ids : [] new path : /proc/987960/ 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 : 5.924848794937134 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Thu Jan 22 09:28:34 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 65 chid ids of type : 4207 batch 1 Loaded 139 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 [1379486417, 1379486415, 1379486409, 1379486397, 1379486389, 1379486364, 1379486358, 1379486338, 1379486335, 1379486328, 1379486327, 1379486325, 1379486323, 1379486314, 1379486311, 1379486305, 1379486304, 1379486302, 1379486300, 1379486296, 1379486290, 1379486276] Looping around the photos to save general results len do output : 22 /1379486417Didn't retrieve data . /1379486415Didn't retrieve data . /1379486409Didn't retrieve data . /1379486397Didn't retrieve data . /1379486389Didn't retrieve data . /1379486364Didn't retrieve data . /1379486358Didn't retrieve data . /1379486338Didn't retrieve data . /1379486335Didn't retrieve data . /1379486328Didn't retrieve data . /1379486327Didn't retrieve data . /1379486325Didn't retrieve data . /1379486323Didn't retrieve data . /1379486314Didn't retrieve data . /1379486311Didn't retrieve data . /1379486305Didn't retrieve data . /1379486304Didn't retrieve data . /1379486302Didn't retrieve data . /1379486300Didn't retrieve data . /1379486296Didn't retrieve data . /1379486290Didn't retrieve data . /1379486276Didn'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, '4333744') ('4250', '26242573', '1379486417', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486415', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486409', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486397', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486389', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486364', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486358', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486338', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486335', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486328', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486327', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486325', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486323', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486314', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486311', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486305', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486304', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486302', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486300', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486296', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486290', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486276', None, None, None, None, None, '4333744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 time used for this insertion : 0.027083635330200195 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.11688828468322754 time spend to save output : 0.027772188186645508 total time spend for step 1 : 0.14466047286987305 step2:consolidate_hashtags_from_manual_portfolio Thu Jan 22 09:28:34 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 : 26242573 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`=26242573 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`=26242573 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`=26242573 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=26247929 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=26247930 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=26247931 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 129 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=26247932 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=26247933 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=26247934 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 113 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=26247935 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 11 chid ids of type : 4207 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=26247936 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=26247937 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 14 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=26247938 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 17 chid ids of type : 4207 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=26247939 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=26247940 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 25 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=26247941 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=26247942 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 11 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=26247943 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 26 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=26247944 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=30179368 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 [1379486417, 1379486415, 1379486409, 1379486397, 1379486389, 1379486364, 1379486358, 1379486338, 1379486335, 1379486328, 1379486327, 1379486325, 1379486323, 1379486314, 1379486311, 1379486305, 1379486304, 1379486302, 1379486300, 1379486296, 1379486290, 1379486276] 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.02282881736755371 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.4788877964019775 time spend to save output : 0.023021221160888672 total time spend for step 2 : 2.501909017562866 step3:rle_unique_nms_with_priority Thu Jan 22 09:28: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 114 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.03137016296386719 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.03097701072692871 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.03265070915222168 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.030840396881103516 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.032958269119262695 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.03381013870239258 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.03360462188720703 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.0345613956451416 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.03141307830810547 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.03151845932006836 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.03264665603637695 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.03316831588745117 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.032920122146606445 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.03321361541748047 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.03439593315124512 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.03376054763793945 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.03304338455200195 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.032973289489746094 seulement à utiliser dans la step consolidation batch 1 Loaded 14 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.036086082458496094 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.0314326286315918 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.03272652626037598 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.03368043899536133 map_output_result : {1379486417: (0.0, 'Should be the crop_list due to order', 0), 1379486415: (0.0, 'Should be the crop_list due to order', 0), 1379486409: (0.0, 'Should be the crop_list due to order', 0), 1379486397: (0.0, 'Should be the crop_list due to order', 0), 1379486389: (0.0, 'Should be the crop_list due to order', 0), 1379486364: (0.0, 'Should be the crop_list due to order', 0), 1379486358: (0.0, 'Should be the crop_list due to order', 0), 1379486338: (0.0, 'Should be the crop_list due to order', 0), 1379486335: (0.0, 'Should be the crop_list due to order', 0), 1379486328: (0.0, 'Should be the crop_list due to order', 0), 1379486327: (0.0, 'Should be the crop_list due to order', 0), 1379486325: (0.0, 'Should be the crop_list due to order', 0), 1379486323: (0.0, 'Should be the crop_list due to order', 0), 1379486314: (0.0, 'Should be the crop_list due to order', 0), 1379486311: (0.0, 'Should be the crop_list due to order', 0), 1379486305: (0.0, 'Should be the crop_list due to order', 0), 1379486304: (0.0, 'Should be the crop_list due to order', 0), 1379486302: (0.0, 'Should be the crop_list due to order', 0), 1379486300: (0.0, 'Should be the crop_list due to order', 0), 1379486296: (0.0, 'Should be the crop_list due to order', 0), 1379486290: (0.0, 'Should be the crop_list due to order', 0), 1379486276: (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 [1379486417, 1379486415, 1379486409, 1379486397, 1379486389, 1379486364, 1379486358, 1379486338, 1379486335, 1379486328, 1379486327, 1379486325, 1379486323, 1379486314, 1379486311, 1379486305, 1379486304, 1379486302, 1379486300, 1379486296, 1379486290, 1379486276] Looping around the photos to save general results len do output : 22 /1379486417.Didn't retrieve data . /1379486415.Didn't retrieve data . /1379486409.Didn't retrieve data . /1379486397.Didn't retrieve data . /1379486389.Didn't retrieve data . /1379486364.Didn't retrieve data . /1379486358.Didn't retrieve data . /1379486338.Didn't retrieve data . /1379486335.Didn't retrieve data . /1379486328.Didn't retrieve data . /1379486327.Didn't retrieve data . /1379486325.Didn't retrieve data . /1379486323.Didn't retrieve data . /1379486314.Didn't retrieve data . /1379486311.Didn't retrieve data . /1379486305.Didn't retrieve data . /1379486304.Didn't retrieve data . /1379486302.Didn't retrieve data . /1379486300.Didn't retrieve data . /1379486296.Didn't retrieve data . /1379486290.Didn't retrieve data . /1379486276.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, '4333744') ('4250', '26242573', '1379486417', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486415', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486409', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486397', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486389', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486364', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486358', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486338', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486335', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486328', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486327', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486325', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486323', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486314', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486311', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486305', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486304', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486302', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486300', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486296', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486290', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486276', None, None, None, None, None, '4333744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.02055644989013672 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.8679287433624268 time spend to save output : 0.021214723587036133 total time spend for step 3 : 3.889143466949463 step4:ventilate_hashtags_in_portfolio Thu Jan 22 09:28: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 : 26242573 get user id for portfolio 26242573 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`=26242573 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`=26242573 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/26247929,26247930,26247931,26247932,26247933,26247934,26247935,26247936,26247937,26247938,26247939,26247940,26247941,26247942,26247943,26247944?tags=ela,pehd,carton,metal,pet_opaque,papier,environnement,pet_clair,barquette_opaque,kraft,flou,mal_croppe,pet_fonce,etiquette,film_plastique,textiles_sanitaires Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1379486417, 1379486415, 1379486409, 1379486397, 1379486389, 1379486364, 1379486358, 1379486338, 1379486335, 1379486328, 1379486327, 1379486325, 1379486323, 1379486314, 1379486311, 1379486305, 1379486304, 1379486302, 1379486300, 1379486296, 1379486290, 1379486276] Looping around the photos to save general results len do output : 1 /26242573. 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, '4333744') ('4250', '26242573', '1379486417', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486415', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486409', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486397', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486389', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486364', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486358', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486338', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486335', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486328', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486327', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486325', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486323', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486314', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486311', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486305', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486304', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486302', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486300', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486296', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486290', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486276', None, None, None, None, None, '4333744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.021835803985595703 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3988070487976074 time spend to save output : 0.022133350372314453 total time spend for step 4 : 0.4209403991699219 step5:final Thu Jan 22 09:28: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 : {1379486417: ('0.02821420357304269',), 1379486415: ('0.02821420357304269',), 1379486409: ('0.02821420357304269',), 1379486397: ('0.02821420357304269',), 1379486389: ('0.02821420357304269',), 1379486364: ('0.02821420357304269',), 1379486358: ('0.02821420357304269',), 1379486338: ('0.02821420357304269',), 1379486335: ('0.02821420357304269',), 1379486328: ('0.02821420357304269',), 1379486327: ('0.02821420357304269',), 1379486325: ('0.02821420357304269',), 1379486323: ('0.02821420357304269',), 1379486314: ('0.02821420357304269',), 1379486311: ('0.02821420357304269',), 1379486305: ('0.02821420357304269',), 1379486304: ('0.02821420357304269',), 1379486302: ('0.02821420357304269',), 1379486300: ('0.02821420357304269',), 1379486296: ('0.02821420357304269',), 1379486290: ('0.02821420357304269',), 1379486276: ('0.02821420357304269',)} new output for save of step final : {1379486417: ('0.02821420357304269',), 1379486415: ('0.02821420357304269',), 1379486409: ('0.02821420357304269',), 1379486397: ('0.02821420357304269',), 1379486389: ('0.02821420357304269',), 1379486364: ('0.02821420357304269',), 1379486358: ('0.02821420357304269',), 1379486338: ('0.02821420357304269',), 1379486335: ('0.02821420357304269',), 1379486328: ('0.02821420357304269',), 1379486327: ('0.02821420357304269',), 1379486325: ('0.02821420357304269',), 1379486323: ('0.02821420357304269',), 1379486314: ('0.02821420357304269',), 1379486311: ('0.02821420357304269',), 1379486305: ('0.02821420357304269',), 1379486304: ('0.02821420357304269',), 1379486302: ('0.02821420357304269',), 1379486300: ('0.02821420357304269',), 1379486296: ('0.02821420357304269',), 1379486290: ('0.02821420357304269',), 1379486276: ('0.02821420357304269',)} [1379486417, 1379486415, 1379486409, 1379486397, 1379486389, 1379486364, 1379486358, 1379486338, 1379486335, 1379486328, 1379486327, 1379486325, 1379486323, 1379486314, 1379486311, 1379486305, 1379486304, 1379486302, 1379486300, 1379486296, 1379486290, 1379486276] Looping around the photos to save general results len do output : 22 /1379486417.Didn't retrieve data . /1379486415.Didn't retrieve data . /1379486409.Didn't retrieve data . /1379486397.Didn't retrieve data . /1379486389.Didn't retrieve data . /1379486364.Didn't retrieve data . /1379486358.Didn't retrieve data . /1379486338.Didn't retrieve data . /1379486335.Didn't retrieve data . /1379486328.Didn't retrieve data . /1379486327.Didn't retrieve data . /1379486325.Didn't retrieve data . /1379486323.Didn't retrieve data . /1379486314.Didn't retrieve data . /1379486311.Didn't retrieve data . /1379486305.Didn't retrieve data . /1379486304.Didn't retrieve data . /1379486302.Didn't retrieve data . /1379486300.Didn't retrieve data . /1379486296.Didn't retrieve data . /1379486290.Didn't retrieve data . /1379486276.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, '4333744') ('4250', '26242573', '1379486417', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486415', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486409', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486397', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486389', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486364', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486358', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486338', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486335', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486328', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486327', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486325', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486323', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486314', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486311', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486305', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486304', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486302', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486300', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486296', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486290', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486276', None, None, None, None, None, '4333744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.01978611946105957 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.05187559127807617 time spend to save output : 0.05596613883972168 total time spend for step 5 : 0.10784173011779785 step6:blur_detection Thu Jan 22 09:28: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.012803792953491211 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.02664470672607422 save missing photos in datou_result : time spend for datou_step_exec : 0.02993011474609375 time spend to save output : 0.04510641098022461 total time spend for step 6 : 0.07503652572631836 step7:brightness Thu Jan 22 09:28: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.012612342834472656 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.011934995651245117 save missing photos in datou_result : time spend for datou_step_exec : 0.03662562370300293 time spend to save output : 0.03037548065185547 total time spend for step 7 : 0.0670011043548584 step8:send_mail_cod Thu Jan 22 09:28: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_P26242573_22-01-2026_09_28_41.pdf 26247929 imagette262479291769070521 26247930 imagette262479301769070521 26247932 imagette262479321769070521 26247933 imagette262479331769070521 26247934 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 .imagette262479341769070521 26247936 imagette262479361769070524 26247937 change filename to text .imagette262479371769070524 26247938 change filename to text .change filename to text .imagette262479381769070524 26247941 imagette262479411769070524 26247942 change filename to text .imagette262479421769070524 26247943 change filename to text .change filename to text .change filename to text .imagette262479431769070524 26247944 imagette262479441769070525 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26242573 and hashtag_type = 4207 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26247929,26247930,26247931,26247932,26247933,26247934,26247935,26247936,26247937,26247938,26247939,26247940,26247941,26247942,26247943,26247944?tags=ela,pehd,carton,metal,pet_opaque,papier,environnement,pet_clair,barquette_opaque,kraft,flou,mal_croppe,pet_fonce,etiquette,film_plastique,textiles_sanitaires your option no_mail is active, we will not send the real mail to your client args[1379486417] : ((1379486417, -6.1485943031465915, 492609224), (1379486417, -0.22430485101278305, 496442774), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486415] : ((1379486415, -7.010778766793603, 492609224), (1379486415, 0.6362237633344867, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486409] : ((1379486409, -6.993666301794564, 492609224), (1379486409, 0.4446514112581469, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486397] : ((1379486397, -6.887789090227619, 492609224), (1379486397, 0.37308836217838537, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486389] : ((1379486389, -7.109208935109054, 492609224), (1379486389, 0.40494719958849806, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486364] : ((1379486364, -6.997238245394751, 492609224), (1379486364, 0.1735274033296315, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486358] : ((1379486358, -7.140310875037086, 492609224), (1379486358, -0.024090451756220127, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486338] : ((1379486338, -7.053889920415153, 492609224), (1379486338, 0.8279792205339792, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486335] : ((1379486335, -6.921010374888319, 492609224), (1379486335, 0.18255941370786238, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486328] : ((1379486328, -7.129829029571861, 492609224), (1379486328, 0.19480968682955074, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486327] : ((1379486327, -7.074168792624789, 492609224), (1379486327, 0.07949006496735986, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486325] : ((1379486325, -7.304694393760674, 492609224), (1379486325, 0.13672255067787756, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486323] : ((1379486323, -7.278166130373971, 492609224), (1379486323, 0.1612505331099455, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486314] : ((1379486314, -7.0152514206535, 492609224), (1379486314, 0.11199386879618367, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486311] : ((1379486311, -7.456639420647262, 492609224), (1379486311, 0.6626357656576886, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486305] : ((1379486305, -7.006214649453531, 492609224), (1379486305, 0.49022125155795526, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486304] : ((1379486304, -7.17511737844298, 492609224), (1379486304, 0.23260891524724894, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486302] : ((1379486302, -7.452299700179698, 492609224), (1379486302, 0.5625841920809004, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486300] : ((1379486300, -6.743488755596219, 492609224), (1379486300, -0.05351956980076555, 2107752395), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486296] : ((1379486296, -6.415925732236743, 492609224), (1379486296, -0.2999465739810813, 496442774), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486290] : ((1379486290, -6.33533929948431, 492609224), (1379486290, -0.37038086627399275, 496442774), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com args[1379486276] : ((1379486276, -6.239505374215845, 492609224), (1379486276, -0.2710910307687258, 496442774), '0.02821420357304269') We are sending mail with results at kexin@fotonower.com refus_total : 0.02821420357304269 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=26242573 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_P26242573_22-01-2026_09_28_41.pdf results_COD_P26242573_22-01-2026_09_28_41.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26242573_22-01-2026_09_28_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','26242573','results_COD_P26242573_22-01-2026_09_28_41.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26242573_22-01-2026_09_28_41.pdf','pdf','','0.9','0.02821420357304269') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1379486417, 1379486415, 1379486409, 1379486397, 1379486389, 1379486364, 1379486358, 1379486338, 1379486335, 1379486328, 1379486327, 1379486325, 1379486323, 1379486314, 1379486311, 1379486305, 1379486304, 1379486302, 1379486300, 1379486296, 1379486290, 1379486276] 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, '4333744') ('4250', '26242573', '1379486417', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486415', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486409', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486397', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486389', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486364', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486358', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486338', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486335', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486328', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486327', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486325', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486323', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486314', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486311', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486305', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486304', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486302', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486300', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486296', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486290', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486276', None, None, None, None, None, '4333744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 time used for this insertion : 0.028640031814575195 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.636260747909546 time spend to save output : 0.02903008460998535 total time spend for step 8 : 7.665290832519531 step9:split_time_score Thu Jan 22 09:28: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'}] (('17', 22),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26082025 26242573 Nombre de photos uploadées : 22 / 23040 (0%) 26082025 26242573 Nombre de photos taguées (types de déchets): 0 / 22 (0%) 26082025 26242573 Nombre de photos taguées (volume) : 0 / 22 (0%) elapsed_time : load_data_split_time_score 4.291534423828125e-06 elapsed_time : order_list_meta_photo_and_scores 1.1444091796875e-05 ?????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011150836944580078 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.26365232467651367 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_P26226692_26-08-2025_10_02_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226692 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225017_26-08-2025_13_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225017 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225017_26-08-2025_13_17_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225017 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223817_26-08-2025_10_52_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223817 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223818_26-08-2025_07_38_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223818 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26223819_26-08-2025_07_28_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26223819 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225018_26-08-2025_08_55_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225018 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225019_26-08-2025_13_29_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225019 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225019_26-08-2025_13_29_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225019 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225021_26-08-2025_09_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225021 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26225023_26-08-2025_08_18_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26225023 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226072_26-08-2025_09_31_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226072 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226075_26-08-2025_13_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226075 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226075_26-08-2025_13_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226075 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226077_26-08-2025_09_25_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226077 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226079_27-08-2025_00_41_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226079 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226694_26-08-2025_09_55_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226694 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226696_26-08-2025_09_42_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226696 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26226698_26-08-2025_09_51_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26226698 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232481_26-08-2025_14_22_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26232481 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232482_26-08-2025_14_43_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26232482 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231093_26-08-2025_23_24_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231093 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231093_26-08-2025_23_24_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231093 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229423_26-08-2025_19_09_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26229423 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228681_26-08-2025_20_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26228681 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228681_26-08-2025_20_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26228681 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228683_26-08-2025_11_11_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26228683 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26228685_26-08-2025_11_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26228685 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229424_26-08-2025_12_07_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26229424 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229425_26-08-2025_19_20_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26229425 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229425_26-08-2025_19_20_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26229425 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26229426_26-08-2025_11_50_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26229426 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231094_26-08-2025_12_52_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231094 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231095_26-08-2025_12_50_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231095 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231096_26-08-2025_12_58_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231096 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231097_26-08-2025_19_56_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231097 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231549_26-08-2025_13_22_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231549 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231550_26-08-2025_13_21_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231550 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231551_26-08-2025_13_29_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231551 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231552_26-08-2025_23_59_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231552 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26231552_26-08-2025_23_59_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26231552 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232484_26-08-2025_14_24_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26232484 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232486_26-08-2025_14_17_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26232486 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232488_26-08-2025_14_28_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26232488 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232490_27-08-2025_00_11_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26232490 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26232490_27-08-2025_00_11_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26232490 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233552_26-08-2025_16_02_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26233552 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26233553_26-08-2025_15_12_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26233553 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26237649_26-08-2025_18_31_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26237649 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26237651_27-08-2025_01_19_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26237651 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26237651_27-08-2025_01_19_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26237651 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26237654_27-08-2025_01_34_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26237654 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236408_26-08-2025_17_25_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26236408 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236410_26-08-2025_17_15_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26236410 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236413_26-08-2025_17_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26236413 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235477_26-08-2025_17_21_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235477 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235479_26-08-2025_21_49_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235479 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235479_26-08-2025_21_49_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235479 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235481_26-08-2025_16_43_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235481 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235483_26-08-2025_16_42_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235483 order by id desc limit 1 Qualite : 0.15132260588134427 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235484_26-08-2025_16_46_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235484 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`=26235484 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235486_26-08-2025_21_53_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235486 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26235488_26-08-2025_16_55_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26235488 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236416_26-08-2025_22_07_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26236416 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236416_26-08-2025_22_07_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26236416 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236418_26-08-2025_17_12_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26236418 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236421_26-08-2025_17_26_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26236421 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26236424_26-08-2025_17_21_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26236424 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26237656_26-08-2025_18_31_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26237656 order by id desc limit 1 Qualite : 0.11481288499840314 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26237657_15-01-2026_13_24_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26237657 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 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 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 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 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 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`=26237657 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26247334_27-08-2025_00_12_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26247334 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26242573_22-01-2026_09_28_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26242573 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26242573_22-01-2026_09_28_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26242573 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26242576_26-08-2025_21_16_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26242576 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241020_26-08-2025_20_34_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26241020 order by id desc limit 1 Qualite : 0.12171870203229908 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26240298_21-01-2026_10_38_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26240298 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 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 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 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 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 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`=26240298 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240300_26-08-2025_19_48_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26240300 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240302_26-08-2025_20_06_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26240302 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240304_27-08-2025_01_41_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26240304 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26240304_27-08-2025_01_41_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26240304 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241022_26-08-2025_20_26_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26241022 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241024_26-08-2025_20_22_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26241024 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241026_26-08-2025_20_28_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26241026 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241027_27-08-2025_01_51_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26241027 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26241027_27-08-2025_01_51_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26241027 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26082025': {'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 [1379486417, 1379486415, 1379486409, 1379486397, 1379486389, 1379486364, 1379486358, 1379486338, 1379486335, 1379486328, 1379486327, 1379486325, 1379486323, 1379486314, 1379486311, 1379486305, 1379486304, 1379486302, 1379486300, 1379486296, 1379486290, 1379486276] Looping around the photos to save general results len do output : 1 /26242573Didn'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, '4333744') ('4250', '26242573', '1379486417', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486415', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486409', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486397', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486389', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486364', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486358', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486338', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486335', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486328', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486327', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486325', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486323', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486314', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486311', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486305', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486304', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486302', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486300', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486296', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486290', None, None, None, None, None, '4333744') ('4250', None, None, None, None, None, None, None, '4333744') ('4250', '26242573', '1379486276', None, None, None, None, None, '4333744') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.020554542541503906 save_final save missing photos in datou_result : time spend for datou_step_exec : 59.976147413253784 time spend to save output : 0.02090287208557129 total time spend for step 9 : 59.997050285339355 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.02user 2.13system 1:23.81elapsed 9%CPU (0avgtext+0avgdata 206968maxresident)k 11456inputs+79312outputs (23major+135198minor)pagefaults 0swaps