python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4254 ' -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 : 2385462 load datou : 4254 # 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 ! 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 : 4254, datou_cur_ids : ['3904401'] with mtr_portfolio_ids : ['26161472'] and first list_photo_ids : [] new path : /proc/2385462/ 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 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 ! 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 , BFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 11 ; length of list_pids : 11 ; length of list_args : 11 time to download the photos : 3.041842222213745 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 Thu Oct 9 16:00: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 Begin step datou_step_copy_crop batch 1 Loaded 13 chid ids of type : 4200 batch 1 Loaded 149 chid ids of type : 4200 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 [1378673144, 1378672759, 1378672758, 1378672747, 1378672711, 1378672709, 1378672707, 1378672669, 1378672667, 1378672664, 1378672662] Looping around the photos to save general results len do output : 11 /1378672662Didn't retrieve data . /1378672664Didn't retrieve data . /1378672667Didn't retrieve data . /1378672669Didn't retrieve data . /1378672707Didn't retrieve data . /1378672709Didn't retrieve data . /1378672711Didn't retrieve data . /1378672747Didn't retrieve data . /1378672758Didn't retrieve data . /1378672759Didn't retrieve data . /1378673144Didn'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 ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378673144', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672759', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672758', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672747', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672711', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672709', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672707', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672669', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672667', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672664', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672662', None, None, None, None, None, '3904401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 time used for this insertion : 0.03677201271057129 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.22951602935791016 time spend to save output : 0.03725600242614746 total time spend for step 1 : 0.2667720317840576 step2:consolidate_hashtags_from_manual_portfolio Thu Oct 9 16:00:33 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 : 26161472 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`=26161472 AND mptpi.`type`=4200 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`=26161472 AND mptpi.`type`=4200 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`=26161472 AND mptpi.`type`=4200 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=26166778 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 111 chid ids of type : 4200 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=26166779 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=26166780 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=26166781 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 122 chid ids of type : 4200 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=26166782 AND mpp.hide_status=0 ORDER BY ph.size desc Catched exception ! Connect or reconnect ! 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=26166783 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 12 chid ids of type : 4200 begin to find the sub_photo_id : Catched exception ! Connect or reconnect ! 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=26166784 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=26166785 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 115 chid ids of type : 4200 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=26166786 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=26166787 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 16 chid ids of type : 4200 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=26166788 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=26166789 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 103 chid ids of type : 4200 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=26166791 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 149 chid ids of type : 4200 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=26166792 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 91 chid ids of type : 4200 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=26166793 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=26166794 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 81 chid ids of type : 4200 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=27649565 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 [1378673144, 1378672759, 1378672758, 1378672747, 1378672711, 1378672709, 1378672707, 1378672669, 1378672667, 1378672664, 1378672662] 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 : 11 time used for this insertion : 0.03654193878173828 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.428426742553711 time spend to save output : 0.03674459457397461 total time spend for step 2 : 11.465171337127686 step3:rle_unique_nms_with_priority Thu Oct 9 16:00: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 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 124 chid ids of type : 4200 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10413312911987305 seulement à utiliser dans la step consolidation batch 1 Loaded 16 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1032869815826416 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10300707817077637 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.11166048049926758 seulement à utiliser dans la step consolidation batch 1 Loaded 16 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10374593734741211 seulement à utiliser dans la step consolidation batch 1 Loaded 18 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10359549522399902 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10454106330871582 seulement à utiliser dans la step consolidation batch 1 Loaded 16 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10182070732116699 seulement à utiliser dans la step consolidation batch 1 Loaded 15 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10332798957824707 seulement à utiliser dans la step consolidation batch 1 Loaded 12 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10457062721252441 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10267877578735352 map_output_result : {1378673144: (0.0, 'Should be the crop_list due to order', 0), 1378672759: (0.0, 'Should be the crop_list due to order', 0), 1378672758: (0.0, 'Should be the crop_list due to order', 0), 1378672747: (0.0, 'Should be the crop_list due to order', 0), 1378672711: (0.0, 'Should be the crop_list due to order', 0), 1378672709: (0.0, 'Should be the crop_list due to order', 0), 1378672707: (0.0, 'Should be the crop_list due to order', 0), 1378672669: (0.0, 'Should be the crop_list due to order', 0), 1378672667: (0.0, 'Should be the crop_list due to order', 0), 1378672664: (0.0, 'Should be the crop_list due to order', 0), 1378672662: (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 [1378673144, 1378672759, 1378672758, 1378672747, 1378672711, 1378672709, 1378672707, 1378672669, 1378672667, 1378672664, 1378672662] Looping around the photos to save general results len do output : 11 /1378673144.Didn't retrieve data . /1378672759.Didn't retrieve data . /1378672758.Didn't retrieve data . /1378672747.Didn't retrieve data . /1378672711.Didn't retrieve data . /1378672709.Didn't retrieve data . /1378672707.Didn't retrieve data . /1378672669.Didn't retrieve data . /1378672667.Didn't retrieve data . /1378672664.Didn't retrieve data . /1378672662.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 ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378673144', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672759', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672758', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672747', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672711', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672709', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672707', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672669', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672667', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672664', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672662', None, None, None, None, None, '3904401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.036670684814453125 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5407679080963135 time spend to save output : 0.037198543548583984 total time spend for step 3 : 2.5779664516448975 step4:ventilate_hashtags_in_portfolio Thu Oct 9 16:00:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 26161472 get user id for portfolio 26161472 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`=26161472 AND mptpi.`type`=4200 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`=26161472 AND mptpi.`type`=4200 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/26166778,26166779,26166780,26166781,26166782,26166783,26166784,26166785,26166786,26166787,26166788,26166789,26166791,26166792,26166793,26166794?tags=barquette_opaque,ela,kraft,pet_clair,pet_fonce,etiquette,pehd,film_plastique,textiles_sanitaires,flou,papier,pet_opaque,mal_croppe,environnement,metal,carton Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1378673144, 1378672759, 1378672758, 1378672747, 1378672711, 1378672709, 1378672707, 1378672669, 1378672667, 1378672664, 1378672662] Looping around the photos to save general results len do output : 1 /26161472. 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 ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378673144', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672759', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672758', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672747', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672711', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672709', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672707', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672669', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672667', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672664', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672662', None, None, None, None, None, '3904401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.0420680046081543 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.559781551361084 time spend to save output : 0.04232001304626465 total time spend for step 4 : 4.602101564407349 step5:final Thu Oct 9 16:00:51 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 : {1378673144: ('0.9975719054101996',), 1378672759: ('0.9975719054101996',), 1378672758: ('0.9975719054101996',), 1378672747: ('0.9975719054101996',), 1378672711: ('0.9975719054101996',), 1378672709: ('0.9975719054101996',), 1378672707: ('0.9975719054101996',), 1378672669: ('0.9975719054101996',), 1378672667: ('0.9975719054101996',), 1378672664: ('0.9975719054101996',), 1378672662: ('0.9975719054101996',)} new output for save of step final : {1378673144: ('0.9975719054101996',), 1378672759: ('0.9975719054101996',), 1378672758: ('0.9975719054101996',), 1378672747: ('0.9975719054101996',), 1378672711: ('0.9975719054101996',), 1378672709: ('0.9975719054101996',), 1378672707: ('0.9975719054101996',), 1378672669: ('0.9975719054101996',), 1378672667: ('0.9975719054101996',), 1378672664: ('0.9975719054101996',), 1378672662: ('0.9975719054101996',)} [1378673144, 1378672759, 1378672758, 1378672747, 1378672711, 1378672709, 1378672707, 1378672669, 1378672667, 1378672664, 1378672662] Looping around the photos to save general results len do output : 11 /1378673144.Didn't retrieve data . /1378672759.Didn't retrieve data . /1378672758.Didn't retrieve data . /1378672747.Didn't retrieve data . /1378672711.Didn't retrieve data . /1378672709.Didn't retrieve data . /1378672707.Didn't retrieve data . /1378672669.Didn't retrieve data . /1378672667.Didn't retrieve data . /1378672664.Didn't retrieve data . /1378672662.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 ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378673144', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672759', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672758', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672747', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672711', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672709', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672707', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672669', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672667', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672664', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672662', None, None, None, None, None, '3904401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 time used for this insertion : 0.1377880573272705 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.34572410583496094 time spend to save output : 0.13835620880126953 total time spend for step 5 : 0.48408031463623047 step6:blur_detection Thu Oct 9 16:00:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 11 time used for this insertion : 0.033438920974731445 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 11 time used for this insertion : 0.034432411193847656 save missing photos in datou_result : time spend for datou_step_exec : 0.08846306800842285 time spend to save output : 0.08584356307983398 total time spend for step 6 : 0.17430663108825684 step7:brightness Thu Oct 9 16:00:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 11 time used for this insertion : 0.03425335884094238 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 11 time used for this insertion : 0.0340571403503418 save missing photos in datou_result : time spend for datou_step_exec : 0.10332345962524414 time spend to save output : 0.08480358123779297 total time spend for step 7 : 0.1881270408630371 step8:send_mail_cod Thu Oct 9 16:00:52 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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_P26161472_09-10-2025_16_00_52.pdf 26166778 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 .imagette261667781760018452 26166779 imagette261667791760018453 26166780 imagette261667801760018453 26166781 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 .imagette261667811760018453 26166783 change filename to text .imagette261667831760018455 26166784 imagette261667841760018455 26166785 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 .imagette261667851760018455 26166786 imagette261667861760018458 26166788 imagette261667881760018458 26166789 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 .imagette261667891760018458 26166793 imagette261667931760018459 26166794 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 .imagette261667941760018459 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26161472 and hashtag_type = 4200 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26166778,26166779,26166780,26166781,26166782,26166783,26166784,26166785,26166786,26166787,26166788,26166789,26166791,26166792,26166793,26166794?tags=barquette_opaque,ela,kraft,pet_clair,pet_fonce,etiquette,pehd,film_plastique,textiles_sanitaires,flou,papier,pet_opaque,mal_croppe,environnement,metal,carton your option no_mail is active, we will not send the real mail to your client args[1378673144] : ((1378673144, -1.0169630504644194, 492688767), (1378673144, -0.15756644036017445, 496442774), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com args[1378672759] : ((1378672759, -1.678359477838508, 492688767), (1378672759, -0.25350225019313394, 496442774), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com args[1378672758] : ((1378672758, -1.1124981254801667, 492688767), (1378672758, -0.19891020802607912, 496442774), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com args[1378672747] : ((1378672747, -1.3281325095097805, 492688767), (1378672747, -0.23151674666144154, 496442774), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com args[1378672711] : ((1378672711, -1.4315379280131089, 492688767), (1378672711, -0.1493687864955498, 496442774), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com args[1378672709] : ((1378672709, -6.0847299829498525, 492609224), (1378672709, -0.1691586467333904, 496442774), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com args[1378672707] : ((1378672707, -1.6377855812393507, 492688767), (1378672707, -0.07518049482066443, 496442774), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com args[1378672669] : ((1378672669, -5.153167769440324, 492609224), (1378672669, -0.25756254453317734, 496442774), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com args[1378672667] : ((1378672667, 0.386766470049269, 492688767), (1378672667, -0.08912892743663088, 496442774), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com args[1378672664] : ((1378672664, 0.46893046145102385, 492688767), (1378672664, -0.16382456754626867, 496442774), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com args[1378672662] : ((1378672662, 4.675278403365686, 492688767), (1378672662, 0.21538332780094935, 2107752395), '0.9975719054101996') We are sending mail with results at kexin@fotonower.com refus_total : 0.9975719054101996 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=26161472 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_P26161472_09-10-2025_16_00_52.pdf results_COD_P26161472_09-10-2025_16_00_52.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26161472_09-10-2025_16_00_52.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4254','26161472','results_COD_P26161472_09-10-2025_16_00_52.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26161472_09-10-2025_16_00_52.pdf','pdf','','1.19','0.9975719054101996') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1378673144, 1378672759, 1378672758, 1378672747, 1378672711, 1378672709, 1378672707, 1378672669, 1378672667, 1378672664, 1378672662] 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 ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378673144', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672759', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672758', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672747', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672711', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672709', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672707', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672669', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672667', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672664', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672662', None, None, None, None, None, '3904401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.03567314147949219 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.298229455947876 time spend to save output : 0.03591489791870117 total time spend for step 8 : 11.334144353866577 step9:split_time_score Thu Oct 9 16:01:03 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'}] (('21', 11),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22082025 26161472 Nombre de photos uploadées : 11 / 23040 (0%) 22082025 26161472 Nombre de photos taguées (types de déchets): 0 / 11 (0%) 22082025 26161472 Nombre de photos taguées (volume) : 0 / 11 (0%) elapsed_time : load_data_split_time_score 4.5299530029296875e-06 elapsed_time : order_list_meta_photo_and_scores 1.0967254638671875e-05 ??????????? elapsed_time : fill_and_build_computed_from_old_data 0.0009031295776367188 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6649775505065918 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_P26139550_22-08-2025_07_14_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139550 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139552_22-08-2025_12_17_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139552 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139553_22-08-2025_07_12_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139553 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139561_22-08-2025_12_22_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139561 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139569_22-08-2025_12_57_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139569 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139573_22-08-2025_08_04_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139573 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139575_22-08-2025_12_42_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139575 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139579_22-08-2025_08_09_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139579 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139581_22-08-2025_08_00_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139581 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139583_22-08-2025_12_54_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139583 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139587_22-08-2025_07_30_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139587 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139591_22-08-2025_13_12_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139591 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139593_22-08-2025_08_03_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139593 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139595_22-08-2025_08_02_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139595 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139597_22-08-2025_13_22_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139597 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139600_22-08-2025_07_43_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139600 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139602_22-08-2025_07_34_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139602 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139605_22-08-2025_19_42_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139605 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139609_22-08-2025_07_54_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139609 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139610_22-08-2025_07_34_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139610 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139611_22-08-2025_13_43_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139611 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139612_22-08-2025_13_52_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139612 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139614_22-08-2025_07_27_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139614 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139615_22-08-2025_13_58_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139615 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141571_22-08-2025_08_39_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26141571 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141710_22-08-2025_09_10_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26141710 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141972_22-08-2025_08_40_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26141972 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139624_22-08-2025_07_25_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139624 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139627_22-08-2025_07_12_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139627 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26142848_22-08-2025_09_20_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26142848 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139678_22-08-2025_07_27_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139678 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26139894_22-08-2025_07_37_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26139894 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26140259_22-08-2025_07_30_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26140259 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26145024_22-08-2025_11_05_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26145024 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26141095_22-08-2025_08_06_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26141095 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146708_22-08-2025_12_06_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26146708 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146709_22-08-2025_12_03_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26146709 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146710_22-08-2025_12_17_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26146710 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26147269_22-08-2025_18_23_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26147269 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26149560_22-08-2025_19_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26149560 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26149973_22-08-2025_14_13_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26149973 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26143720_22-08-2025_09_59_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26143720 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26150713_22-08-2025_14_29_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26150713 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151841_22-08-2025_15_15_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26151841 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144344_22-08-2025_10_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26144344 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26144345_22-08-2025_10_26_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26144345 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146913_22-08-2025_12_08_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26146913 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146600_22-08-2025_17_57_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26146600 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146711_22-08-2025_11_53_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26146711 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146712_22-08-2025_12_02_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26146712 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26146713_22-08-2025_11_59_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26146713 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151865_22-08-2025_20_21_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26151865 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26151680_22-08-2025_15_14_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26151680 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26150342_22-08-2025_19_23_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26150342 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26152642_22-08-2025_15_38_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26152642 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26153832_22-08-2025_16_23_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26153832 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26153834_22-08-2025_16_12_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26153834 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26154195_22-08-2025_21_43_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26154195 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26155183_22-08-2025_21_58_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26155183 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26156282_22-08-2025_17_50_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26156282 order by id desc limit 1 Qualite : 0.1100499775482237 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P26156429_09-10-2025_12_22_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26156429 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`=26156429 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157521_22-08-2025_18_59_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26157521 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26157712_22-08-2025_18_57_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26157712 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158335_22-08-2025_19_34_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26158335 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26158917_22-08-2025_23_40_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26158917 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159045_22-08-2025_19_53_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26159045 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159315_22-08-2025_20_08_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26159315 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159318_23-08-2025_00_04_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26159318 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26159469_23-08-2025_00_08_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26159469 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26160160_22-08-2025_21_03_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26160160 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26160162_22-08-2025_20_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26160162 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26160993_23-08-2025_00_53_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26160993 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161330_22-08-2025_21_56_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26161330 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161637_23-08-2025_01_44_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26161637 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26161638_22-08-2025_22_17_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26161638 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162373_23-08-2025_02_23_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26162373 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162374_23-08-2025_02_28_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26162374 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162945_22-08-2025_23_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26162945 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26162947_23-08-2025_02_47_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26162947 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26164289_23-08-2025_00_14_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26164289 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26164293_23-08-2025_00_16_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26164293 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26164295_23-08-2025_00_13_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26164295 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26164298_23-08-2025_00_15_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26164298 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26256886_27-08-2025_08_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26256886 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22082025': {'nb_upload': 11, '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 [1378673144, 1378672759, 1378672758, 1378672747, 1378672711, 1378672709, 1378672707, 1378672669, 1378672667, 1378672664, 1378672662] Looping around the photos to save general results len do output : 1 /26161472Didn'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 ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378673144', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672759', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672758', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672747', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672711', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672709', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672707', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672669', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672667', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672664', None, None, None, None, None, '3904401') ('4254', None, None, None, None, None, None, None, '3904401') ('4254', '26161472', '1378672662', None, None, None, None, None, '3904401') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.036530494689941406 save_final save missing photos in datou_result : time spend for datou_step_exec : 33.11442756652832 time spend to save output : 0.03682351112365723 total time spend for step 9 : 33.15125107765198 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 11 set_done_treatment 4.41user 1.18system 1:11.47elapsed 7%CPU (0avgtext+0avgdata 175996maxresident)k 136inputs+63872outputs (12major+76353minor)pagefaults 0swaps