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 : 3041081 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 : ['4333308'] with mtr_portfolio_ids : ['25702650'] and first list_photo_ids : [] new path : /proc/3041081/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 4.24456524848938 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 08:40: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 59 chid ids of type : 4207 batch 1 Loaded 139 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1375358093, 1375358086, 1375358080, 1375358077, 1375358075, 1375358071, 1375358068, 1375358065, 1375358059, 1375358056, 1375358028, 1375358026, 1375358024, 1375358023, 1375358004, 1375357972, 1375357773, 1375357739, 1375357708] Looping around the photos to save general results len do output : 19 /1375358093Didn't retrieve data . /1375358086Didn't retrieve data . /1375358080Didn't retrieve data . /1375358077Didn't retrieve data . /1375358075Didn't retrieve data . /1375358071Didn't retrieve data . /1375358068Didn't retrieve data . /1375358065Didn't retrieve data . /1375358059Didn't retrieve data . /1375358056Didn't retrieve data . /1375358028Didn't retrieve data . /1375358026Didn't retrieve data . /1375358024Didn't retrieve data . /1375358023Didn't retrieve data . /1375358004Didn't retrieve data . /1375357972Didn't retrieve data . /1375357773Didn't retrieve data . /1375357739Didn't retrieve data . /1375357708Didn'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, '4333308') ('4250', '25702650', '1375358093', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358086', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358080', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358077', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358075', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358071', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358068', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358065', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358059', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358056', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358028', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358026', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358024', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358023', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358004', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357972', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357773', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357739', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357708', None, None, None, None, None, '4333308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 time used for this insertion : 0.027788162231445312 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.10951924324035645 time spend to save output : 0.028400182723999023 total time spend for step 1 : 0.13791942596435547 step2:consolidate_hashtags_from_manual_portfolio Wed Jan 21 08:40: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 : 25702650 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`=25702650 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`=25702650 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`=25702650 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=25703700 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=25703701 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=25703702 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 28 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25703703 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 130 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25703704 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=25703705 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=25703706 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=25703707 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=25703708 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 7 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=25703709 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 91 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=25703710 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=25703711 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 12 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=25703712 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 18 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=25703713 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 22 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25703714 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=25703715 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=30171866 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 [1375358093, 1375358086, 1375358080, 1375358077, 1375358075, 1375358071, 1375358068, 1375358065, 1375358059, 1375358056, 1375358028, 1375358026, 1375358024, 1375358023, 1375358004, 1375357972, 1375357773, 1375357739, 1375357708] 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 : 19 time used for this insertion : 0.017749547958374023 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.436659336090088 time spend to save output : 0.01792287826538086 total time spend for step 2 : 2.4545822143554688 step3:rle_unique_nms_with_priority Wed Jan 21 08:40:35 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 115 chid ids of type : 4207 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03394770622253418 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.032742977142333984 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.038278818130493164 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.0327601432800293 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.03222393989562988 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.0320429801940918 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.03556632995605469 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.04279279708862305 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.03227543830871582 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.033010005950927734 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.03374671936035156 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.03311443328857422 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.04058074951171875 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03521227836608887 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.03568553924560547 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.03900551795959473 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.033769845962524414 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.036791324615478516 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.042792558670043945 map_output_result : {1375358093: (0.0, 'Should be the crop_list due to order', 0), 1375358086: (0.0, 'Should be the crop_list due to order', 0), 1375358080: (0.0, 'Should be the crop_list due to order', 0), 1375358077: (0.0, 'Should be the crop_list due to order', 0), 1375358075: (0.0, 'Should be the crop_list due to order', 0), 1375358071: (0.0, 'Should be the crop_list due to order', 0), 1375358068: (0.0, 'Should be the crop_list due to order', 0), 1375358065: (0.0, 'Should be the crop_list due to order', 0), 1375358059: (0.0, 'Should be the crop_list due to order', 0), 1375358056: (0.0, 'Should be the crop_list due to order', 0), 1375358028: (0.0, 'Should be the crop_list due to order', 0), 1375358026: (0.0, 'Should be the crop_list due to order', 0), 1375358024: (0.0, 'Should be the crop_list due to order', 0), 1375358023: (0.0, 'Should be the crop_list due to order', 0), 1375358004: (0.0, 'Should be the crop_list due to order', 0), 1375357972: (0.0, 'Should be the crop_list due to order', 0), 1375357773: (0.0, 'Should be the crop_list due to order', 0), 1375357739: (0.0, 'Should be the crop_list due to order', 0), 1375357708: (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 [1375358093, 1375358086, 1375358080, 1375358077, 1375358075, 1375358071, 1375358068, 1375358065, 1375358059, 1375358056, 1375358028, 1375358026, 1375358024, 1375358023, 1375358004, 1375357972, 1375357773, 1375357739, 1375357708] Looping around the photos to save general results len do output : 19 /1375358093.Didn't retrieve data . /1375358086.Didn't retrieve data . /1375358080.Didn't retrieve data . /1375358077.Didn't retrieve data . /1375358075.Didn't retrieve data . /1375358071.Didn't retrieve data . /1375358068.Didn't retrieve data . /1375358065.Didn't retrieve data . /1375358059.Didn't retrieve data . /1375358056.Didn't retrieve data . /1375358028.Didn't retrieve data . /1375358026.Didn't retrieve data . /1375358024.Didn't retrieve data . /1375358023.Didn't retrieve data . /1375358004.Didn't retrieve data . /1375357972.Didn't retrieve data . /1375357773.Didn't retrieve data . /1375357739.Didn't retrieve data . /1375357708.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, '4333308') ('4250', '25702650', '1375358093', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358086', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358080', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358077', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358075', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358071', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358068', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358065', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358059', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358056', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358028', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358026', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358024', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358023', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358004', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357972', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357773', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357739', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357708', None, None, None, None, None, '4333308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 time used for this insertion : 0.019217491149902344 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.303983449935913 time spend to save output : 0.019809961318969727 total time spend for step 3 : 4.323793411254883 step4:ventilate_hashtags_in_portfolio Wed Jan 21 08:40:39 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 : 25702650 get user id for portfolio 25702650 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`=25702650 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`=25702650 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/25703700,25703701,25703702,25703703,25703704,25703705,25703706,25703707,25703708,25703709,25703710,25703711,25703712,25703713,25703714,25703715?tags=pet_opaque,barquette_opaque,film_plastique,carton,pet_clair,pet_fonce,ela,etiquette,metal,papier,pehd,flou,kraft,mal_croppe,environnement,textiles_sanitaires Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1375358093, 1375358086, 1375358080, 1375358077, 1375358075, 1375358071, 1375358068, 1375358065, 1375358059, 1375358056, 1375358028, 1375358026, 1375358024, 1375358023, 1375358004, 1375357972, 1375357773, 1375357739, 1375357708] Looping around the photos to save general results len do output : 1 /25702650. 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, '4333308') ('4250', '25702650', '1375358093', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358086', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358080', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358077', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358075', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358071', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358068', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358065', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358059', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358056', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358028', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358026', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358024', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358023', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358004', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357972', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357773', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357739', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357708', None, None, None, None, None, '4333308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020726919174194336 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.40579676628112793 time spend to save output : 0.02098703384399414 total time spend for step 4 : 0.42678380012512207 step5:final Wed Jan 21 08:40:39 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 : {1375358093: ('0.029646402563752384',), 1375358086: ('0.029646402563752384',), 1375358080: ('0.029646402563752384',), 1375358077: ('0.029646402563752384',), 1375358075: ('0.029646402563752384',), 1375358071: ('0.029646402563752384',), 1375358068: ('0.029646402563752384',), 1375358065: ('0.029646402563752384',), 1375358059: ('0.029646402563752384',), 1375358056: ('0.029646402563752384',), 1375358028: ('0.029646402563752384',), 1375358026: ('0.029646402563752384',), 1375358024: ('0.029646402563752384',), 1375358023: ('0.029646402563752384',), 1375358004: ('0.029646402563752384',), 1375357972: ('0.029646402563752384',), 1375357773: ('0.029646402563752384',), 1375357739: ('0.029646402563752384',), 1375357708: ('0.029646402563752384',)} new output for save of step final : {1375358093: ('0.029646402563752384',), 1375358086: ('0.029646402563752384',), 1375358080: ('0.029646402563752384',), 1375358077: ('0.029646402563752384',), 1375358075: ('0.029646402563752384',), 1375358071: ('0.029646402563752384',), 1375358068: ('0.029646402563752384',), 1375358065: ('0.029646402563752384',), 1375358059: ('0.029646402563752384',), 1375358056: ('0.029646402563752384',), 1375358028: ('0.029646402563752384',), 1375358026: ('0.029646402563752384',), 1375358024: ('0.029646402563752384',), 1375358023: ('0.029646402563752384',), 1375358004: ('0.029646402563752384',), 1375357972: ('0.029646402563752384',), 1375357773: ('0.029646402563752384',), 1375357739: ('0.029646402563752384',), 1375357708: ('0.029646402563752384',)} [1375358093, 1375358086, 1375358080, 1375358077, 1375358075, 1375358071, 1375358068, 1375358065, 1375358059, 1375358056, 1375358028, 1375358026, 1375358024, 1375358023, 1375358004, 1375357972, 1375357773, 1375357739, 1375357708] Looping around the photos to save general results len do output : 19 /1375358093.Didn't retrieve data . /1375358086.Didn't retrieve data . /1375358080.Didn't retrieve data . /1375358077.Didn't retrieve data . /1375358075.Didn't retrieve data . /1375358071.Didn't retrieve data . /1375358068.Didn't retrieve data . /1375358065.Didn't retrieve data . /1375358059.Didn't retrieve data . /1375358056.Didn't retrieve data . /1375358028.Didn't retrieve data . /1375358026.Didn't retrieve data . /1375358024.Didn't retrieve data . /1375358023.Didn't retrieve data . /1375358004.Didn't retrieve data . /1375357972.Didn't retrieve data . /1375357773.Didn't retrieve data . /1375357739.Didn't retrieve data . /1375357708.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, '4333308') ('4250', '25702650', '1375358093', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358086', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358080', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358077', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358075', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358071', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358068', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358065', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358059', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358056', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358028', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358026', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358024', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358023', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358004', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357972', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357773', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357739', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357708', None, None, None, None, None, '4333308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 57 time used for this insertion : 0.01927495002746582 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.04906296730041504 time spend to save output : 0.020038127899169922 total time spend for step 5 : 0.06910109519958496 step6:blur_detection Wed Jan 21 08:40:39 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 : 19 time used for this insertion : 0.01173543930053711 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.016038894653320312 save missing photos in datou_result : time spend for datou_step_exec : 0.03126788139343262 time spend to save output : 0.03339266777038574 total time spend for step 6 : 0.06466054916381836 step7:brightness Wed Jan 21 08:40:40 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure 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 : 19 time used for this insertion : 0.013790607452392578 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.0216062068939209 save missing photos in datou_result : time spend for datou_step_exec : 0.03292727470397949 time spend to save output : 0.04073309898376465 total time spend for step 7 : 0.07366037368774414 step8:send_mail_cod Wed Jan 21 08:40:40 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P25702650_21-01-2026_08_40_40.pdf 25703700 imagette257037001768981240 25703701 imagette257037011768981240 25703702 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette257037021768981240 25703704 imagette257037041768981240 25703705 imagette257037051768981240 25703706 imagette257037061768981240 25703707 imagette257037071768981240 25703708 change filename to text .imagette257037081768981240 25703709 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 .imagette257037091768981241 25703710 imagette257037101768981243 25703712 change filename to text .change filename to text .imagette257037121768981243 25703715 imagette257037151768981243 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25702650 and hashtag_type = 4207 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25703700,25703701,25703702,25703703,25703704,25703705,25703706,25703707,25703708,25703709,25703710,25703711,25703712,25703713,25703714,25703715?tags=pet_opaque,barquette_opaque,film_plastique,carton,pet_clair,pet_fonce,ela,etiquette,metal,papier,pehd,flou,kraft,mal_croppe,environnement,textiles_sanitaires your option no_mail is active, we will not send the real mail to your client args[1375358093] : ((1375358093, -6.991756036383196, 492609224), (1375358093, 0.26887258445102735, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358086] : ((1375358086, -7.03634200516244, 492609224), (1375358086, 0.4421832910903034, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358080] : ((1375358080, -7.179068502137637, 492609224), (1375358080, 0.29500541967422833, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358077] : ((1375358077, -7.2566943228982375, 492609224), (1375358077, 0.4626109092211754, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358075] : ((1375358075, -7.020811449103939, 492609224), (1375358075, 0.17481204132952247, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358071] : ((1375358071, -7.208027746487401, 492609224), (1375358071, 0.8130838921751067, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358068] : ((1375358068, -7.057855051605145, 492609224), (1375358068, 0.26182469375969625, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358065] : ((1375358065, -7.011199920910609, 492609224), (1375358065, 0.37052407769778795, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358059] : ((1375358059, -7.275132304111963, 492609224), (1375358059, 0.4348693426346519, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358056] : ((1375358056, -6.990274855227676, 492609224), (1375358056, 0.21677800687724494, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358028] : ((1375358028, -6.9312095494768045, 492609224), (1375358028, 0.0007012348977658759, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358026] : ((1375358026, -7.2720829605347195, 492609224), (1375358026, 0.5475772172573959, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358024] : ((1375358024, -7.656687730147446, 492609224), (1375358024, 0.6522918406516571, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358023] : ((1375358023, -7.1474939908790915, 492609224), (1375358023, 0.7780544718292174, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375358004] : ((1375358004, -7.087696382801658, 492609224), (1375358004, 0.3515200765117061, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375357972] : ((1375357972, -7.143811838332056, 492609224), (1375357972, 0.2972137727305353, 2107752395), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375357773] : ((1375357773, -6.057507815472043, 492609224), (1375357773, -0.4201475827207101, 496442774), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375357739] : ((1375357739, -5.992031551394566, 492609224), (1375357739, -0.5062593996301628, 501862349), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com args[1375357708] : ((1375357708, -4.194743792300317, 492609224), (1375357708, -1.2237961737439613, 501862349), '0.029646402563752384') We are sending mail with results at kexin@fotonower.com refus_total : 0.029646402563752384 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=25702650 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_P25702650_21-01-2026_08_40_40.pdf results_COD_P25702650_21-01-2026_08_40_40.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25702650_21-01-2026_08_40_40.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','25702650','results_COD_P25702650_21-01-2026_08_40_40.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25702650_21-01-2026_08_40_40.pdf','pdf','','0.86','0.029646402563752384') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1375358093, 1375358086, 1375358080, 1375358077, 1375358075, 1375358071, 1375358068, 1375358065, 1375358059, 1375358056, 1375358028, 1375358026, 1375358024, 1375358023, 1375358004, 1375357972, 1375357773, 1375357739, 1375357708] 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, '4333308') ('4250', '25702650', '1375358093', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358086', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358080', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358077', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358075', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358071', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358068', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358065', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358059', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358056', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358028', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358026', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358024', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358023', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358004', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357972', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357773', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357739', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357708', None, None, None, None, None, '4333308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.017473936080932617 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.247539520263672 time spend to save output : 0.017868757247924805 total time spend for step 8 : 7.265408277511597 step9:split_time_score Wed Jan 21 08:40:47 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'}] (('19', 19),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05082025 25702650 Nombre de photos uploadées : 19 / 23040 (0%) 05082025 25702650 Nombre de photos taguées (types de déchets): 0 / 19 (0%) 05082025 25702650 Nombre de photos taguées (volume) : 0 / 19 (0%) elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 1.3589859008789062e-05 ??????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011951923370361328 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.25609660148620605 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_Auto_P25667488_05-08-2025_08_08_34.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_P25667488_05-08-2025_08_08_34.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': 19, '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 [1375358093, 1375358086, 1375358080, 1375358077, 1375358075, 1375358071, 1375358068, 1375358065, 1375358059, 1375358056, 1375358028, 1375358026, 1375358024, 1375358023, 1375358004, 1375357972, 1375357773, 1375357739, 1375357708] Looping around the photos to save general results len do output : 1 /25702650Didn'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, '4333308') ('4250', '25702650', '1375358093', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358086', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358080', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358077', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358075', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358071', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358068', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358065', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358059', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358056', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358028', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358026', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358024', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358023', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375358004', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357972', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357773', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357739', None, None, None, None, None, '4333308') ('4250', None, None, None, None, None, None, None, '4333308') ('4250', '25702650', '1375357708', None, None, None, None, None, '4333308') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02301502227783203 save_final save missing photos in datou_result : time spend for datou_step_exec : 68.95349049568176 time spend to save output : 0.023272991180419922 total time spend for step 9 : 68.97676348686218 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 5.51user 2.81system 1:30.74elapsed 9%CPU (0avgtext+0avgdata 206764maxresident)k 2064inputs+75328outputs (13major+150059minor)pagefaults 0swaps