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 : 3320729 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 : ['4333378'] with mtr_portfolio_ids : ['25667488'] and first list_photo_ids : [] new path : /proc/3320729/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 4.29164719581604 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Wed Jan 21 11:56:32 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 57 chid ids of type : 4207 batch 1 Loaded 123 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 [1375207621, 1375207564, 1375207545, 1375207542, 1375207541, 1375207538, 1375207204, 1375207172, 1375207140, 1375207131, 1375207129, 1375207127, 1375207115, 1375207113, 1375207110, 1375207108, 1375207106, 1375207104] Looping around the photos to save general results len do output : 18 /1375207621Didn't retrieve data . /1375207564Didn't retrieve data . /1375207545Didn't retrieve data . /1375207542Didn't retrieve data . /1375207541Didn't retrieve data . /1375207538Didn't retrieve data . /1375207204Didn't retrieve data . /1375207172Didn't retrieve data . /1375207140Didn't retrieve data . /1375207131Didn't retrieve data . /1375207129Didn't retrieve data . /1375207127Didn't retrieve data . /1375207115Didn't retrieve data . /1375207113Didn't retrieve data . /1375207110Didn't retrieve data . /1375207108Didn't retrieve data . /1375207106Didn't retrieve data . /1375207104Didn'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, '4333378') ('4250', '25667488', '1375207621', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207564', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207545', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207542', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207541', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207538', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207204', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207172', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207140', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207131', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207129', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207127', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207115', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207113', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207110', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207108', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207106', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207104', None, None, None, None, None, '4333378') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.022612571716308594 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10199379920959473 time spend to save output : 0.023203611373901367 total time spend for step 1 : 0.1251974105834961 step2:consolidate_hashtags_from_manual_portfolio Wed Jan 21 11:56:32 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 25667488 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`=25667488 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`=25667488 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`=25667488 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=25670147 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=25670148 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=25670149 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=25670150 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=25670151 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=25670152 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 89 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=25670153 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=25670154 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=25670155 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=25670156 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=25670157 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 123 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 : 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=25670158 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 14 chid ids of type : 4207 begin to find the sub_photo_id : 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=25670159 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=25670160 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=25670161 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=25670162 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=30172539 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 [1375207621, 1375207564, 1375207545, 1375207542, 1375207541, 1375207538, 1375207204, 1375207172, 1375207140, 1375207131, 1375207129, 1375207127, 1375207115, 1375207113, 1375207110, 1375207108, 1375207106, 1375207104] 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 : 18 time used for this insertion : 0.018851518630981445 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.8949968814849854 time spend to save output : 0.019034147262573242 total time spend for step 2 : 1.9140310287475586 step3:rle_unique_nms_with_priority Wed Jan 21 11:56:34 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 104 chid ids of type : 4207 seulement à utiliser dans la step consolidation batch 1 Loaded 3 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030994176864624023 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.03303647041320801 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.03324747085571289 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.03216099739074707 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.03390789031982422 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.03358340263366699 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.03354310989379883 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.031109333038330078 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.035291194915771484 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.03217291831970215 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.03304648399353027 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.031894683837890625 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.032414913177490234 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.03321385383605957 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.03282523155212402 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03255939483642578 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.032536983489990234 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.03114795684814453 map_output_result : {1375207621: (0.0, 'Should be the crop_list due to order', 0), 1375207564: (0.0, 'Should be the crop_list due to order', 0), 1375207545: (0.0, 'Should be the crop_list due to order', 0), 1375207542: (0.0, 'Should be the crop_list due to order', 0), 1375207541: (0.0, 'Should be the crop_list due to order', 0), 1375207538: (0.0, 'Should be the crop_list due to order', 0), 1375207204: (0.0, 'Should be the crop_list due to order', 0), 1375207172: (0.0, 'Should be the crop_list due to order', 0), 1375207140: (0.0, 'Should be the crop_list due to order', 0), 1375207131: (0.0, 'Should be the crop_list due to order', 0), 1375207129: (0.0, 'Should be the crop_list due to order', 0), 1375207127: (0.0, 'Should be the crop_list due to order', 0), 1375207115: (0.0, 'Should be the crop_list due to order', 0), 1375207113: (0.0, 'Should be the crop_list due to order', 0), 1375207110: (0.0, 'Should be the crop_list due to order', 0), 1375207108: (0.0, 'Should be the crop_list due to order', 0), 1375207106: (0.0, 'Should be the crop_list due to order', 0), 1375207104: (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 [1375207621, 1375207564, 1375207545, 1375207542, 1375207541, 1375207538, 1375207204, 1375207172, 1375207140, 1375207131, 1375207129, 1375207127, 1375207115, 1375207113, 1375207110, 1375207108, 1375207106, 1375207104] Looping around the photos to save general results len do output : 18 /1375207621.Didn't retrieve data . /1375207564.Didn't retrieve data . /1375207545.Didn't retrieve data . /1375207542.Didn't retrieve data . /1375207541.Didn't retrieve data . /1375207538.Didn't retrieve data . /1375207204.Didn't retrieve data . /1375207172.Didn't retrieve data . /1375207140.Didn't retrieve data . /1375207131.Didn't retrieve data . /1375207129.Didn't retrieve data . /1375207127.Didn't retrieve data . /1375207115.Didn't retrieve data . /1375207113.Didn't retrieve data . /1375207110.Didn't retrieve data . /1375207108.Didn't retrieve data . /1375207106.Didn't retrieve data . /1375207104.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, '4333378') ('4250', '25667488', '1375207621', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207564', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207545', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207542', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207541', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207538', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207204', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207172', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207140', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207131', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207129', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207127', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207115', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207113', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207110', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207108', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207106', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207104', None, None, None, None, None, '4333378') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.016674518585205078 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.9344699382781982 time spend to save output : 0.017244815826416016 total time spend for step 3 : 2.9517147541046143 step4:ventilate_hashtags_in_portfolio Wed Jan 21 11:56:37 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 25667488 get user id for portfolio 25667488 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`=25667488 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`=25667488 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/25670147,25670148,25670149,25670150,25670151,25670152,25670153,25670154,25670155,25670156,25670157,25670158,25670159,25670160,25670161,25670162?tags=ela,pet_opaque,barquette_opaque,metal,etiquette,papier,textiles_sanitaires,environnement,kraft,pehd,carton,film_plastique,pet_clair,flou,pet_fonce,mal_croppe Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375207621, 1375207564, 1375207545, 1375207542, 1375207541, 1375207538, 1375207204, 1375207172, 1375207140, 1375207131, 1375207129, 1375207127, 1375207115, 1375207113, 1375207110, 1375207108, 1375207106, 1375207104] Looping around the photos to save general results len do output : 1 /25667488. 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, '4333378') ('4250', '25667488', '1375207621', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207564', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207545', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207542', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207541', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207538', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207204', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207172', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207140', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207131', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207129', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207127', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207115', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207113', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207110', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207108', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207106', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207104', None, None, None, None, None, '4333378') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.018732786178588867 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.40114903450012207 time spend to save output : 0.0189821720123291 total time spend for step 4 : 0.42013120651245117 step5:final Wed Jan 21 11:56:37 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1375207621: ('0.02294619031018543',), 1375207564: ('0.02294619031018543',), 1375207545: ('0.02294619031018543',), 1375207542: ('0.02294619031018543',), 1375207541: ('0.02294619031018543',), 1375207538: ('0.02294619031018543',), 1375207204: ('0.02294619031018543',), 1375207172: ('0.02294619031018543',), 1375207140: ('0.02294619031018543',), 1375207131: ('0.02294619031018543',), 1375207129: ('0.02294619031018543',), 1375207127: ('0.02294619031018543',), 1375207115: ('0.02294619031018543',), 1375207113: ('0.02294619031018543',), 1375207110: ('0.02294619031018543',), 1375207108: ('0.02294619031018543',), 1375207106: ('0.02294619031018543',), 1375207104: ('0.02294619031018543',)} new output for save of step final : {1375207621: ('0.02294619031018543',), 1375207564: ('0.02294619031018543',), 1375207545: ('0.02294619031018543',), 1375207542: ('0.02294619031018543',), 1375207541: ('0.02294619031018543',), 1375207538: ('0.02294619031018543',), 1375207204: ('0.02294619031018543',), 1375207172: ('0.02294619031018543',), 1375207140: ('0.02294619031018543',), 1375207131: ('0.02294619031018543',), 1375207129: ('0.02294619031018543',), 1375207127: ('0.02294619031018543',), 1375207115: ('0.02294619031018543',), 1375207113: ('0.02294619031018543',), 1375207110: ('0.02294619031018543',), 1375207108: ('0.02294619031018543',), 1375207106: ('0.02294619031018543',), 1375207104: ('0.02294619031018543',)} [1375207621, 1375207564, 1375207545, 1375207542, 1375207541, 1375207538, 1375207204, 1375207172, 1375207140, 1375207131, 1375207129, 1375207127, 1375207115, 1375207113, 1375207110, 1375207108, 1375207106, 1375207104] Looping around the photos to save general results len do output : 18 /1375207621.Didn't retrieve data . /1375207564.Didn't retrieve data . /1375207545.Didn't retrieve data . /1375207542.Didn't retrieve data . /1375207541.Didn't retrieve data . /1375207538.Didn't retrieve data . /1375207204.Didn't retrieve data . /1375207172.Didn't retrieve data . /1375207140.Didn't retrieve data . /1375207131.Didn't retrieve data . /1375207129.Didn't retrieve data . /1375207127.Didn't retrieve data . /1375207115.Didn't retrieve data . /1375207113.Didn't retrieve data . /1375207110.Didn't retrieve data . /1375207108.Didn't retrieve data . /1375207106.Didn't retrieve data . /1375207104.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, '4333378') ('4250', '25667488', '1375207621', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207564', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207545', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207542', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207541', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207538', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207204', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207172', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207140', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207131', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207129', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207127', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207115', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207113', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207110', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207108', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207106', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207104', None, None, None, None, None, '4333378') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.01604938507080078 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.04308652877807617 time spend to save output : 0.016766786575317383 total time spend for step 5 : 0.059853315353393555 step6:blur_detection Wed Jan 21 11:56:37 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 18 time used for this insertion : 0.011674642562866211 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.023008346557617188 save missing photos in datou_result : time spend for datou_step_exec : 0.029143571853637695 time spend to save output : 0.039905548095703125 total time spend for step 6 : 0.06904911994934082 step7:brightness Wed Jan 21 11:56:37 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 18 time used for this insertion : 0.010837793350219727 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.010799646377563477 save missing photos in datou_result : time spend for datou_step_exec : 0.03179216384887695 time spend to save output : 0.027160167694091797 total time spend for step 7 : 0.05895233154296875 step8:send_mail_cod Wed Jan 21 11:56:38 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_COD_P25667488_21-01-2026_11_56_38.pdf 25670147 imagette256701471768992998 25670148 imagette256701481768992998 25670149 imagette256701491768992998 25670150 imagette256701501768992998 25670151 imagette256701511768992998 25670152 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette256701521768992998 25670153 imagette256701531768993000 25670155 imagette256701551768993000 25670156 imagette256701561768993000 25670158 change filename to text .change filename to text .change filename to text .imagette256701581768993000 25670159 imagette256701591768993001 25670161 imagette256701611768993001 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25667488 and hashtag_type = 4207 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25670147,25670148,25670149,25670150,25670151,25670152,25670153,25670154,25670155,25670156,25670157,25670158,25670159,25670160,25670161,25670162?tags=ela,pet_opaque,barquette_opaque,metal,etiquette,papier,textiles_sanitaires,environnement,kraft,pehd,carton,film_plastique,pet_clair,flou,pet_fonce,mal_croppe your option no_mail is active, we will not send the real mail to your client args[1375207621] : ((1375207621, -5.624430966168654, 492609224), (1375207621, -0.7989180200253763, 501862349), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207564] : ((1375207564, -6.985825774829362, 492609224), (1375207564, -0.1566424210793335, 496442774), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207545] : ((1375207545, -7.13367159105419, 492609224), (1375207545, 0.579559033278015, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207542] : ((1375207542, -7.073074403432533, 492609224), (1375207542, 0.24113037799886644, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207541] : ((1375207541, -7.173550207157458, 492609224), (1375207541, 0.3398926361189485, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207538] : ((1375207538, -7.1401798242640435, 492609224), (1375207538, 0.31247766432900187, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207204] : ((1375207204, -7.2058124417709495, 492609224), (1375207204, 0.5744388953987082, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207172] : ((1375207172, -6.9461096482318485, 492609224), (1375207172, 0.2593181682806136, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207140] : ((1375207140, -6.965332430741873, 492609224), (1375207140, 0.16512270380944147, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207131] : ((1375207131, -7.2467103716284464, 492609224), (1375207131, 0.19834941650773505, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207129] : ((1375207129, -7.03137338556383, 492609224), (1375207129, 0.08088214837774946, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207127] : ((1375207127, -7.145237765700286, 492609224), (1375207127, 0.2824290269825038, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207115] : ((1375207115, -6.974017239339116, 492609224), (1375207115, 0.5924250544831414, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207113] : ((1375207113, -7.019135467470574, 492609224), (1375207113, 0.6784073205444008, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207110] : ((1375207110, -7.64424150549878, 492609224), (1375207110, 0.5221186888926878, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207108] : ((1375207108, -7.171820953776089, 492609224), (1375207108, 0.4418938443639685, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207106] : ((1375207106, -6.829671088395543, 492609224), (1375207106, 0.21067383865825304, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com args[1375207104] : ((1375207104, -7.034900524493355, 492609224), (1375207104, 0.3842703979873745, 2107752395), '0.02294619031018543') We are sending mail with results at kexin@fotonower.com refus_total : 0.02294619031018543 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=25667488 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_P25667488_21-01-2026_11_56_38.pdf results_COD_P25667488_21-01-2026_11_56_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25667488_21-01-2026_11_56_38.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','25667488','results_COD_P25667488_21-01-2026_11_56_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25667488_21-01-2026_11_56_38.pdf','pdf','','0.78','0.02294619031018543') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1375207621, 1375207564, 1375207545, 1375207542, 1375207541, 1375207538, 1375207204, 1375207172, 1375207140, 1375207131, 1375207129, 1375207127, 1375207115, 1375207113, 1375207110, 1375207108, 1375207106, 1375207104] 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, '4333378') ('4250', '25667488', '1375207621', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207564', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207545', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207542', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207541', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207538', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207204', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207172', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207140', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207131', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207129', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207127', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207115', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207113', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207110', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207108', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207106', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207104', None, None, None, None, None, '4333378') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.016334056854248047 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.541651010513306 time spend to save output : 0.016768932342529297 total time spend for step 8 : 6.558419942855835 step9:split_time_score Wed Jan 21 11:56:44 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('05', 18),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05082025 25667488 Nombre de photos uploadées : 18 / 23040 (0%) 05082025 25667488 Nombre de photos taguées (types de déchets): 0 / 18 (0%) 05082025 25667488 Nombre de photos taguées (volume) : 0 / 18 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0008399486541748047 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23944664001464844 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_P25667470_05-08-2025_07_22_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25667470 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25667488_21-01-2026_11_56_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25667488 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25667488_21-01-2026_11_56_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25667488 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25667508_05-08-2025_07_27_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25667508 order by id desc limit 1 Qualite : 0.04604709408121495 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25668756_15-01-2026_14_55_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25668756 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 11626 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11627 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11624 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11624 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11631 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11625 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11628 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11629 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11630 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11632 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 11626 have datatype=11 whereas input 0 of step 11624 have datatype=2 WARNING : type of output 1 of step 11627 doesn't seem to be define in the database( WARNING : type of input 3 of step 11625 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 11627 doesn't seem to be define in the database( WARNING : type of input 1 of step 11624 doesn't seem to be define in the database( WARNING : output 0 of step 11631 have datatype=10 whereas input 3 of step 11630 have datatype=6 WARNING : type of input 1 of step 11631 doesn't seem to be define in the database( WARNING : output 1 of step 11624 have datatype=7 whereas input 1 of step 11631 have datatype=None WARNING : type of output 1 of step 11631 doesn't seem to be define in the database( WARNING : type of input 4 of step 11625 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11626 doesn't seem to be define in the database( WARNING : type of input 1 of step 11627 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`=25668756 AND mptpi.`type`=4205 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668759_05-08-2025_09_31_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25668759 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668759_05-08-2025_09_31_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25668759 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668762_05-08-2025_07_50_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25668762 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668764_05-08-2025_07_51_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25668764 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25668768_05-08-2025_07_56_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25668768 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669900_05-08-2025_12_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25669900 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669900_05-08-2025_12_32_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25669900 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669903_05-08-2025_08_19_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25669903 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25669917_05-08-2025_08_26_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25669917 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25672818_05-08-2025_14_27_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25672818 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25672818_05-08-2025_14_27_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25672818 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25672836_05-08-2025_09_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25672836 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25672857_05-08-2025_09_15_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25672857 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25672877_05-08-2025_09_07_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25672877 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25672877_05-08-2025_09_07_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25672877 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674370_05-08-2025_09_50_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25674370 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674371_05-08-2025_09_42_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25674371 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674372_05-08-2025_15_11_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25674372 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25674373_05-08-2025_09_47_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25674373 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25675524_05-08-2025_15_11_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25675524 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25675524_05-08-2025_15_11_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25675524 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25692370_05-08-2025_17_19_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25692370 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678919_05-08-2025_15_43_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25678919 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678919_05-08-2025_15_43_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25678919 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25678937_05-08-2025_11_19_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25678937 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691054_05-08-2025_16_45_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691054 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686543_05-08-2025_14_21_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25686543 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25684794_05-08-2025_13_17_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25684794 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25683782_05-08-2025_12_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25683782 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25683783_05-08-2025_13_21_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25683783 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25683785_05-08-2025_17_08_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25683785 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25683785_05-08-2025_17_08_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25683785 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25684795_05-08-2025_13_21_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25684795 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25684796_05-08-2025_13_20_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25684796 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25684797_05-08-2025_13_08_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25684797 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25684799_05-08-2025_13_13_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25684799 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686544_05-08-2025_17_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25686544 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686544_05-08-2025_17_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25686544 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686545_05-08-2025_14_30_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25686545 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25686547_05-08-2025_14_48_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25686547 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687501_05-08-2025_14_58_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25687501 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687503_05-08-2025_14_42_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25687503 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687505_05-08-2025_14_44_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25687505 order by id desc limit 1 Qualite : 0.16919190960165895 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25687508_05-08-2025_14_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25687508 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`=25687508 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691057_05-08-2025_17_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691057 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691057_05-08-2025_17_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691057 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691060_05-08-2025_16_29_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691060 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691063_05-08-2025_16_31_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691063 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691066_05-08-2025_16_11_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691066 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691080_05-08-2025_22_13_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691080 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691080_05-08-2025_22_13_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691080 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691090_05-08-2025_18_48_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691090 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691098_05-08-2025_16_26_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691098 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691101_05-08-2025_16_21_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691101 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691104_05-08-2025_16_10_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691104 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25691104_05-08-2025_16_10_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25691104 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25707499_06-08-2025_01_12_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25707499 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25705165_05-08-2025_22_44_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25705165 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700531_05-08-2025_20_28_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25700531 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699448_05-08-2025_19_56_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25699448 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696546_05-08-2025_18_44_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25696546 order by id desc limit 1 Qualite : 0.13773344264403292 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695652_05-08-2025_18_21_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25695652 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`=25695652 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695653_05-08-2025_18_11_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25695653 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695654_05-08-2025_19_06_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25695654 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695654_05-08-2025_19_06_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25695654 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695656_05-08-2025_18_22_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25695656 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695657_05-08-2025_18_12_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25695657 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25695658_05-08-2025_18_26_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25695658 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696547_05-08-2025_20_00_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25696547 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696547_05-08-2025_20_00_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25696547 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696548_05-08-2025_19_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25696548 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696549_05-08-2025_18_57_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25696549 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696550_05-08-2025_21_21_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25696550 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696550_05-08-2025_21_21_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25696550 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25696552_05-08-2025_22_13_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25696552 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699450_05-08-2025_20_21_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25699450 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699452_05-08-2025_21_00_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25699452 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25699452_05-08-2025_21_00_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25699452 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700533_05-08-2025_20_21_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25700533 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700536_05-08-2025_20_20_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25700536 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700538_05-08-2025_20_31_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25700538 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700539_05-08-2025_20_18_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25700539 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25700541_05-08-2025_21_22_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25700541 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25702650_21-01-2026_08_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25702650 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25702650_21-01-2026_08_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25702650 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25702663_05-08-2025_21_21_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25702663 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25702664_05-08-2025_21_12_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25702664 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25702665_05-08-2025_21_32_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25702665 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25702666_05-08-2025_23_36_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25702666 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25702685_05-08-2025_21_46_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25702685 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25702685_05-08-2025_21_46_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25702685 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25703476_05-08-2025_22_09_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25703476 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05082025': {'nb_upload': 18, '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 [1375207621, 1375207564, 1375207545, 1375207542, 1375207541, 1375207538, 1375207204, 1375207172, 1375207140, 1375207131, 1375207129, 1375207127, 1375207115, 1375207113, 1375207110, 1375207108, 1375207106, 1375207104] Looping around the photos to save general results len do output : 1 /25667488Didn'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, '4333378') ('4250', '25667488', '1375207621', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207564', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207545', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207542', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207541', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207538', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207204', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207172', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207140', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207131', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207129', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207127', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207115', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207113', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207110', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207108', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207106', None, None, None, None, None, '4333378') ('4250', None, None, None, None, None, None, None, '4333378') ('4250', '25667488', '1375207104', None, None, None, None, None, '4333378') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.018587350845336914 save_final save missing photos in datou_result : time spend for datou_step_exec : 65.2317488193512 time spend to save output : 0.018864870071411133 total time spend for step 9 : 65.25061368942261 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 5.13user 1.76system 1:25.02elapsed 8%CPU (0avgtext+0avgdata 184472maxresident)k 576inputs+68592outputs (9major+101447minor)pagefaults 0swaps