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 : 366500 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 : ['3794076'] with mtr_portfolio_ids : ['25207435'] and first list_photo_ids : [] new path : /proc/366500/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 4.86391019821167 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Tue Sep 30 17:04:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 58 chid ids of type : 4207 batch 1 Loaded 159 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 [1373278305, 1373278300, 1373278287, 1373278284, 1373278280, 1373278276, 1373278264, 1373278250, 1373278072, 1373278068, 1373278067, 1373278065, 1373278048, 1373278043, 1373278040, 1373278037, 1373278035, 1373278032, 1373278022, 1373278017] Looping around the photos to save general results len do output : 20 /1373278017Didn't retrieve data . /1373278022Didn't retrieve data . /1373278032Didn't retrieve data . /1373278035Didn't retrieve data . /1373278037Didn't retrieve data . /1373278040Didn't retrieve data . /1373278043Didn't retrieve data . /1373278048Didn't retrieve data . /1373278065Didn't retrieve data . /1373278067Didn't retrieve data . /1373278068Didn't retrieve data . /1373278072Didn't retrieve data . /1373278250Didn't retrieve data . /1373278264Didn't retrieve data . /1373278276Didn't retrieve data . /1373278280Didn't retrieve data . /1373278284Didn't retrieve data . /1373278287Didn't retrieve data . /1373278300Didn't retrieve data . /1373278305Didn'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, '3794076') ('4250', '25207435', '1373278305', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278300', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278287', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278284', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278280', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278276', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278264', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278250', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278072', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278068', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278067', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278065', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278048', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278043', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278040', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278037', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278035', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278032', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278022', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278017', None, None, None, None, None, '3794076') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 time used for this insertion : 0.04438495635986328 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2459239959716797 time spend to save output : 0.0451357364654541 total time spend for step 1 : 0.2910597324371338 step2:consolidate_hashtags_from_manual_portfolio Tue Sep 30 17:04:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 25207435 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`=25207435 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`=25207435 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`=25207435 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=25226739 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 101 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 : 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=25226740 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=25226741 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=25226742 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 21 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25226743 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=25226744 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=25226745 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 159 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 : 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=25226746 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 10 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=25226747 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 28 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 : 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=25226748 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=25226749 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=25226750 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=25226751 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=25226752 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=25226753 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=25226754 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=27356875 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 [1373278305, 1373278300, 1373278287, 1373278284, 1373278280, 1373278276, 1373278264, 1373278250, 1373278072, 1373278068, 1373278067, 1373278065, 1373278048, 1373278043, 1373278040, 1373278037, 1373278035, 1373278032, 1373278022, 1373278017] 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 : 20 time used for this insertion : 0.03667140007019043 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.727402210235596 time spend to save output : 0.03693962097167969 total time spend for step 2 : 6.764341831207275 step3:rle_unique_nms_with_priority Tue Sep 30 17:04:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 135 chid ids of type : 4207 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.10123133659362793 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.10483670234680176 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.10498213768005371 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.10160422325134277 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.10181331634521484 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.10091495513916016 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.10196781158447266 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10246610641479492 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.1009829044342041 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10212302207946777 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.1035470962524414 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.10018396377563477 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10315966606140137 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.10068678855895996 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1026754379272461 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.10133194923400879 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.10169053077697754 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.10076212882995605 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10055279731750488 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.10148072242736816 map_output_result : {1373278305: (0.0, 'Should be the crop_list due to order', 0), 1373278300: (0.0, 'Should be the crop_list due to order', 0), 1373278287: (0.0, 'Should be the crop_list due to order', 0), 1373278284: (0.0, 'Should be the crop_list due to order', 0), 1373278280: (0.0, 'Should be the crop_list due to order', 0), 1373278276: (0.0, 'Should be the crop_list due to order', 0), 1373278264: (0.0, 'Should be the crop_list due to order', 0), 1373278250: (0.0, 'Should be the crop_list due to order', 0), 1373278072: (0.0, 'Should be the crop_list due to order', 0), 1373278068: (0.0, 'Should be the crop_list due to order', 0), 1373278067: (0.0, 'Should be the crop_list due to order', 0), 1373278065: (0.0, 'Should be the crop_list due to order', 0), 1373278048: (0.0, 'Should be the crop_list due to order', 0), 1373278043: (0.0, 'Should be the crop_list due to order', 0), 1373278040: (0.0, 'Should be the crop_list due to order', 0), 1373278037: (0.0, 'Should be the crop_list due to order', 0), 1373278035: (0.0, 'Should be the crop_list due to order', 0), 1373278032: (0.0, 'Should be the crop_list due to order', 0), 1373278022: (0.0, 'Should be the crop_list due to order', 0), 1373278017: (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 [1373278305, 1373278300, 1373278287, 1373278284, 1373278280, 1373278276, 1373278264, 1373278250, 1373278072, 1373278068, 1373278067, 1373278065, 1373278048, 1373278043, 1373278040, 1373278037, 1373278035, 1373278032, 1373278022, 1373278017] Looping around the photos to save general results len do output : 20 /1373278305.Didn't retrieve data . /1373278300.Didn't retrieve data . /1373278287.Didn't retrieve data . /1373278284.Didn't retrieve data . /1373278280.Didn't retrieve data . /1373278276.Didn't retrieve data . /1373278264.Didn't retrieve data . /1373278250.Didn't retrieve data . /1373278072.Didn't retrieve data . /1373278068.Didn't retrieve data . /1373278067.Didn't retrieve data . /1373278065.Didn't retrieve data . /1373278048.Didn't retrieve data . /1373278043.Didn't retrieve data . /1373278040.Didn't retrieve data . /1373278037.Didn't retrieve data . /1373278035.Didn't retrieve data . /1373278032.Didn't retrieve data . /1373278022.Didn't retrieve data . /1373278017.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, '3794076') ('4250', '25207435', '1373278305', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278300', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278287', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278284', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278280', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278276', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278264', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278250', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278072', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278068', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278067', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278065', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278048', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278043', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278040', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278037', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278035', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278032', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278022', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278017', None, None, None, None, None, '3794076') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.03687787055969238 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.029956340789795 time spend to save output : 0.037705421447753906 total time spend for step 3 : 6.067661762237549 step4:ventilate_hashtags_in_portfolio Tue Sep 30 17:04:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 25207435 get user id for portfolio 25207435 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`=25207435 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`=25207435 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/25226739,25226740,25226741,25226742,25226743,25226744,25226745,25226746,25226747,25226748,25226749,25226750,25226751,25226752,25226753,25226754?tags=papier,flou,etiquette,pet_opaque,textiles_sanitaires,pet_fonce,carton,kraft,mal_croppe,film_plastique,barquette_opaque,environnement,ela,pet_clair,pehd,metal Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1373278305, 1373278300, 1373278287, 1373278284, 1373278280, 1373278276, 1373278264, 1373278250, 1373278072, 1373278068, 1373278067, 1373278065, 1373278048, 1373278043, 1373278040, 1373278037, 1373278035, 1373278032, 1373278022, 1373278017] Looping around the photos to save general results len do output : 1 /25207435. 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, '3794076') ('4250', '25207435', '1373278305', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278300', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278287', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278284', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278280', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278276', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278264', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278250', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278072', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278068', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278067', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278065', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278048', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278043', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278040', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278037', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278035', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278032', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278022', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278017', None, None, None, None, None, '3794076') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.03688454627990723 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2522783279418945 time spend to save output : 0.03725314140319824 total time spend for step 4 : 1.2895314693450928 step5:final Tue Sep 30 17:04:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1373278305: ('0.024816207876944295',), 1373278300: ('0.024816207876944295',), 1373278287: ('0.024816207876944295',), 1373278284: ('0.024816207876944295',), 1373278280: ('0.024816207876944295',), 1373278276: ('0.024816207876944295',), 1373278264: ('0.024816207876944295',), 1373278250: ('0.024816207876944295',), 1373278072: ('0.024816207876944295',), 1373278068: ('0.024816207876944295',), 1373278067: ('0.024816207876944295',), 1373278065: ('0.024816207876944295',), 1373278048: ('0.024816207876944295',), 1373278043: ('0.024816207876944295',), 1373278040: ('0.024816207876944295',), 1373278037: ('0.024816207876944295',), 1373278035: ('0.024816207876944295',), 1373278032: ('0.024816207876944295',), 1373278022: ('0.024816207876944295',), 1373278017: ('0.024816207876944295',)} new output for save of step final : {1373278305: ('0.024816207876944295',), 1373278300: ('0.024816207876944295',), 1373278287: ('0.024816207876944295',), 1373278284: ('0.024816207876944295',), 1373278280: ('0.024816207876944295',), 1373278276: ('0.024816207876944295',), 1373278264: ('0.024816207876944295',), 1373278250: ('0.024816207876944295',), 1373278072: ('0.024816207876944295',), 1373278068: ('0.024816207876944295',), 1373278067: ('0.024816207876944295',), 1373278065: ('0.024816207876944295',), 1373278048: ('0.024816207876944295',), 1373278043: ('0.024816207876944295',), 1373278040: ('0.024816207876944295',), 1373278037: ('0.024816207876944295',), 1373278035: ('0.024816207876944295',), 1373278032: ('0.024816207876944295',), 1373278022: ('0.024816207876944295',), 1373278017: ('0.024816207876944295',)} [1373278305, 1373278300, 1373278287, 1373278284, 1373278280, 1373278276, 1373278264, 1373278250, 1373278072, 1373278068, 1373278067, 1373278065, 1373278048, 1373278043, 1373278040, 1373278037, 1373278035, 1373278032, 1373278022, 1373278017] Looping around the photos to save general results len do output : 20 /1373278305.Didn't retrieve data . /1373278300.Didn't retrieve data . /1373278287.Didn't retrieve data . /1373278284.Didn't retrieve data . /1373278280.Didn't retrieve data . /1373278276.Didn't retrieve data . /1373278264.Didn't retrieve data . /1373278250.Didn't retrieve data . /1373278072.Didn't retrieve data . /1373278068.Didn't retrieve data . /1373278067.Didn't retrieve data . /1373278065.Didn't retrieve data . /1373278048.Didn't retrieve data . /1373278043.Didn't retrieve data . /1373278040.Didn't retrieve data . /1373278037.Didn't retrieve data . /1373278035.Didn't retrieve data . /1373278032.Didn't retrieve data . /1373278022.Didn't retrieve data . /1373278017.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, '3794076') ('4250', '25207435', '1373278305', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278300', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278287', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278284', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278280', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278276', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278264', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278250', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278072', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278068', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278067', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278065', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278048', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278043', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278040', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278037', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278035', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278032', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278022', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278017', None, None, None, None, None, '3794076') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.038507938385009766 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13039565086364746 time spend to save output : 0.03951692581176758 total time spend for step 5 : 0.16991257667541504 step6:blur_detection Tue Sep 30 17:04:48 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection 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 : 20 time used for this insertion : 0.03485584259033203 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.03616023063659668 save missing photos in datou_result : time spend for datou_step_exec : 0.08578085899353027 time spend to save output : 0.08812117576599121 total time spend for step 6 : 0.17390203475952148 step7:brightness Tue Sep 30 17:04:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness 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 : 20 time used for this insertion : 0.034219980239868164 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.03409910202026367 save missing photos in datou_result : time spend for datou_step_exec : 0.10148024559020996 time spend to save output : 0.08527135848999023 total time spend for step 7 : 0.1867516040802002 step8:send_mail_cod Tue Sep 30 17:04:49 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_COD_P25207435_30-09-2025_17_04_49.pdf 25226739 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 .imagette252267391759244689 25226741 imagette252267411759244692 25226742 change filename to text .change filename to text .change filename to text .imagette252267421759244692 25226743 imagette252267431759244692 25226744 imagette252267441759244692 25226746 change filename to text .imagette252267461759244692 25226748 imagette252267481759244692 25226749 imagette252267491759244692 25226751 imagette252267511759244692 25226752 imagette252267521759244693 25226753 imagette252267531759244693 25226754 change filename to text .imagette252267541759244693 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25207435 and hashtag_type = 4207 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25226739,25226740,25226741,25226742,25226743,25226744,25226745,25226746,25226747,25226748,25226749,25226750,25226751,25226752,25226753,25226754?tags=papier,flou,etiquette,pet_opaque,textiles_sanitaires,pet_fonce,carton,kraft,mal_croppe,film_plastique,barquette_opaque,environnement,ela,pet_clair,pehd,metal your option no_mail is active, we will not send the real mail to your client args[1373278305] : ((1373278305, -7.0261237683934645, 492609224), (1373278305, -0.20603600203201775, 496442774), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278300] : ((1373278300, -6.896150097639289, 492609224), (1373278300, -0.055998535124066905, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278287] : ((1373278287, -7.541007082904688, 492609224), (1373278287, 0.3754352969744045, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278284] : ((1373278284, -7.560890746480681, 492609224), (1373278284, 0.355943206485839, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278280] : ((1373278280, -7.180059458197286, 492609224), (1373278280, 0.695443267824936, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278276] : ((1373278276, -7.076041041516828, 492609224), (1373278276, 0.09925431614552627, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278264] : ((1373278264, -6.984958641236817, 492609224), (1373278264, 0.276494391643569, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278250] : ((1373278250, -7.125745558261424, 492609224), (1373278250, 0.09839769231713938, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278072] : ((1373278072, -7.179745592984202, 492609224), (1373278072, -0.1435518055015906, 496442774), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278068] : ((1373278068, -6.924921045830275, 492609224), (1373278068, -0.08969087688591747, 496442774), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278067] : ((1373278067, -6.9284616313236125, 492609224), (1373278067, 0.10805377383100566, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278065] : ((1373278065, -7.155701330238932, 492609224), (1373278065, 0.7084953190020168, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278048] : ((1373278048, -7.204038949243405, 492609224), (1373278048, 0.28008636909214296, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278043] : ((1373278043, -7.423601187738426, 492609224), (1373278043, 0.3248319474392245, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278040] : ((1373278040, -7.065643417459609, 492609224), (1373278040, 0.7106158280326065, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278037] : ((1373278037, -7.129911892175388, 492609224), (1373278037, 0.35196162497825506, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278035] : ((1373278035, -7.231487384526419, 492609224), (1373278035, 0.37249527847741004, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278032] : ((1373278032, -7.230176112882919, 492609224), (1373278032, 0.4955386917478907, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278022] : ((1373278022, -7.225372600166265, 492609224), (1373278022, 0.3392566866743836, 2107752395), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com args[1373278017] : ((1373278017, -3.9861113940663495, 492609224), (1373278017, -1.6970339319587373, 501862349), '0.024816207876944295') We are sending mail with results at kexin@fotonower.com refus_total : 0.024816207876944295 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=25207435 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_P25207435_30-09-2025_17_04_49.pdf results_COD_P25207435_30-09-2025_17_04_49.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25207435_30-09-2025_17_04_49.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','25207435','results_COD_P25207435_30-09-2025_17_04_49.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25207435_30-09-2025_17_04_49.pdf','pdf','','0.87','0.024816207876944295') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1373278305, 1373278300, 1373278287, 1373278284, 1373278280, 1373278276, 1373278264, 1373278250, 1373278072, 1373278068, 1373278067, 1373278065, 1373278048, 1373278043, 1373278040, 1373278037, 1373278035, 1373278032, 1373278022, 1373278017] 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, '3794076') ('4250', '25207435', '1373278305', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278300', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278287', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278284', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278280', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278276', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278264', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278250', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278072', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278068', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278067', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278065', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278048', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278043', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278040', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278037', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278035', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278032', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278022', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278017', None, None, None, None, None, '3794076') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03723335266113281 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.9079155921936035 time spend to save output : 0.03757619857788086 total time spend for step 8 : 7.945491790771484 step9:split_time_score Tue Sep 30 17:04:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('06', 20),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 23072025 25207435 Nombre de photos uploadées : 20 / 23040 (0%) 23072025 25207435 Nombre de photos taguées (types de déchets): 0 / 20 (0%) 23072025 25207435 Nombre de photos taguées (volume) : 0 / 20 (0%) elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 7.152557373046875e-06 ???????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0010504722595214844 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6632840633392334 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_P25206373_23-07-2025_07_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25206373 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25206376_23-07-2025_10_55_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25206376 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25206378_24-07-2025_03_52_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25206378 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25206378_24-07-2025_03_52_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25206378 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25206380_23-07-2025_11_02_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25206380 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25207433_23-07-2025_11_21_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25207433 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25207435_30-09-2025_17_04_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25207435 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25207435_30-09-2025_17_04_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25207435 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25207437_23-07-2025_07_47_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25207437 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25209853_23-07-2025_09_19_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25209853 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25209855_23-07-2025_18_05_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25209855 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25209869_23-07-2025_08_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25209869 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25209883_23-07-2025_08_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25209883 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25211235_23-07-2025_18_34_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25211235 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25211235_23-07-2025_18_34_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25211235 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25211237_23-07-2025_09_31_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25211237 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25211251_23-07-2025_18_37_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25211251 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25211251_23-07-2025_18_37_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25211251 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25214067_23-07-2025_10_22_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25214067 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25214069_23-07-2025_10_19_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25214069 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25214071_23-07-2025_10_22_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25214071 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25214085_02-09-2025_14_18_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25214085 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25214085_02-09-2025_14_18_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25214085 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25214093_23-07-2025_10_44_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25214093 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25236149_24-07-2025_00_10_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25236149 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25223393_23-07-2025_14_21_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25223393 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25221177_23-07-2025_19_27_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25221177 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25221177_23-07-2025_19_27_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25221177 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25220198_23-07-2025_12_54_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25220198 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25217994_23-07-2025_11_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25217994 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25217996_23-07-2025_16_11_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25217996 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25217996_23-07-2025_16_11_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25217996 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25217999_23-07-2025_12_16_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25217999 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25220201_23-07-2025_12_49_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25220201 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25220203_23-07-2025_12_52_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25220203 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25220204_23-07-2025_13_05_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25220204 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25220206_23-07-2025_12_51_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25220206 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25221178_24-07-2025_04_33_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25221178 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25221178_24-07-2025_04_33_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25221178 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25221179_23-07-2025_17_49_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25221179 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25221180_23-07-2025_13_13_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25221180 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25223395_23-07-2025_14_27_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25223395 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25223397_23-07-2025_20_07_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25223397 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25223397_23-07-2025_20_07_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25223397 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25223399_23-07-2025_14_26_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25223399 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25223409_23-07-2025_14_11_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25223409 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25223421_23-07-2025_14_24_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25223421 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25236151_23-07-2025_22_18_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25236151 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25236153_23-07-2025_20_55_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25236153 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25229988_23-07-2025_17_13_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25229988 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25226911_23-07-2025_20_20_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25226911 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25226911_23-07-2025_20_20_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25226911 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25226912_23-07-2025_16_11_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25226912 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25226914_23-07-2025_18_43_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25226914 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25226914_23-07-2025_18_43_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25226914 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25226916_23-07-2025_15_47_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25226916 order by id desc limit 1 Qualite : 0.17435951766653815 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25227894_23-07-2025_16_19_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25227894 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`=25227894 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25227895_23-07-2025_16_09_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25227895 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25227895_23-07-2025_16_09_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25227895 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25232014_23-07-2025_18_54_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25232014 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25232016_23-07-2025_19_58_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25232016 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25232016_23-07-2025_19_58_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25232016 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25232018_23-07-2025_18_12_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25232018 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25232019_23-07-2025_18_21_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25232019 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25232021_23-07-2025_18_20_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25232021 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25233133_23-07-2025_18_47_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25233133 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25233135_23-07-2025_18_55_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25233135 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25233137_04-09-2025_09_39_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25233137 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25233137_04-09-2025_09_39_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25233137 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25233139_23-07-2025_19_00_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25233139 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25233153_23-07-2025_18_39_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25233153 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25233153_23-07-2025_18_39_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25233153 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25235113_23-07-2025_19_49_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25235113 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25235114_23-07-2025_19_46_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25235114 order by id desc limit 1 Qualite : 0.09801489559220684 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25235115_23-07-2025_21_15_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25235115 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`=25235115 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25235116_23-07-2025_19_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25235116 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25235116_23-07-2025_19_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25235116 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25235129_24-07-2025_04_30_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25235129 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25236155_23-07-2025_20_51_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25236155 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25236157_23-07-2025_20_21_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25236157 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25236159_23-07-2025_20_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25236159 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25236161_24-07-2025_03_13_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25236161 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25236162_23-07-2025_21_29_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25236162 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25236162_23-07-2025_21_29_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25236162 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25237305_23-07-2025_20_52_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25237305 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25247516_24-07-2025_01_18_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25247516 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25246041_24-07-2025_02_29_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25246041 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25246041_24-07-2025_02_29_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25246041 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25246043_24-07-2025_00_17_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25246043 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25241825_23-07-2025_22_40_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25241825 order by id desc limit 1 Qualite : 0.005143545376363646 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25240380_30-09-2025_14_07_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25240380 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25240380 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25240382_24-07-2025_02_43_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25240382 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25240382_24-07-2025_02_43_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25240382 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25240385_23-07-2025_22_22_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25240385 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25240403_23-07-2025_22_21_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25240403 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25240407_24-07-2025_02_49_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25240407 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25240427_24-07-2025_02_53_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25240427 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25240427_24-07-2025_02_53_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25240427 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'23072025': {'nb_upload': 20, '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 [1373278305, 1373278300, 1373278287, 1373278284, 1373278280, 1373278276, 1373278264, 1373278250, 1373278072, 1373278068, 1373278067, 1373278065, 1373278048, 1373278043, 1373278040, 1373278037, 1373278035, 1373278032, 1373278022, 1373278017] Looping around the photos to save general results len do output : 1 /25207435Didn'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, '3794076') ('4250', '25207435', '1373278305', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278300', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278287', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278284', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278280', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278276', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278264', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278250', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278072', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278068', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278067', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278065', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278048', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278043', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278040', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278037', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278035', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278032', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278022', None, None, None, None, None, '3794076') ('4250', None, None, None, None, None, None, None, '3794076') ('4250', '25207435', '1373278017', None, None, None, None, None, '3794076') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.06899666786193848 save_final save missing photos in datou_result : time spend for datou_step_exec : 36.94703388214111 time spend to save output : 0.0693354606628418 total time spend for step 9 : 37.016369342803955 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 20 set_done_treatment 5.79user 2.08system 1:08.80elapsed 11%CPU (0avgtext+0avgdata 222576maxresident)k 4984inputs+75288outputs (2major+179326minor)pagefaults 0swaps