python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4250 ' -s datou_consolidate -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 3356537 load datou : 4250 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11599 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11600 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11597 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11597 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11604 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11598 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11601 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11602 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11603 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11605 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11599 have datatype=11 whereas input 0 of step 11597 have datatype=2 WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 3 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 1 of step 11597 doesn't seem to be define in the database( WARNING : output 0 of step 11604 have datatype=10 whereas input 3 of step 11603 have datatype=6 WARNING : type of input 1 of step 11604 doesn't seem to be define in the database( WARNING : output 1 of step 11597 have datatype=7 whereas input 1 of step 11604 have datatype=None WARNING : type of output 1 of step 11604 doesn't seem to be define in the database( WARNING : type of input 4 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11599 doesn't seem to be define in the database( WARNING : type of input 1 of step 11600 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4250, datou_cur_ids : ['4333384'] with mtr_portfolio_ids : ['25586138'] and first list_photo_ids : [] new path : /proc/3356537/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11599 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11600 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11597 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11597 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11604 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11598 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11601 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11602 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11603 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11605 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11599 have datatype=11 whereas input 0 of step 11597 have datatype=2 WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 3 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11600 doesn't seem to be define in the database( WARNING : type of input 1 of step 11597 doesn't seem to be define in the database( WARNING : output 0 of step 11604 have datatype=10 whereas input 3 of step 11603 have datatype=6 WARNING : type of input 1 of step 11604 doesn't seem to be define in the database( WARNING : output 1 of step 11597 have datatype=7 whereas input 1 of step 11604 have datatype=None WARNING : type of output 1 of step 11604 doesn't seem to be define in the database( WARNING : type of input 4 of step 11598 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11599 doesn't seem to be define in the database( WARNING : type of input 1 of step 11600 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 2.6269476413726807 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Wed Jan 21 12:04:30 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 20 chid ids of type : 4207 batch 1 Loaded 61 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1374788043, 1374788021, 1374788017, 1374788013, 1374788009, 1374788007, 1374788005, 1374787991, 1374787986, 1374787984] Looping around the photos to save general results len do output : 9 /1374787986Didn't retrieve data . /1374787991Didn't retrieve data . /1374788005Didn't retrieve data . /1374788007Didn't retrieve data . /1374788009Didn't retrieve data . /1374788013Didn't retrieve data . /1374788017Didn't retrieve data . /1374788021Didn't retrieve data . /1374788043Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788043', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788021', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788017', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788013', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788009', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788007', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788005', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787991', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787986', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787984', None, None, None, None, None, '4333384') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.03446841239929199 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09501194953918457 time spend to save output : 0.034906625747680664 total time spend for step 1 : 0.12991857528686523 step2:consolidate_hashtags_from_manual_portfolio Wed Jan 21 12:04:30 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 25586138 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`=25586138 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25586138 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25586138 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25600469 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=25600470 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=25600471 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=25600472 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=25600473 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=25600474 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=25600475 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=25600476 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=25600477 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 45 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=25600478 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 8 chid ids of type : 4207 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25600479 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=25600480 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=25600481 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 55 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=25600482 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 19 chid ids of type : 4207 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25600483 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=25600484 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=30172595 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 [1374788043, 1374788021, 1374788017, 1374788013, 1374788009, 1374788007, 1374788005, 1374787991, 1374787986, 1374787984] 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 : 10 time used for this insertion : 0.01859903335571289 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.515444278717041 time spend to save output : 0.018776416778564453 total time spend for step 2 : 1.5342206954956055 step3:rle_unique_nms_with_priority Wed Jan 21 12:04:31 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 51 chid ids of type : 4207 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03209114074707031 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03197360038757324 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03268909454345703 seulement à utiliser dans la step consolidation batch 1 Loaded 5 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030983448028564453 seulement à utiliser dans la step consolidation batch 1 Loaded 14 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.035156965255737305 seulement à utiliser dans la step consolidation batch 1 Loaded 8 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03223395347595215 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03219294548034668 seulement à utiliser dans la step consolidation batch 1 Loaded 6 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03316164016723633 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 4207 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03165793418884277 No data in photo_id : 1374787984 Missing data for photo_id : 1374787984 in {1374788043: 0, 1374788021: 0, 1374788017: 0, 1374788013: 0, 1374788009: 0, 1374788007: 0, 1374788005: 0, 1374787991: 0, 1374787986: 0} Missing data for photo_id : 1374787984 in {1374788043: 0, 1374788021: 0, 1374788017: 0, 1374788013: 0, 1374788009: 0, 1374788007: 0, 1374788005: 0, 1374787991: 0, 1374787986: 0} map_output_result : {1374788043: (0.0, 'Should be the crop_list due to order', 0), 1374788021: (0.0, 'Should be the crop_list due to order', 0), 1374788017: (0.0, 'Should be the crop_list due to order', 0), 1374788013: (0.0, 'Should be the crop_list due to order', 0), 1374788009: (0.0, 'Should be the crop_list due to order', 0), 1374788007: (0.0, 'Should be the crop_list due to order', 0), 1374788005: (0.0, 'Should be the crop_list due to order', 0), 1374787991: (0.0, 'Should be the crop_list due to order', 0), 1374787986: (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 [1374788043, 1374788021, 1374788017, 1374788013, 1374788009, 1374788007, 1374788005, 1374787991, 1374787986, 1374787984] Looping around the photos to save general results len do output : 9 /1374788043.Didn't retrieve data . /1374788021.Didn't retrieve data . /1374788017.Didn't retrieve data . /1374788013.Didn't retrieve data . /1374788009.Didn't retrieve data . /1374788007.Didn't retrieve data . /1374788005.Didn't retrieve data . /1374787991.Didn't retrieve data . /1374787986.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788043', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788021', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788017', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788013', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788009', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788007', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788005', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787991', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787986', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787984', None, None, None, None, None, '4333384') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.017745494842529297 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.0274178981781006 time spend to save output : 0.01824355125427246 total time spend for step 3 : 2.045661449432373 step4:ventilate_hashtags_in_portfolio Wed Jan 21 12:04:33 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step ventilate_hashtags_in_portfolio : To implement ! Iterating over portfolio : 25586138 get user id for portfolio 25586138 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`=25586138 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25586138 AND mptpi.`type`=4207 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/25600469,25600470,25600471,25600472,25600473,25600474,25600475,25600476,25600477,25600478,25600479,25600480,25600481,25600482,25600483,25600484?tags=barquette_opaque,pet_clair,flou,pet_opaque,ela,pet_fonce,environnement,pehd,papier,mal_croppe,metal,textiles_sanitaires,carton,film_plastique,etiquette,kraft Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374788043, 1374788021, 1374788017, 1374788013, 1374788009, 1374788007, 1374788005, 1374787991, 1374787986, 1374787984] Looping around the photos to save general results len do output : 1 /25586138. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788043', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788021', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788017', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788013', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788009', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788007', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788005', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787991', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787986', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787984', None, None, None, None, None, '4333384') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 11 time used for this insertion : 0.02005290985107422 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3960130214691162 time spend to save output : 0.020321130752563477 total time spend for step 4 : 0.4163341522216797 step5:final Wed Jan 21 12:04:34 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1374788043: ('0.02761872380928807',), 1374788021: ('0.02761872380928807',), 1374788017: ('0.02761872380928807',), 1374788013: ('0.02761872380928807',), 1374788009: ('0.02761872380928807',), 1374788007: ('0.02761872380928807',), 1374788005: ('0.02761872380928807',), 1374787991: ('0.02761872380928807',), 1374787986: ('0.02761872380928807',)} new output for save of step final : {1374788043: ('0.02761872380928807',), 1374788021: ('0.02761872380928807',), 1374788017: ('0.02761872380928807',), 1374788013: ('0.02761872380928807',), 1374788009: ('0.02761872380928807',), 1374788007: ('0.02761872380928807',), 1374788005: ('0.02761872380928807',), 1374787991: ('0.02761872380928807',), 1374787986: ('0.02761872380928807',)} [1374788043, 1374788021, 1374788017, 1374788013, 1374788009, 1374788007, 1374788005, 1374787991, 1374787986, 1374787984] Looping around the photos to save general results len do output : 9 /1374788043.Didn't retrieve data . /1374788021.Didn't retrieve data . /1374788017.Didn't retrieve data . /1374788013.Didn't retrieve data . /1374788009.Didn't retrieve data . /1374788007.Didn't retrieve data . /1374788005.Didn't retrieve data . /1374787991.Didn't retrieve data . /1374787986.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788043', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788021', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788017', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788013', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788009', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788007', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374788005', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787991', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787986', None, None, None, None, None, '4333384') ('4250', None, None, None, None, None, None, None, '4333384') ('4250', '25586138', '1374787984', None, None, None, None, None, '4333384') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 28 time used for this insertion : 0.01838374137878418 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.04298901557922363 time spend to save output : 0.018840312957763672 total time spend for step 5 : 0.061829328536987305 step6:blur_detection Wed Jan 21 12:04:34 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 10 time used for this insertion : 0.01076054573059082 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 10 time used for this insertion : 0.024363279342651367 save missing photos in datou_result : time spend for datou_step_exec : 0.03203463554382324 time spend to save output : 0.04033470153808594 total time spend for step 6 : 0.07236933708190918 step7:brightness Wed Jan 21 12:04:34 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 10 time used for this insertion : 0.011870622634887695 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 10 time used for this insertion : 0.011125802993774414 save missing photos in datou_result : time spend for datou_step_exec : 0.03477334976196289 time spend to save output : 0.028100252151489258 total time spend for step 7 : 0.06287360191345215 step8:send_mail_cod Wed Jan 21 12:04:34 2026 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 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 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_P25586138_21-01-2026_12_04_34.pdf 25600469 imagette256004691768993474 25600470 imagette256004701768993474 25600472 imagette256004721768993474 25600473 imagette256004731768993474 25600474 imagette256004741768993474 25600476 imagette256004761768993474 25600477 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 .imagette256004771768993474 25600479 imagette256004791768993476 25600480 imagette256004801768993476 25600482 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette256004821768993476 25600483 imagette256004831768993477 25600484 imagette256004841768993477 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25586138 and hashtag_type = 4207 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25600469,25600470,25600471,25600472,25600473,25600474,25600475,25600476,25600477,25600478,25600479,25600480,25600481,25600482,25600483,25600484?tags=barquette_opaque,pet_clair,flou,pet_opaque,ela,pet_fonce,environnement,pehd,papier,mal_croppe,metal,textiles_sanitaires,carton,film_plastique,etiquette,kraft your option no_mail is active, we will not send the real mail to your client args[1374788043] : ((1374788043, -6.306831822462018, 492609224), (1374788043, -0.33612417140170353, 496442774), '0.02761872380928807') We are sending mail with results at kexin@fotonower.com args[1374788021] : ((1374788021, -7.7544006736733815, 492609224), (1374788021, 0.6222748039051907, 2107752395), '0.02761872380928807') We are sending mail with results at kexin@fotonower.com args[1374788017] : ((1374788017, -7.256843103561454, 492609224), (1374788017, 1.0513417554721631, 2107752395), '0.02761872380928807') We are sending mail with results at kexin@fotonower.com args[1374788013] : ((1374788013, -7.279405566674501, 492609224), (1374788013, 1.2729461246294482, 2107752395), '0.02761872380928807') We are sending mail with results at kexin@fotonower.com args[1374788009] : ((1374788009, -7.226819582263577, 492609224), (1374788009, 0.9331318661326556, 2107752395), '0.02761872380928807') We are sending mail with results at kexin@fotonower.com args[1374788007] : ((1374788007, -7.29297398823742, 492609224), (1374788007, 0.6928800544759367, 2107752395), '0.02761872380928807') We are sending mail with results at kexin@fotonower.com args[1374788005] : ((1374788005, -7.0529213667227015, 492609224), (1374788005, 0.47785638462265106, 2107752395), '0.02761872380928807') We are sending mail with results at kexin@fotonower.com args[1374787991] : ((1374787991, -6.247348486815194, 492609224), (1374787991, -0.36770264353650406, 496442774), '0.02761872380928807') We are sending mail with results at kexin@fotonower.com args[1374787986] : ((1374787986, -6.125948425836552, 492609224), (1374787986, -0.23669181358495023, 496442774), '0.02761872380928807') We are sending mail with results at kexin@fotonower.com args[1374787984] : ((1374787984, -4.126749130132462, 492609224), (1374787984, -1.2654794312608593, 501862349)) We are sending mail with results at kexin@fotonower.com refus_total : (1374787984, -4.126749130132462, 492609224) ERROR in datou_step_exec, will save and exit ! float() argument must be a string or a number, not 'tuple' File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2339, in datou_exec output = datou_step_exec(sNext, args, cache, context, map_info, verbose, mtr_user_id) File "/home/admin/workarea/git/Velours/python/mtr/datou/datou_lib.py", line 2659, in datou_step_exec return send_or_copy.datou_step_exec_send_mail_cod(param, json_param, args, context, map_info, verbose) File "/home/admin/workarea/git/Velours/python/mtr/datou/lib_step_exec/lib_step_send_or_copy.py", line 782, in datou_step_exec_send_mail_cod refus_total,list_results_prediagnostique_in_mail = cod.send_mail_to_client(context, args, portfolio_id, list_photo_id, sujet, dest_mail, File "/home/admin/workarea/git/Velours/python/prod/cod/main_cod.py", line 186, in send_mail_to_client message_in_mail += "
Dans ces conditions,le taux de refus est: {:.2%}
".format(float(refus_total)) [1374788043, 1374788021, 1374788017, 1374788013, 1374788009, 1374788007, 1374788005, 1374787991, 1374787986, 1374787984] begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.01595783233642578 save_final ERROR in last step send_mail_cod, float() argument must be a string or a number, not 'tuple' time spend for datou_step_exec : 2.853977680206299 time spend to save output : 0.02059149742126465 total time spend for step 7 : 2.8745691776275635 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 2.05user 1.58system 0:11.72elapsed 31%CPU (0avgtext+0avgdata 206372maxresident)k 1160inputs+38928outputs (17major+117103minor)pagefaults 0swaps