python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4255 ' -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 : 2087422 load datou : 4255 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! 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 : 4255, datou_cur_ids : ['3804714'] with mtr_portfolio_ids : ['25042358'] and first list_photo_ids : [] new path : /proc/2087422/ 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 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 4.107268810272217 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 Oct 1 09:12:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 473 chid ids of type : 3327 batch 1 Loaded 212 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 231 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 212 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 231 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 113 chid ids of type : 3327 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 [1372504826, 1372504723, 1372504584, 1372504483, 1372503780, 1372503778, 1372503774, 1372503182, 1372503154, 1372503122, 1372502964, 1372502932, 1372502870, 1372502839, 1372502615, 1372502552, 1372502486, 1372502431] Looping around the photos to save general results len do output : 18 /1372502431Didn't retrieve data . /1372502486Didn't retrieve data . /1372502552Didn't retrieve data . /1372502615Didn't retrieve data . /1372502839Didn't retrieve data . /1372502870Didn't retrieve data . /1372502932Didn't retrieve data . /1372502964Didn't retrieve data . /1372503122Didn't retrieve data . /1372503154Didn't retrieve data . /1372503182Didn't retrieve data . /1372503774Didn't retrieve data . /1372503778Didn't retrieve data . /1372503780Didn't retrieve data . /1372504483Didn't retrieve data . /1372504584Didn't retrieve data . /1372504723Didn't retrieve data . /1372504826Didn'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 ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504826', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504723', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504584', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504483', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503780', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503778', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503774', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503182', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503154', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503122', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502964', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502932', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502870', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502839', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502615', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502552', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502486', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502431', None, None, None, None, None, '3804714') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.04110407829284668 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.9055664539337158 time spend to save output : 0.04168558120727539 total time spend for step 1 : 0.9472520351409912 step2:consolidate_hashtags_from_manual_portfolio Wed Oct 1 09:12:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 25042358 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`=25042358 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) 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`=25042358 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) 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`=25042358 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) 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=25043110 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 938 chid ids of type : 3327 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=25043111 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 161 chid ids of type : 3327 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=25043112 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=25043113 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 58 chid ids of type : 3327 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=25043114 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 56 chid ids of type : 3327 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=25043115 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=25043116 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=25043118 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=25043119 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=25043120 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=25043121 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 158 chid ids of type : 3327 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=25043123 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 999 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27393737 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=27393738 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 [1372504826, 1372504723, 1372504584, 1372504483, 1372503780, 1372503778, 1372503774, 1372503182, 1372503154, 1372503122, 1372502964, 1372502932, 1372502870, 1372502839, 1372502615, 1372502552, 1372502486, 1372502431] Looping around the photos to save general results len do output : 6 /Tassign value string error string indices must be integers invalid literal for int() with base 10: 'T' begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.03771352767944336 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.499440670013428 time spend to save output : 0.03794670104980469 total time spend for step 2 : 11.537387371063232 step3:rle_unique_nms_with_priority Wed Oct 1 09:12:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 410 chid ids of type : 3327 seulement à utiliser dans la step consolidation batch 1 Loaded 59 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10785913467407227 seulement à utiliser dans la step consolidation batch 1 Loaded 54 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10805296897888184 seulement à utiliser dans la step consolidation batch 1 Loaded 62 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10569214820861816 seulement à utiliser dans la step consolidation batch 1 Loaded 58 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10627579689025879 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10677933692932129 seulement à utiliser dans la step consolidation batch 1 Loaded 54 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10680580139160156 seulement à utiliser dans la step consolidation batch 1 Loaded 46 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1049489974975586 seulement à utiliser dans la step consolidation batch 1 Loaded 54 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10512399673461914 seulement à utiliser dans la step consolidation batch 1 Loaded 56 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10709929466247559 seulement à utiliser dans la step consolidation batch 1 Loaded 56 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10958433151245117 seulement à utiliser dans la step consolidation batch 1 Loaded 67 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1073758602142334 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10574054718017578 seulement à utiliser dans la step consolidation batch 1 Loaded 61 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1051790714263916 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1071774959564209 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10461068153381348 seulement à utiliser dans la step consolidation batch 1 Loaded 51 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1094367504119873 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10402822494506836 seulement à utiliser dans la step consolidation batch 1 Loaded 51 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10662388801574707 map_output_result : {1372504826: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372504723: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372504584: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372504483: (0.002326698044099422, 'Should be the crop_list due to order', 0.009506203313153168), 1372503780: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372503778: (0.002326698044099422, 'Should be the crop_list due to order', 0.02722512892396913), 1372503774: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372503182: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372503154: (0.002326698044099422, 'Should be the crop_list due to order', 0.0051492325566672905), 1372503122: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372502964: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372502932: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372502870: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372502839: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372502615: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372502552: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372502486: (0.002326698044099422, 'Should be the crop_list due to order', 0.0), 1372502431: (0.002326698044099422, 'Should be the crop_list due to order', 0.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 [1372504826, 1372504723, 1372504584, 1372504483, 1372503780, 1372503778, 1372503774, 1372503182, 1372503154, 1372503122, 1372502964, 1372502932, 1372502870, 1372502839, 1372502615, 1372502552, 1372502486, 1372502431] Looping around the photos to save general results len do output : 18 /1372504826.Didn't retrieve data . /1372504723.Didn't retrieve data . /1372504584.Didn't retrieve data . /1372504483.Didn't retrieve data . /1372503780.Didn't retrieve data . /1372503778.Didn't retrieve data . /1372503774.Didn't retrieve data . /1372503182.Didn't retrieve data . /1372503154.Didn't retrieve data . /1372503122.Didn't retrieve data . /1372502964.Didn't retrieve data . /1372502932.Didn't retrieve data . /1372502870.Didn't retrieve data . /1372502839.Didn't retrieve data . /1372502615.Didn't retrieve data . /1372502552.Didn't retrieve data . /1372502486.Didn't retrieve data . /1372502431.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 ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504826', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504723', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504584', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504483', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503780', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503778', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503774', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503182', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503154', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503122', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502964', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502932', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502870', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502839', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502615', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502552', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502486', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502431', None, None, None, None, None, '3804714') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.037215471267700195 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.2829978466033936 time spend to save output : 0.03809094429016113 total time spend for step 3 : 4.321088790893555 step4:ventilate_hashtags_in_portfolio Wed Oct 1 09:12:51 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 25042358 get user id for portfolio 25042358 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`=25042358 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 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`=25042358 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) 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`=25042358 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/25043110,25043111,25043112,25043113,25043114,25043115,25043116,25043118,25043119,25043120,25043121,25043123,27393744?tags=mal_croppe,flou,bouchon,papier,carton,verre,barquette_avec_film,pet_fonce,metal,pehd,etiquette,pet_clair,emr Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1372504826, 1372504723, 1372504584, 1372504483, 1372503780, 1372503778, 1372503774, 1372503182, 1372503154, 1372503122, 1372502964, 1372502932, 1372502870, 1372502839, 1372502615, 1372502552, 1372502486, 1372502431] Looping around the photos to save general results len do output : 1 /25042358. 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 ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504826', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504723', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504584', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504483', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503780', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503778', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503774', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503182', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503154', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503122', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502964', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502932', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502870', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502839', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502615', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502552', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502486', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502431', None, None, None, None, None, '3804714') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.042295217514038086 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2080798149108887 time spend to save output : 0.04266619682312012 total time spend for step 4 : 1.2507460117340088 step5:final Wed Oct 1 09:12:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1372504826: ('0.006412950542647223',), 1372504723: ('0.006412950542647223',), 1372504584: ('0.006412950542647223',), 1372504483: ('0.006412950542647223',), 1372503780: ('0.006412950542647223',), 1372503778: ('0.006412950542647223',), 1372503774: ('0.006412950542647223',), 1372503182: ('0.006412950542647223',), 1372503154: ('0.006412950542647223',), 1372503122: ('0.006412950542647223',), 1372502964: ('0.006412950542647223',), 1372502932: ('0.006412950542647223',), 1372502870: ('0.006412950542647223',), 1372502839: ('0.006412950542647223',), 1372502615: ('0.006412950542647223',), 1372502552: ('0.006412950542647223',), 1372502486: ('0.006412950542647223',), 1372502431: ('0.006412950542647223',)} new output for save of step final : {1372504826: ('0.006412950542647223',), 1372504723: ('0.006412950542647223',), 1372504584: ('0.006412950542647223',), 1372504483: ('0.006412950542647223',), 1372503780: ('0.006412950542647223',), 1372503778: ('0.006412950542647223',), 1372503774: ('0.006412950542647223',), 1372503182: ('0.006412950542647223',), 1372503154: ('0.006412950542647223',), 1372503122: ('0.006412950542647223',), 1372502964: ('0.006412950542647223',), 1372502932: ('0.006412950542647223',), 1372502870: ('0.006412950542647223',), 1372502839: ('0.006412950542647223',), 1372502615: ('0.006412950542647223',), 1372502552: ('0.006412950542647223',), 1372502486: ('0.006412950542647223',), 1372502431: ('0.006412950542647223',)} [1372504826, 1372504723, 1372504584, 1372504483, 1372503780, 1372503778, 1372503774, 1372503182, 1372503154, 1372503122, 1372502964, 1372502932, 1372502870, 1372502839, 1372502615, 1372502552, 1372502486, 1372502431] Looping around the photos to save general results len do output : 18 /1372504826.Didn't retrieve data . /1372504723.Didn't retrieve data . /1372504584.Didn't retrieve data . /1372504483.Didn't retrieve data . /1372503780.Didn't retrieve data . /1372503778.Didn't retrieve data . /1372503774.Didn't retrieve data . /1372503182.Didn't retrieve data . /1372503154.Didn't retrieve data . /1372503122.Didn't retrieve data . /1372502964.Didn't retrieve data . /1372502932.Didn't retrieve data . /1372502870.Didn't retrieve data . /1372502839.Didn't retrieve data . /1372502615.Didn't retrieve data . /1372502552.Didn't retrieve data . /1372502486.Didn't retrieve data . /1372502431.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 ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504826', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504723', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504584', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504483', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503780', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503778', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503774', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503182', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503154', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503122', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502964', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502932', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502870', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502839', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502615', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502552', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502486', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502431', None, None, None, None, None, '3804714') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.03747367858886719 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09741640090942383 time spend to save output : 0.03824901580810547 total time spend for step 5 : 0.1356654167175293 step6:blur_detection Wed Oct 1 09:12:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 18 time used for this insertion : 0.03656601905822754 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.0385434627532959 save missing photos in datou_result : time spend for datou_step_exec : 0.08921384811401367 time spend to save output : 0.09233260154724121 total time spend for step 6 : 0.18154644966125488 step7:brightness Wed Oct 1 09:12:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 18 time used for this insertion : 0.03551793098449707 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.035117387771606445 save missing photos in datou_result : time spend for datou_step_exec : 0.10895609855651855 time spend to save output : 0.0883188247680664 total time spend for step 7 : 0.19727492332458496 step8:send_mail_cod Wed Oct 1 09:12:53 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_COD_P25042358_01-10-2025_09_12_53.pdf 25043112 imagette250431121759302773 25043113 change filename to text .imagette250431131759302773 25043114 change filename to text .imagette250431141759302773 25043115 imagette250431151759302773 25043116 imagette250431161759302773 25043118 imagette250431181759302773 25043119 imagette250431191759302773 25043120 imagette250431201759302773 25043121 change filename to text .change filename to text .change filename to text .imagette250431211759302773 27393744 imagette273937441759302774 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25042358 and hashtag_type = 3327 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25043110,25043111,25043112,25043113,25043114,25043115,25043116,25043118,25043119,25043120,25043121,25043123,27393744?tags=mal_croppe,flou,bouchon,papier,carton,verre,barquette_avec_film,pet_fonce,metal,pehd,etiquette,pet_clair,emr your option no_mail is active, we will not send the real mail to your client args[1372504826] : ((1372504826, -6.700542833297515, 492609224), (1372504826, -0.7328346294580782, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372504723] : ((1372504723, -6.420753530780081, 492609224), (1372504723, -0.7481641093802378, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372504584] : ((1372504584, -6.732205349225416, 492609224), (1372504584, -0.5512450570658282, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372504483] : ((1372504483, -7.002964070773773, 492609224), (1372504483, -0.6408571630029846, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372503780] : ((1372503780, -7.179370374417066, 492609224), (1372503780, -0.6829778781038348, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372503778] : ((1372503778, -6.469663417235877, 492609224), (1372503778, -0.6314078681621139, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372503774] : ((1372503774, -7.080084376430162, 492609224), (1372503774, -0.5752250307336779, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372503182] : ((1372503182, -6.6534152753120255, 492609224), (1372503182, -0.7078206459115305, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372503154] : ((1372503154, -6.550444406272032, 492609224), (1372503154, -0.7462423292895944, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372503122] : ((1372503122, -6.5225962536626625, 492609224), (1372503122, -0.7092798163519797, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372502964] : ((1372502964, -6.34227804984489, 492609224), (1372502964, -1.0396577572084058, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372502932] : ((1372502932, -6.5860084115677235, 492609224), (1372502932, -1.0373720485229996, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372502870] : ((1372502870, -6.386791676719244, 492609224), (1372502870, -1.2291983727749503, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372502839] : ((1372502839, -6.406201860110656, 492609224), (1372502839, -0.8678673632330011, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372502615] : ((1372502615, -6.411450095449979, 492609224), (1372502615, -0.9589054808812068, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372502552] : ((1372502552, -6.665150101966978, 492609224), (1372502552, -0.8248407917529139, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372502486] : ((1372502486, -6.186710187447357, 492609224), (1372502486, -1.0732625611219575, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com args[1372502431] : ((1372502431, -6.436536753379623, 492609224), (1372502431, -0.936351750554743, 501862349), '0.006412950542647223') We are sending mail with results at kexin@fotonower.com refus_total : 0.006412950542647223 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=25042358 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_P25042358_01-10-2025_09_12_53.pdf results_COD_P25042358_01-10-2025_09_12_53.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25042358_01-10-2025_09_12_53.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4255','25042358','results_COD_P25042358_01-10-2025_09_12_53.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25042358_01-10-2025_09_12_53.pdf','pdf','','0.52','0.006412950542647223') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1372504826, 1372504723, 1372504584, 1372504483, 1372503780, 1372503778, 1372503774, 1372503182, 1372503154, 1372503122, 1372502964, 1372502932, 1372502870, 1372502839, 1372502615, 1372502552, 1372502486, 1372502431] 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 ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504826', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504723', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504584', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504483', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503780', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503778', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503774', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503182', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503154', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503122', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502964', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502932', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502870', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502839', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502615', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502552', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502486', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502431', None, None, None, None, None, '3804714') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.03925299644470215 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.368598222732544 time spend to save output : 0.05766725540161133 total time spend for step 8 : 4.426265478134155 step9:split_time_score Wed Oct 1 09:12:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('18', 18),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17072025 25042358 Nombre de photos uploadées : 18 / 23040 (0%) 17072025 25042358 Nombre de photos taguées (types de déchets): 0 / 18 (0%) 17072025 25042358 Nombre de photos taguées (volume) : 0 / 18 (0%) elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ?????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0009737014770507812 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.7178502082824707 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_P25015368_17-07-2025_12_42_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015368 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015368_17-07-2025_12_42_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015368 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011664_17-07-2025_11_26_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011664 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010386_17-07-2025_10_46_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010386 order by id desc limit 1 Qualite : 0.11551998913905505 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25004425_04-09-2025_12_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004425 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25004425 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004427_17-07-2025_09_10_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004427 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004427_17-07-2025_09_10_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004427 order by id desc limit 1 Qualite : 3.322768004533301e-05 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25004429_10-09-2025_14_52_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004429 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25004429 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002368_17-07-2025_08_50_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002368 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002371_17-07-2025_08_36_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002371 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002373_17-07-2025_08_53_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002373 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002376_17-07-2025_08_38_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002376 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002376_17-07-2025_08_38_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002376 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002379_17-07-2025_08_46_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002379 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004431_17-07-2025_16_29_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004431 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006835_17-07-2025_10_20_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006835 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006836_17-07-2025_09_37_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006836 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006838_17-07-2025_09_42_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006838 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006840_17-07-2025_09_40_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006840 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006840_17-07-2025_09_40_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006840 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006842_17-07-2025_09_43_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006842 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010388_17-07-2025_10_46_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010388 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010392_17-07-2025_10_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010392 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010392_17-07-2025_10_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010392 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010408_17-07-2025_10_45_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010408 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011667_17-07-2025_11_19_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011667 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011673_17-07-2025_11_19_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011673 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011697_17-07-2025_11_41_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011697 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011724_17-07-2025_11_15_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011724 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015384_17-07-2025_12_43_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015384 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015384_17-07-2025_12_43_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015384 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015386_17-07-2025_12_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015386 order by id desc limit 1 Qualite : 0.046631522003633664 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25015387_04-09-2025_10_50_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015387 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 11481 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11482 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11479 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11479 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11486 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11480 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11483 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11484 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11485 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11487 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 11481 have datatype=11 whereas input 0 of step 11479 have datatype=2 WARNING : type of output 1 of step 11482 doesn't seem to be define in the database( WARNING : type of input 3 of step 11480 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 11482 doesn't seem to be define in the database( WARNING : type of input 1 of step 11479 doesn't seem to be define in the database( WARNING : output 0 of step 11486 have datatype=10 whereas input 3 of step 11485 have datatype=6 WARNING : type of input 1 of step 11486 doesn't seem to be define in the database( WARNING : output 1 of step 11479 have datatype=7 whereas input 1 of step 11486 have datatype=None WARNING : type of output 1 of step 11486 doesn't seem to be define in the database( WARNING : type of input 4 of step 11480 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11481 doesn't seem to be define in the database( WARNING : type of input 1 of step 11482 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`=25015387 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015389_17-07-2025_12_39_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015389 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015391_17-07-2025_19_53_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015391 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015394_17-07-2025_12_38_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015394 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015394_17-07-2025_12_38_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015394 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015395_17-07-2025_12_51_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015395 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017800_17-07-2025_13_38_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017800 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017802_17-07-2025_13_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017802 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017804_17-07-2025_13_38_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017804 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017806_17-07-2025_13_38_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017806 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017806_17-07-2025_13_38_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017806 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017809_17-07-2025_13_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017809 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017811_17-07-2025_13_39_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017811 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028493_17-07-2025_16_20_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028493 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028508_17-07-2025_16_08_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028508 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028517_17-07-2025_16_13_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028517 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028526_17-07-2025_16_14_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028526 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028529_17-07-2025_16_09_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028529 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028529_17-07-2025_16_09_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028529 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028532_17-07-2025_16_13_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028532 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028534_17-07-2025_16_13_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028534 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028552_17-07-2025_16_33_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028552 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25028604_04-09-2025_09_27_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028604 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25028604_04-09-2025_09_27_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028604 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028607_17-07-2025_16_10_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028607 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028610_17-07-2025_16_27_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028610 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036306_17-07-2025_18_43_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036306 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036309_17-07-2025_18_50_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036309 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036312_17-07-2025_18_38_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036312_17-07-2025_18_38_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036315_17-07-2025_18_42_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036315 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036317_17-07-2025_18_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036317 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036331_17-07-2025_18_41_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036331 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036333_17-07-2025_18_51_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036333 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036346_17-07-2025_18_38_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036346 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036346_17-07-2025_18_38_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036346 order by id desc limit 1 Qualite : 0.11570806422498424 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25036347_30-09-2025_15_23_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036347 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25036347 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042355_17-07-2025_21_09_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042355 order by id desc limit 1 Qualite : 0.006412950542647223 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25042358_01-10-2025_09_12_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042358 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25042358 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042361_17-07-2025_21_08_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042361 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042361_17-07-2025_21_08_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042361 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042363_17-07-2025_21_13_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042363 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042364_17-07-2025_21_12_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042364 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042382_17-07-2025_21_12_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042382 order by id desc limit 1 Qualite : 0.10896566358024692 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042396_17-07-2025_21_13_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042396 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`=25042396 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042418_17-07-2025_21_08_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042418 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042418_17-07-2025_21_08_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042418 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042449_17-07-2025_21_07_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042449 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25046900_17-07-2025_22_50_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25046900 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25046906_17-07-2025_22_39_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25046906 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25063054_18-07-2025_07_17_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25063054 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17072025': {'nb_upload': 18, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1372504826, 1372504723, 1372504584, 1372504483, 1372503780, 1372503778, 1372503774, 1372503182, 1372503154, 1372503122, 1372502964, 1372502932, 1372502870, 1372502839, 1372502615, 1372502552, 1372502486, 1372502431] Looping around the photos to save general results len do output : 1 /25042358Didn'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 ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504826', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504723', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504584', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372504483', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503780', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503778', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503774', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503182', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503154', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372503122', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502964', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502932', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502870', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502839', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502615', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502552', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502486', None, None, None, None, None, '3804714') ('4255', None, None, None, None, None, None, None, '3804714') ('4255', '25042358', '1372502431', None, None, None, None, None, '3804714') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.03922271728515625 save_final save missing photos in datou_result : time spend for datou_step_exec : 30.933440446853638 time spend to save output : 0.0395050048828125 total time spend for step 9 : 30.97294545173645 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 5.21user 1.25system 1:02.44elapsed 10%CPU (0avgtext+0avgdata 198072maxresident)k 10488inputs+49968outputs (13major+99855minor)pagefaults 0swaps