python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 ~/workarea/git/Velours/python/prod/datou.py -j batch_current -a 4252 -P 5486001' -s traitement_sts -M 0 -S 0 -U 100,80,95 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/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', '/home/admin/workarea/git/apy', '/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 : 4129067 load datou : 4252 # 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 ! 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 updating current state to 1 list_input_json: [] Current got : datou_id : 4252, datou_cur_ids : ['2596675'] with mtr_portfolio_ids : ['5486001'] and first list_photo_ids : [] new path : /proc/4129067/ 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 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 ! 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 , BFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 5 ; length of list_pids : 5 ; length of list_args : 5 time to download the photos : 0.7480359077453613 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 Tue Feb 18 15:23:10 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 6 chid ids of type : 4211 batch 1 Loaded 131 chid ids of type : 4211 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 [1065568816, 1065568708, 1065568705, 1065568698, 1065568694] Looping around the photos to save general results len do output : 5 /1065568694Didn't retrieve data . /1065568698Didn't retrieve data . /1065568705Didn't retrieve data . /1065568708Didn't retrieve data . /1065568816Didn'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 ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568816', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568708', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568705', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568698', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568694', None, None, None, None, None, '2596675') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.07587313652038574 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.6493480205535889 time spend to save output : 0.07616567611694336 total time spend for step 1 : 0.7255136966705322 step2:consolidate_hashtags_from_manual_portfolio Tue Feb 18 15:23:11 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 : 5486001 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`=5486001 AND mptpi.`type`=4211 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`=5486001 AND mptpi.`type`=4211 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`=5486001 AND mptpi.`type`=4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640186 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 27 chid ids of type : 4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640187 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 102 chid ids of type : 4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640188 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640189 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640190 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640191 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 131 chid ids of type : 4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640192 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 82 chid ids of type : 4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640193 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640194 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 26 chid ids of type : 4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640195 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 56 chid ids of type : 4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640196 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 27 chid ids of type : 4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640197 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640198 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 105 chid ids of type : 4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640199 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640201 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 82 chid ids of type : 4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640202 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 131 chid ids of type : 4211 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20640496 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 [1065568816, 1065568708, 1065568705, 1065568698, 1065568694] 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 : 5 time used for this insertion : 0.012860298156738281 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.144996166229248 time spend to save output : 0.013018131256103516 total time spend for step 2 : 14.158014297485352 step3:rle_unique_nms_with_priority Tue Feb 18 15:23:25 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 126 chid ids of type : 4211 seulement à utiliser dans la step consolidation batch 1 Loaded 26 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030422210693359375 seulement à utiliser dans la step consolidation batch 1 Loaded 22 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03512883186340332 seulement à utiliser dans la step consolidation batch 1 Loaded 27 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03039073944091797 seulement à utiliser dans la step consolidation batch 1 Loaded 29 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.035265445709228516 seulement à utiliser dans la step consolidation batch 1 Loaded 27 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029372215270996094 map_output_result : {1065568816: (0.0, 'Should be the crop_list due to order', 0), 1065568708: (0.0, 'Should be the crop_list due to order', 0), 1065568705: (0.0, 'Should be the crop_list due to order', 0.0), 1065568698: (0.0, 'Should be the crop_list due to order', 0), 1065568694: (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 [1065568816, 1065568708, 1065568705, 1065568698, 1065568694] Looping around the photos to save general results len do output : 5 /1065568816.Didn't retrieve data . /1065568708.Didn't retrieve data . /1065568705.Didn't retrieve data . /1065568698.Didn't retrieve data . /1065568694.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 ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568816', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568708', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568705', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568698', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568694', None, None, None, None, None, '2596675') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.012654304504394531 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4099695682525635 time spend to save output : 0.012920379638671875 total time spend for step 3 : 1.4228899478912354 step4:ventilate_hashtags_in_portfolio Tue Feb 18 15:23:26 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 : 5486001 get user id for portfolio 5486001 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`=5486001 AND mptpi.`type`=4211 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`=5486001 AND mptpi.`type`=4211 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://www.fotonower.com/velours/20640186,20640187,20640188,20640189,20640190,20640191,20640192,20640193,20640194,20640195,20640196,20640197,20640198,20640199,20640201,20640202?tags=pehd,ela,flou,metal,kraft,papier,film_plastique,mal_croppe,pet_clair,pet_opaque,environnement,textiles_sanitaires,barquette_opaque,pet_fonce,carton,etiquette Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1065568816, 1065568708, 1065568705, 1065568698, 1065568694] Looping around the photos to save general results len do output : 1 /5486001. 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 ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568816', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568708', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568705', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568698', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568694', None, None, None, None, None, '2596675') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.14096951484680176 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.315964937210083 time spend to save output : 0.14117836952209473 total time spend for step 4 : 0.45714330673217773 step5:final Tue Feb 18 15:23:27 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 : {1065568816: ('0.12958220623790986',), 1065568708: ('0.12958220623790986',), 1065568705: ('0.12958220623790986',), 1065568698: ('0.12958220623790986',), 1065568694: ('0.12958220623790986',)} new output for save of step final : {1065568816: ('0.12958220623790986',), 1065568708: ('0.12958220623790986',), 1065568705: ('0.12958220623790986',), 1065568698: ('0.12958220623790986',), 1065568694: ('0.12958220623790986',)} [1065568816, 1065568708, 1065568705, 1065568698, 1065568694] Looping around the photos to save general results len do output : 5 /1065568816.Didn't retrieve data . /1065568708.Didn't retrieve data . /1065568705.Didn't retrieve data . /1065568698.Didn't retrieve data . /1065568694.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 ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568816', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568708', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568705', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568698', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568694', None, None, None, None, None, '2596675') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.012665987014770508 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.028119802474975586 time spend to save output : 0.012972593307495117 total time spend for step 5 : 0.0410923957824707 step6:blur_detection Tue Feb 18 15:23:27 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 : 5 time used for this insertion : 0.00880122184753418 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 5 time used for this insertion : 0.008986473083496094 save missing photos in datou_result : time spend for datou_step_exec : 0.021132230758666992 time spend to save output : 0.022600889205932617 total time spend for step 6 : 0.04373311996459961 step7:brightness Tue Feb 18 15:23:27 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 : 5 time used for this insertion : 0.009142160415649414 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 5 time used for this insertion : 0.008776187896728516 save missing photos in datou_result : time spend for datou_step_exec : 0.028377771377563477 time spend to save output : 0.022603273391723633 total time spend for step 7 : 0.05098104476928711 step8:send_mail_cod Tue Feb 18 15:23:27 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 in order to get the selector url, please entre the license of selector results_COD_P5486001_18-02-2025_15_23_27.pdf 20640187 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206401871739888607 20640189 imagette206401891739888607 20640190 imagette206401901739888607 20640191 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 .imagette206401911739888607 20640192 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 .imagette206401921739888609 20640194 change filename to text .imagette206401941739888610 20640195 change filename to text .change filename to text .change filename to text .imagette206401951739888610 20640197 imagette206401971739888610 20640198 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette206401981739888610 20640199 imagette206401991739888610 20640201 change filename to text .change filename to text .change filename to text .change filename to text .imagette206402011739888610 20640202 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 .imagette206402021739888611 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=5486001 and hashtag_type = 4211 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20640186,20640187,20640188,20640189,20640190,20640191,20640192,20640193,20640194,20640195,20640196,20640197,20640198,20640199,20640201,20640202?tags=pehd,ela,flou,metal,kraft,papier,film_plastique,mal_croppe,pet_clair,pet_opaque,environnement,textiles_sanitaires,barquette_opaque,pet_fonce,carton,etiquette your option no_mail is active, we will not send the real mail to your client args[1065568816] : ((1065568816, -0.8402069540962303, 492688767), (1065568816, -0.5797699732161256, 501862349), '0.12958220623790986') We are sending mail with results at kexin@fotonower.com args[1065568708] : ((1065568708, -4.070521924534813, 492609224), (1065568708, -0.15785097409432802, 496442774), '0.12958220623790986') We are sending mail with results at kexin@fotonower.com args[1065568705] : ((1065568705, -2.9011072176121386, 492609224), (1065568705, -0.06353982647497829, 2107752395), '0.12958220623790986') We are sending mail with results at kexin@fotonower.com args[1065568698] : ((1065568698, -1.706155447051669, 492688767), (1065568698, 0.008376777865801007, 2107752395), '0.12958220623790986') We are sending mail with results at kexin@fotonower.com args[1065568694] : ((1065568694, -2.374330514925937, 492609224), (1065568694, -0.31270551135448865, 496442774), '0.12958220623790986') We are sending mail with results at kexin@fotonower.com refus_total : 0.12958220623790986 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=5486001 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_P5486001_18-02-2025_15_23_27.pdf results_COD_P5486001_18-02-2025_15_23_27.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P5486001_18-02-2025_15_23_27.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4252','5486001','results_COD_P5486001_18-02-2025_15_23_27.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P5486001_18-02-2025_15_23_27.pdf','pdf','','0.6','0.12958220623790986') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1065568816, 1065568708, 1065568705, 1065568698, 1065568694] 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 ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568816', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568708', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568705', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568698', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568694', None, None, None, None, None, '2596675') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 5 time used for this insertion : 0.012321710586547852 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.86962103843689 time spend to save output : 0.012524127960205078 total time spend for step 8 : 6.882145166397095 step9:split_time_score Tue Feb 18 15:23: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 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('19', 5),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 25112021 5486001 Nombre de photos uploadées : 5 / 23040 (0%) 25112021 5486001 Nombre de photos taguées (types de déchets): 0 / 5 (0%) 25112021 5486001 Nombre de photos taguées (volume) : 0 / 5 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ????? elapsed_time : fill_and_build_computed_from_old_data 0.0003075599670410156 elapsed_time : insert_dashboard_record_day_entry 0.022609949111938477 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_P5181046_02-02-2022_12_15_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5181046 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P5181067_01-02-2022_17_14_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5181067 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5485994 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P5485999_19-02-2022_20_45_15.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5485999 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P5181107_01-02-2022_18_24_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5181107 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P5181110_01-02-2022_04_17_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5181110 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5486000 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P5181144_01-02-2022_05_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5181144 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P5181167_31-01-2022_21_17_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5181167 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P5486004_19-02-2022_08_14_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5486004 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P5486005_19-02-2022_19_34_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 5486005 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'25112021': {'nb_upload': 5, '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 [1065568816, 1065568708, 1065568705, 1065568698, 1065568694] Looping around the photos to save general results len do output : 1 /5486001Didn'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 ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568816', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568708', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568705', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568698', None, None, None, None, None, '2596675') ('4252', None, None, None, None, None, None, None, '2596675') ('4252', '5486001', '1065568694', None, None, None, None, None, '2596675') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 6 time used for this insertion : 0.01888132095336914 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.992082118988037 time spend to save output : 0.019150972366333008 total time spend for step 9 : 8.01123309135437 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 5 set_done_treatment 2.55user 1.68system 0:36.70elapsed 11%CPU (0avgtext+0avgdata 198496maxresident)k 584inputs+31672outputs (2major+113063minor)pagefaults 0swaps