python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4250 ' -s datou_consolidate -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 2500646 load datou : 4250 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11599 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11600 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11597 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11597 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11604 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11598 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11601 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11602 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11603 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11605 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11599 have datatype=11 whereas input 0 of step 11597 have datatype=2 WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 3 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 1 of step 11597 doesn't seem to be define in the database( WARNING : output 0 of step 11604 have datatype=10 whereas input 3 of step 11603 have datatype=6 WARNING : type of input 1 of step 11604 doesn't seem to be define in the database( WARNING : output 1 of step 11597 have datatype=7 whereas input 1 of step 11604 have datatype=None WARNING : type of output 1 of step 11604 doesn't seem to be define in the database( WARNING : type of input 4 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11599 doesn't seem to be define in the database( WARNING : type of input 1 of step 11600 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4250, datou_cur_ids : ['4274584'] with mtr_portfolio_ids : ['24513881'] and first list_photo_ids : [] new path : /proc/2500646/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11599 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11600 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11597 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11597 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11604 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11598 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11601 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11602 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11603 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11605 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11599 have datatype=11 whereas input 0 of step 11597 have datatype=2 WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 3 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 1 of step 11597 doesn't seem to be define in the database( WARNING : output 0 of step 11604 have datatype=10 whereas input 3 of step 11603 have datatype=6 WARNING : type of input 1 of step 11604 doesn't seem to be define in the database( WARNING : output 1 of step 11597 have datatype=7 whereas input 1 of step 11604 have datatype=None WARNING : type of output 1 of step 11604 doesn't seem to be define in the database( WARNING : type of input 4 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11599 doesn't seem to be define in the database( WARNING : type of input 1 of step 11600 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 4.3423895835876465 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 Fri Dec 26 09:44:31 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 61 chid ids of type : 4207 batch 1 Loaded 153 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1369989079, 1369988825, 1369988823, 1369988821, 1369988819, 1369988817, 1369988815, 1369988741, 1369988740, 1369988739, 1369988497, 1369988495, 1369988493, 1369988491, 1369988489, 1369988487, 1369987796, 1369987794] Looping around the photos to save general results len do output : 18 /1369989079Didn't retrieve data . /1369988825Didn't retrieve data . /1369988823Didn't retrieve data . /1369988821Didn't retrieve data . /1369988819Didn't retrieve data . /1369988817Didn't retrieve data . /1369988815Didn't retrieve data . /1369988741Didn't retrieve data . /1369988740Didn't retrieve data . /1369988739Didn't retrieve data . /1369988497Didn't retrieve data . /1369988495Didn't retrieve data . /1369988493Didn't retrieve data . /1369988491Didn't retrieve data . /1369988489Didn't retrieve data . /1369988487Didn't retrieve data . /1369987796Didn't retrieve data . /1369987794Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369989079', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988825', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988823', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988821', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988819', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988817', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988815', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988741', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988740', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988739', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988497', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988495', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988493', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988491', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988489', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988487', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987796', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987794', None, None, None, None, None, '4274584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 time used for this insertion : 0.02632594108581543 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1073455810546875 time spend to save output : 0.026897192001342773 total time spend for step 1 : 0.13424277305603027 step2:consolidate_hashtags_from_manual_portfolio Fri Dec 26 09:44:32 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 : 24513881 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`=24513881 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24513881 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24513881 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24560408 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=24560409 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 7 chid ids of type : 4207 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24560410 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=24560411 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=24560412 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=24560413 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 142 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24560414 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=24560415 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=24560416 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=24560417 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 7 chid ids of type : 4207 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24560418 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=24560419 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=24560420 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=24560421 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 21 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : 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=24560422 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 153 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24560423 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=29711951 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 [1369989079, 1369988825, 1369988823, 1369988821, 1369988819, 1369988817, 1369988815, 1369988741, 1369988740, 1369988739, 1369988497, 1369988495, 1369988493, 1369988491, 1369988489, 1369988487, 1369987796, 1369987794] 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.0168764591217041 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.3996529579162598 time spend to save output : 0.017065048217773438 total time spend for step 2 : 2.416718006134033 step3:rle_unique_nms_with_priority Fri Dec 26 09:44:34 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 135 chid ids of type : 4207 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03004765510559082 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031996726989746094 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03260540962219238 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029944419860839844 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03190183639526367 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03276968002319336 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03144073486328125 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0328068733215332 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031174421310424805 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.032750844955444336 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030897855758666992 seulement à utiliser dans la step consolidation batch 1 Loaded 12 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03247427940368652 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03297686576843262 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03213810920715332 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03176474571228027 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.033890724182128906 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03151845932006836 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03147745132446289 map_output_result : {1369989079: (0.0, 'Should be the crop_list due to order', 0), 1369988825: (0.0, 'Should be the crop_list due to order', 0), 1369988823: (0.0, 'Should be the crop_list due to order', 0), 1369988821: (0.0, 'Should be the crop_list due to order', 0), 1369988819: (0.0, 'Should be the crop_list due to order', 0), 1369988817: (0.0, 'Should be the crop_list due to order', 0), 1369988815: (0.0, 'Should be the crop_list due to order', 0), 1369988741: (0.0, 'Should be the crop_list due to order', 0), 1369988740: (0.0, 'Should be the crop_list due to order', 0), 1369988739: (0.0, 'Should be the crop_list due to order', 0), 1369988497: (0.0, 'Should be the crop_list due to order', 0), 1369988495: (0.0, 'Should be the crop_list due to order', 0), 1369988493: (0.0, 'Should be the crop_list due to order', 0), 1369988491: (0.0, 'Should be the crop_list due to order', 0), 1369988489: (0.0, 'Should be the crop_list due to order', 0), 1369988487: (0.0, 'Should be the crop_list due to order', 0), 1369987796: (0.0, 'Should be the crop_list due to order', 0), 1369987794: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1369989079, 1369988825, 1369988823, 1369988821, 1369988819, 1369988817, 1369988815, 1369988741, 1369988740, 1369988739, 1369988497, 1369988495, 1369988493, 1369988491, 1369988489, 1369988487, 1369987796, 1369987794] Looping around the photos to save general results len do output : 18 /1369989079.Didn't retrieve data . /1369988825.Didn't retrieve data . /1369988823.Didn't retrieve data . /1369988821.Didn't retrieve data . /1369988819.Didn't retrieve data . /1369988817.Didn't retrieve data . /1369988815.Didn't retrieve data . /1369988741.Didn't retrieve data . /1369988740.Didn't retrieve data . /1369988739.Didn't retrieve data . /1369988497.Didn't retrieve data . /1369988495.Didn't retrieve data . /1369988493.Didn't retrieve data . /1369988491.Didn't retrieve data . /1369988489.Didn't retrieve data . /1369988487.Didn't retrieve data . /1369987796.Didn't retrieve data . /1369987794.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369989079', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988825', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988823', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988821', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988819', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988817', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988815', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988741', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988740', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988739', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988497', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988495', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988493', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988491', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988489', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988487', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987796', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987794', None, None, None, None, None, '4274584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.01956486701965332 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.058682918548584 time spend to save output : 0.020154953002929688 total time spend for step 3 : 3.0788378715515137 step4:ventilate_hashtags_in_portfolio Fri Dec 26 09:44:37 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 : 24513881 get user id for portfolio 24513881 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`=24513881 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24513881 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/24560408,24560409,24560410,24560411,24560412,24560413,24560414,24560415,24560416,24560417,24560418,24560419,24560420,24560421,24560422,24560423?tags=etiquette,metal,ela,barquette_opaque,kraft,papier,pet_opaque,flou,textiles_sanitaires,environnement,pet_clair,mal_croppe,pet_fonce,film_plastique,carton,pehd Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1369989079, 1369988825, 1369988823, 1369988821, 1369988819, 1369988817, 1369988815, 1369988741, 1369988740, 1369988739, 1369988497, 1369988495, 1369988493, 1369988491, 1369988489, 1369988487, 1369987796, 1369987794] Looping around the photos to save general results len do output : 1 /24513881. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369989079', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988825', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988823', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988821', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988819', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988817', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988815', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988741', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988740', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988739', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988497', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988495', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988493', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988491', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988489', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988487', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987796', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987794', None, None, None, None, None, '4274584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.018796443939208984 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3950798511505127 time spend to save output : 0.019083738327026367 total time spend for step 4 : 0.41416358947753906 step5:final Fri Dec 26 09:44:38 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 : {1369989079: ('0.03879400899839049',), 1369988825: ('0.03879400899839049',), 1369988823: ('0.03879400899839049',), 1369988821: ('0.03879400899839049',), 1369988819: ('0.03879400899839049',), 1369988817: ('0.03879400899839049',), 1369988815: ('0.03879400899839049',), 1369988741: ('0.03879400899839049',), 1369988740: ('0.03879400899839049',), 1369988739: ('0.03879400899839049',), 1369988497: ('0.03879400899839049',), 1369988495: ('0.03879400899839049',), 1369988493: ('0.03879400899839049',), 1369988491: ('0.03879400899839049',), 1369988489: ('0.03879400899839049',), 1369988487: ('0.03879400899839049',), 1369987796: ('0.03879400899839049',), 1369987794: ('0.03879400899839049',)} new output for save of step final : {1369989079: ('0.03879400899839049',), 1369988825: ('0.03879400899839049',), 1369988823: ('0.03879400899839049',), 1369988821: ('0.03879400899839049',), 1369988819: ('0.03879400899839049',), 1369988817: ('0.03879400899839049',), 1369988815: ('0.03879400899839049',), 1369988741: ('0.03879400899839049',), 1369988740: ('0.03879400899839049',), 1369988739: ('0.03879400899839049',), 1369988497: ('0.03879400899839049',), 1369988495: ('0.03879400899839049',), 1369988493: ('0.03879400899839049',), 1369988491: ('0.03879400899839049',), 1369988489: ('0.03879400899839049',), 1369988487: ('0.03879400899839049',), 1369987796: ('0.03879400899839049',), 1369987794: ('0.03879400899839049',)} [1369989079, 1369988825, 1369988823, 1369988821, 1369988819, 1369988817, 1369988815, 1369988741, 1369988740, 1369988739, 1369988497, 1369988495, 1369988493, 1369988491, 1369988489, 1369988487, 1369987796, 1369987794] Looping around the photos to save general results len do output : 18 /1369989079.Didn't retrieve data . /1369988825.Didn't retrieve data . /1369988823.Didn't retrieve data . /1369988821.Didn't retrieve data . /1369988819.Didn't retrieve data . /1369988817.Didn't retrieve data . /1369988815.Didn't retrieve data . /1369988741.Didn't retrieve data . /1369988740.Didn't retrieve data . /1369988739.Didn't retrieve data . /1369988497.Didn't retrieve data . /1369988495.Didn't retrieve data . /1369988493.Didn't retrieve data . /1369988491.Didn't retrieve data . /1369988489.Didn't retrieve data . /1369988487.Didn't retrieve data . /1369987796.Didn't retrieve data . /1369987794.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369989079', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988825', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988823', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988821', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988819', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988817', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988815', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988741', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988740', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988739', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988497', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988495', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988493', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988491', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988489', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988487', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987796', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987794', None, None, None, None, None, '4274584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 54 time used for this insertion : 0.016249656677246094 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.04494023323059082 time spend to save output : 0.01696300506591797 total time spend for step 5 : 0.06190323829650879 step6:blur_detection Fri Dec 26 09:44:38 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.010902881622314453 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.02588033676147461 save missing photos in datou_result : time spend for datou_step_exec : 0.02928018569946289 time spend to save output : 0.0416264533996582 total time spend for step 6 : 0.0709066390991211 step7:brightness Fri Dec 26 09:44:38 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.011035680770874023 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.010744571685791016 save missing photos in datou_result : time spend for datou_step_exec : 0.03525829315185547 time spend to save output : 0.026629924774169922 total time spend for step 7 : 0.06188821792602539 step8:send_mail_cod Fri Dec 26 09:44:38 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_P24513881_26-12-2025_09_44_38.pdf 24560408 imagette245604081766738678 24560409 change filename to text .imagette245604091766738678 24560410 imagette245604101766738678 24560411 imagette245604111766738678 24560412 imagette245604121766738678 24560413 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette245604131766738678 24560414 imagette245604141766738681 24560416 imagette245604161766738681 24560418 imagette245604181766738681 24560420 imagette245604201766738681 24560421 change filename to text .change filename to text .imagette245604211766738681 24560423 imagette245604231766738681 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24513881 and hashtag_type = 4207 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/24560408,24560409,24560410,24560411,24560412,24560413,24560414,24560415,24560416,24560417,24560418,24560419,24560420,24560421,24560422,24560423?tags=etiquette,metal,ela,barquette_opaque,kraft,papier,pet_opaque,flou,textiles_sanitaires,environnement,pet_clair,mal_croppe,pet_fonce,film_plastique,carton,pehd your option no_mail is active, we will not send the real mail to your client args[1369989079] : ((1369989079, -5.637844585938409, 492609224), (1369989079, -0.6596359941224827, 501862349), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988825] : ((1369988825, -7.113485545517601, 492609224), (1369988825, 0.3177472299096314, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988823] : ((1369988823, -7.059058460864816, 492609224), (1369988823, 0.6000969938975328, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988821] : ((1369988821, -7.0246501587817995, 492609224), (1369988821, 0.6831004638196017, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988819] : ((1369988819, -6.933287580201536, 492609224), (1369988819, 0.6586706486877903, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988817] : ((1369988817, -7.1855901001871505, 492609224), (1369988817, 0.5924215844141215, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988815] : ((1369988815, -7.220752374535845, 492609224), (1369988815, 0.6537837678140294, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988741] : ((1369988741, -7.048933799513966, 492609224), (1369988741, 0.3935517065575771, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988740] : ((1369988740, -6.939204435002322, 492609224), (1369988740, 0.6838081213100261, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988739] : ((1369988739, -7.193415813384654, 492609224), (1369988739, 1.3246247407419511, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988497] : ((1369988497, -7.103011609151289, 492609224), (1369988497, 0.756976655281449, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988495] : ((1369988495, -7.234123849254333, 492609224), (1369988495, 0.853777416324666, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988493] : ((1369988493, -6.903235712239143, 492609224), (1369988493, 0.6368618360418468, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988491] : ((1369988491, -6.088555596381403, 492609224), (1369988491, 0.09012687928467095, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988489] : ((1369988489, -7.104240069264191, 492609224), (1369988489, 0.5984778825322803, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369988487] : ((1369988487, -7.238599674121943, 492609224), (1369988487, 0.6803510293210774, 2107752395), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369987796] : ((1369987796, -5.972636860864831, 492609224), (1369987796, -0.3357227548112357, 496442774), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com args[1369987794] : ((1369987794, -5.672314314480254, 492609224), (1369987794, -0.6855390353341342, 501862349), '0.03879400899839049') We are sending mail with results at kexin@fotonower.com refus_total : 0.03879400899839049 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=24513881 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_P24513881_26-12-2025_09_44_38.pdf results_COD_P24513881_26-12-2025_09_44_38.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24513881_26-12-2025_09_44_38.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4250','24513881','results_COD_P24513881_26-12-2025_09_44_38.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24513881_26-12-2025_09_44_38.pdf','pdf','','0.75','0.03879400899839049') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1369989079, 1369988825, 1369988823, 1369988821, 1369988819, 1369988817, 1369988815, 1369988741, 1369988740, 1369988739, 1369988497, 1369988495, 1369988493, 1369988491, 1369988489, 1369988487, 1369987796, 1369987794] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369989079', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988825', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988823', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988821', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988819', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988817', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988815', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988741', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988740', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988739', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988497', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988495', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988493', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988491', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988489', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988487', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987796', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987794', None, None, None, None, None, '4274584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.018770456314086914 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.581520318984985 time spend to save output : 0.019006967544555664 total time spend for step 8 : 6.600527286529541 step9:split_time_score Fri Dec 26 09:44:44 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'}] (('17', 18),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02072025 24513881 Nombre de photos uploadées : 18 / 23040 (0%) 02072025 24513881 Nombre de photos taguées (types de déchets): 0 / 18 (0%) 02072025 24513881 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 1.2159347534179688e-05 ?????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0009827613830566406 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2613952159881592 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_P24539740_03-07-2025_05_01_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24539740 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24526739_03-07-2025_06_13_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24526739 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24521573_02-07-2025_20_24_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24521573 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498662_03-07-2025_00_44_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498662 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498664_02-07-2025_16_54_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498664 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498664_02-07-2025_16_54_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498664 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498668_02-07-2025_13_20_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498668 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498671_02-07-2025_13_31_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498671 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498674_02-07-2025_13_27_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498674 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498676_02-07-2025_13_17_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498676 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498676_02-07-2025_13_17_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498676 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498679_02-07-2025_13_20_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498679 order by id desc limit 1 Qualite : 0.0007420815827461854 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24498690_30-09-2025_17_09_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498690 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`=24498690 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498707_02-07-2025_13_17_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498707 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498710_02-07-2025_13_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498710 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24498710_02-07-2025_13_09_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24498710 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516716_02-07-2025_21_14_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516716 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24513858_03-07-2025_03_15_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513858 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508840_02-07-2025_17_07_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508840 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508842_02-07-2025_17_31_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508842 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508844_02-07-2025_17_49_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508844 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508844_02-07-2025_17_49_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508844 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508846_02-07-2025_17_23_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508846 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24508849_31-10-2025_13_53_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508849 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508863_02-07-2025_17_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508863 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508863_02-07-2025_17_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508863 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508877_02-07-2025_17_28_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508877 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508879_02-07-2025_17_26_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508879 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24508881_25-09-2025_12_31_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508881 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24508881_25-09-2025_12_31_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508881 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508884_02-07-2025_21_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508884 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508886_03-07-2025_11_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508886 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508888_02-07-2025_17_17_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508888 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508888_02-07-2025_17_17_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508888 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508890_02-07-2025_17_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508890 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507555_02-07-2025_16_52_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507555 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507556_03-07-2025_04_31_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507556 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507557_02-07-2025_16_59_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507557 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507558_02-07-2025_16_59_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507558 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507559_02-07-2025_16_49_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507559 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507559_02-07-2025_16_49_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507559 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502280_02-07-2025_14_50_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502280 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502282_03-07-2025_11_03_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502282 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24502284_04-09-2025_09_23_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502284 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24502284_04-09-2025_09_23_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502284 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502310_02-07-2025_15_19_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502310 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502312_02-07-2025_14_51_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502314_02-07-2025_14_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502314 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502314_02-07-2025_14_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502314 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502316_02-07-2025_14_56_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502316 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24502320_02-07-2025_14_57_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24502320 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507585_02-07-2025_17_04_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507585 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24506203_02-07-2025_16_24_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24506203 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24506205_02-07-2025_16_14_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24506205 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504914_02-07-2025_15_53_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504914 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504914_02-07-2025_15_53_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504914 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504928_02-07-2025_16_02_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504928 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504955_02-07-2025_15_54_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504955 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504969_02-07-2025_15_49_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504969 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24504969_02-07-2025_15_49_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24504969 order by id desc limit 1 Qualite : 0.04513943525108459 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24506207_31-10-2025_14_42_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24506207 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 11635 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11636 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11633 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11633 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11640 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11634 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11637 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11638 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11639 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11641 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 11635 have datatype=11 whereas input 0 of step 11633 have datatype=2 WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 3 of step 11634 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 11636 doesn't seem to be define in the database( WARNING : type of input 1 of step 11633 doesn't seem to be define in the database( WARNING : output 0 of step 11640 have datatype=10 whereas input 3 of step 11639 have datatype=6 WARNING : type of input 1 of step 11640 doesn't seem to be define in the database( WARNING : output 1 of step 11633 have datatype=7 whereas input 1 of step 11640 have datatype=None WARNING : type of output 1 of step 11640 doesn't seem to be define in the database( WARNING : type of input 4 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11635 doesn't seem to be define in the database( WARNING : type of input 1 of step 11636 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`=24506207 AND mptpi.`type`=4200 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507588_02-07-2025_16_56_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507588 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507590_03-07-2025_04_38_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507590 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507592_02-07-2025_16_59_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507592 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507618_02-07-2025_16_45_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507618 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507618_02-07-2025_16_45_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507618 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507633_03-07-2025_11_16_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507633 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507645_03-07-2025_04_51_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507645 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24507649_02-07-2025_16_52_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24507649 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508891_02-07-2025_17_16_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508891 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24508891_02-07-2025_17_16_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24508891 order by id desc limit 1 Qualite : 0.04949791152886149 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24510221_30-09-2025_17_07_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24510221 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 11635 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11636 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11633 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11633 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11640 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11634 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11637 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11638 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11639 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11641 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 11635 have datatype=11 whereas input 0 of step 11633 have datatype=2 WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 3 of step 11634 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 11636 doesn't seem to be define in the database( WARNING : type of input 1 of step 11633 doesn't seem to be define in the database( WARNING : output 0 of step 11640 have datatype=10 whereas input 3 of step 11639 have datatype=6 WARNING : type of input 1 of step 11640 doesn't seem to be define in the database( WARNING : output 1 of step 11633 have datatype=7 whereas input 1 of step 11640 have datatype=None WARNING : type of output 1 of step 11640 doesn't seem to be define in the database( WARNING : type of input 4 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11635 doesn't seem to be define in the database( WARNING : type of input 1 of step 11636 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`=24510221 AND mptpi.`type`=4200 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24510235_02-07-2025_18_15_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24510235 order by id desc limit 1 Qualite : 0.13600651577503428 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24510238_02-07-2025_17_55_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24510238 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`=24510238 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24510240_02-07-2025_17_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24510240 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24510240_02-07-2025_17_41_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24510240 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24513869_03-07-2025_03_19_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513869 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24513873_03-07-2025_07_20_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513873 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24513877_03-07-2025_09_18_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513877 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24513881_26-12-2025_09_44_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513881 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24513881_26-12-2025_09_44_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24513881 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516729_02-07-2025_21_07_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516729 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516735_02-07-2025_23_23_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516735 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516742_02-07-2025_19_12_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516742 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516742_02-07-2025_19_12_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516742 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24516747_02-07-2025_20_58_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24516747 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24521587_02-07-2025_20_26_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24521587 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24521600_02-07-2025_20_30_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24521600 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24521601_02-07-2025_20_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24521601 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24521602_02-07-2025_20_12_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24521602 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523311_02-07-2025_20_46_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523311 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523311_02-07-2025_20_46_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523311 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523312_03-07-2025_01_30_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523313_02-07-2025_21_05_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523313 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24523326_02-07-2025_20_50_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523326 order by id desc limit 1 Qualite : 0.0586212156468222 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24523339_16-12-2025_09_48_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24523339 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 11635 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11636 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11633 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11633 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11640 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11634 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11637 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11638 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11639 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11641 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 11635 have datatype=11 whereas input 0 of step 11633 have datatype=2 WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 3 of step 11634 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 11636 doesn't seem to be define in the database( WARNING : type of input 1 of step 11633 doesn't seem to be define in the database( WARNING : output 0 of step 11640 have datatype=10 whereas input 3 of step 11639 have datatype=6 WARNING : type of input 1 of step 11640 doesn't seem to be define in the database( WARNING : output 1 of step 11633 have datatype=7 whereas input 1 of step 11640 have datatype=None WARNING : type of output 1 of step 11640 doesn't seem to be define in the database( WARNING : type of input 4 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11635 doesn't seem to be define in the database( WARNING : type of input 1 of step 11636 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`=24523339 AND mptpi.`type`=4200 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24526761_02-07-2025_21_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24526761 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24526761_02-07-2025_21_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24526761 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24526771_02-07-2025_21_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24526771 order by id desc limit 1 Qualite : 0.1295122038993386 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24526772_24-09-2025_16_16_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24526772 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`=24526772 AND mptpi.`type`=4211 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02072025': {'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 [1369989079, 1369988825, 1369988823, 1369988821, 1369988819, 1369988817, 1369988815, 1369988741, 1369988740, 1369988739, 1369988497, 1369988495, 1369988493, 1369988491, 1369988489, 1369988487, 1369987796, 1369987794] Looping around the photos to save general results len do output : 1 /24513881Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369989079', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988825', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988823', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988821', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988819', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988817', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988815', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988741', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988740', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988739', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988497', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988495', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988493', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988491', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988489', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369988487', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987796', None, None, None, None, None, '4274584') ('4250', None, None, None, None, None, None, None, '4274584') ('4250', '24513881', '1369987794', None, None, None, None, None, '4274584') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.017926692962646484 save_final save missing photos in datou_result : time spend for datou_step_exec : 66.88854765892029 time spend to save output : 0.018265724182128906 total time spend for step 9 : 66.90681338310242 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.36user 1.80system 1:26.37elapsed 8%CPU (0avgtext+0avgdata 203584maxresident)k 488inputs+67064outputs (0major+147921minor)pagefaults 0swaps