python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4255 ' -s datou_consolidate -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 133601 load datou : 4255 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec updating current state to 1 list_input_json: [] Current got : datou_id : 4255, datou_cur_ids : ['4017840'] with mtr_portfolio_ids : ['28315291'] and first list_photo_ids : [] new path : /proc/133601/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : [] origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 4.4271080493927 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 9 step1:copy_chis Fri Nov 7 17:08:30 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 0 chid ids of type : 0 Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1372343909, 1372343905, 1372343901, 1372343888, 1372343884, 1372343880, 1372343877, 1372343874, 1372343871, 1372343855, 1372343852, 1372343790, 1372343787, 1372343784, 1372343781, 1372343656, 1372343237, 1372343233, 1372343229, 1372343225] Looping around the photos to save general results len do output : 0 before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343909', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343905', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343901', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343888', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343884', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343880', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343877', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343874', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343871', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343855', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343852', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343790', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343787', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343784', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343781', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343656', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343237', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343233', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343229', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343225', None, None, None, None, None, '4017840') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01500701904296875 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.022768735885620117 time spend to save output : 0.015249967575073242 total time spend for step 1 : 0.03801870346069336 step2:consolidate_hashtags_from_manual_portfolio Fri Nov 7 17:08:30 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 : 28315291 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`=28315291 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28315291 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28315291 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','background','emr')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28315942 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=28315943 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=28315944 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=28315945 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=28315946 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=28315947 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=28315948 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=28315949 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=28315950 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=28315951 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=28315952 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=28315953 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=28315954 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=28315955 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 [1372343909, 1372343905, 1372343901, 1372343888, 1372343884, 1372343880, 1372343877, 1372343874, 1372343871, 1372343855, 1372343852, 1372343790, 1372343787, 1372343784, 1372343781, 1372343656, 1372343237, 1372343233, 1372343229, 1372343225] 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 : 20 time used for this insertion : 0.014853954315185547 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.7329721450805664 time spend to save output : 0.014998435974121094 total time spend for step 2 : 0.7479705810546875 step3:rle_unique_nms_with_priority Fri Nov 7 17:08:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 0 chid ids of type : 0 No data in photo_id : 1372343909 No data in photo_id : 1372343905 No data in photo_id : 1372343901 No data in photo_id : 1372343888 No data in photo_id : 1372343884 No data in photo_id : 1372343880 No data in photo_id : 1372343877 No data in photo_id : 1372343874 No data in photo_id : 1372343871 No data in photo_id : 1372343855 No data in photo_id : 1372343852 No data in photo_id : 1372343790 No data in photo_id : 1372343787 No data in photo_id : 1372343784 No data in photo_id : 1372343781 No data in photo_id : 1372343656 No data in photo_id : 1372343237 No data in photo_id : 1372343233 No data in photo_id : 1372343229 No data in photo_id : 1372343225 Missing data for photo_id : 1372343909 in {} Missing data for photo_id : 1372343905 in {} Missing data for photo_id : 1372343901 in {} Missing data for photo_id : 1372343888 in {} Missing data for photo_id : 1372343884 in {} Missing data for photo_id : 1372343880 in {} Missing data for photo_id : 1372343877 in {} Missing data for photo_id : 1372343874 in {} Missing data for photo_id : 1372343871 in {} Missing data for photo_id : 1372343855 in {} Missing data for photo_id : 1372343852 in {} Missing data for photo_id : 1372343790 in {} Missing data for photo_id : 1372343787 in {} Missing data for photo_id : 1372343784 in {} Missing data for photo_id : 1372343781 in {} Missing data for photo_id : 1372343656 in {} Missing data for photo_id : 1372343237 in {} Missing data for photo_id : 1372343233 in {} Missing data for photo_id : 1372343229 in {} Missing data for photo_id : 1372343225 in {} Missing data for photo_id : 1372343909 in {} Missing data for photo_id : 1372343905 in {} Missing data for photo_id : 1372343901 in {} Missing data for photo_id : 1372343888 in {} Missing data for photo_id : 1372343884 in {} Missing data for photo_id : 1372343880 in {} Missing data for photo_id : 1372343877 in {} Missing data for photo_id : 1372343874 in {} Missing data for photo_id : 1372343871 in {} Missing data for photo_id : 1372343855 in {} Missing data for photo_id : 1372343852 in {} Missing data for photo_id : 1372343790 in {} Missing data for photo_id : 1372343787 in {} Missing data for photo_id : 1372343784 in {} Missing data for photo_id : 1372343781 in {} Missing data for photo_id : 1372343656 in {} Missing data for photo_id : 1372343237 in {} Missing data for photo_id : 1372343233 in {} Missing data for photo_id : 1372343229 in {} Missing data for photo_id : 1372343225 in {} map_output_result : {} 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 [1372343909, 1372343905, 1372343901, 1372343888, 1372343884, 1372343880, 1372343877, 1372343874, 1372343871, 1372343855, 1372343852, 1372343790, 1372343787, 1372343784, 1372343781, 1372343656, 1372343237, 1372343233, 1372343229, 1372343225] Looping around the photos to save general results len do output : 0 before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343909', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343905', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343901', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343888', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343884', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343880', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343877', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343874', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343871', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343855', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343852', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343790', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343787', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343784', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343781', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343656', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343237', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343233', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343229', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343225', None, None, None, None, None, '4017840') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01625537872314453 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.012636899948120117 time spend to save output : 0.0164642333984375 total time spend for step 3 : 0.029101133346557617 step4:ventilate_hashtags_in_portfolio Fri Nov 7 17:08:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : 28315291 get user id for portfolio 28315291 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`=28315291 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28315291 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28315291 AND mptpi.`type`=3327 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('pet_clair','etiquette','bouchon','pet_fonce','pehd','barquette_avec_film','papier','carton','verre','metal','mal_croppe','flou','emr')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/28315956,28315957,28315958,28315959,28315960,28315961,28315962,28315963,28315964,28315965,28315966,28315967,28315968?tags=pet_clair,etiquette,bouchon,pet_fonce,pehd,barquette_avec_film,papier,carton,verre,metal,mal_croppe,flou,emr Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1372343909, 1372343905, 1372343901, 1372343888, 1372343884, 1372343880, 1372343877, 1372343874, 1372343871, 1372343855, 1372343852, 1372343790, 1372343787, 1372343784, 1372343781, 1372343656, 1372343237, 1372343233, 1372343229, 1372343225] Looping around the photos to save general results len do output : 1 /28315291. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343909', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343905', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343901', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343888', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343884', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343880', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343877', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343874', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343871', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343855', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343852', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343790', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343787', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343784', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343781', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343656', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343237', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343233', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343229', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343225', None, None, None, None, None, '4017840') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.01472783088684082 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5279026031494141 time spend to save output : 0.015022993087768555 total time spend for step 4 : 0.5429255962371826 step5:final Fri Nov 7 17:08:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 No keys ! Beginning of datou step final ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1372343909: ('0.0',), 1372343905: ('0.0',), 1372343901: ('0.0',), 1372343888: ('0.0',), 1372343884: ('0.0',), 1372343880: ('0.0',), 1372343877: ('0.0',), 1372343874: ('0.0',), 1372343871: ('0.0',), 1372343855: ('0.0',), 1372343852: ('0.0',), 1372343790: ('0.0',), 1372343787: ('0.0',), 1372343784: ('0.0',), 1372343781: ('0.0',), 1372343656: ('0.0',), 1372343237: ('0.0',), 1372343233: ('0.0',), 1372343229: ('0.0',), 1372343225: ('0.0',)} new output for save of step final : {1372343909: ('0.0',), 1372343905: ('0.0',), 1372343901: ('0.0',), 1372343888: ('0.0',), 1372343884: ('0.0',), 1372343880: ('0.0',), 1372343877: ('0.0',), 1372343874: ('0.0',), 1372343871: ('0.0',), 1372343855: ('0.0',), 1372343852: ('0.0',), 1372343790: ('0.0',), 1372343787: ('0.0',), 1372343784: ('0.0',), 1372343781: ('0.0',), 1372343656: ('0.0',), 1372343237: ('0.0',), 1372343233: ('0.0',), 1372343229: ('0.0',), 1372343225: ('0.0',)} [1372343909, 1372343905, 1372343901, 1372343888, 1372343884, 1372343880, 1372343877, 1372343874, 1372343871, 1372343855, 1372343852, 1372343790, 1372343787, 1372343784, 1372343781, 1372343656, 1372343237, 1372343233, 1372343229, 1372343225] Looping around the photos to save general results len do output : 20 /1372343909.Didn't retrieve data . /1372343905.Didn't retrieve data . /1372343901.Didn't retrieve data . /1372343888.Didn't retrieve data . /1372343884.Didn't retrieve data . /1372343880.Didn't retrieve data . /1372343877.Didn't retrieve data . /1372343874.Didn't retrieve data . /1372343871.Didn't retrieve data . /1372343855.Didn't retrieve data . /1372343852.Didn't retrieve data . /1372343790.Didn't retrieve data . /1372343787.Didn't retrieve data . /1372343784.Didn't retrieve data . /1372343781.Didn't retrieve data . /1372343656.Didn't retrieve data . /1372343237.Didn't retrieve data . /1372343233.Didn't retrieve data . /1372343229.Didn't retrieve data . /1372343225.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343909', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343905', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343901', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343888', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343884', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343880', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343877', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343874', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343871', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343855', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343852', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343790', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343787', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343784', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343781', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343656', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343237', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343233', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343229', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343225', None, None, None, None, None, '4017840') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 60 time used for this insertion : 0.014405488967895508 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0157320499420166 time spend to save output : 0.015251874923706055 total time spend for step 5 : 0.030983924865722656 step6:blur_detection Fri Nov 7 17:08:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection methode: variance laplacian (2160, 3840) 1580.9322114324523 (2160, 3840) 1122.018108187546 (2160, 3840) 711.4923067307733 (2160, 3840) 889.2497462181674 (2160, 3840) 473.3381560631271 (2160, 3840) 655.340711448705 (2160, 3840) 462.7215066412142 (2160, 3840) 4548.854100797118 (2160, 3840) 1557.6773284333156 (2160, 3840) 665.7037036087822 (2160, 3840) 865.5026303428256 (2160, 3840) 1092.9367794963234 (2160, 3840) 4707.319283193728 (2160, 3840) 471.57614737982306 (2160, 3840) 902.9816734110698 (2160, 3840) 1561.9621734234513 (2160, 3840) 8010.745041673607 (2160, 3840) 2289.2095413072093 (2160, 3840) 416.5388237709233 (2160, 3840) 277.42195550908167 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 : 20 time used for this insertion : 0.014701604843139648 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.011906147003173828 save missing photos in datou_result : time spend for datou_step_exec : 3.26395845413208 time spend to save output : 0.03099656105041504 total time spend for step 6 : 3.294955015182495 step7:brightness Fri Nov 7 17:08:35 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness treat image : temp/1762531706_133601_1372343909_08defdb6320f15cd809259d0a6414690.jpg treat image : temp/1762531706_133601_1372343905_1d26189d01f4a93a656b0a1389cbd735.jpg treat image : temp/1762531706_133601_1372343901_5a1675d9a12ff46d8f30f3d2b9fef40b.jpg treat image : temp/1762531706_133601_1372343888_ba4e4b91beb7f2adfc095cc130807aa6.jpg treat image : temp/1762531706_133601_1372343884_c69f43643a3ddd684e581b36c7b3fb77.jpg treat image : temp/1762531706_133601_1372343880_5d48bc711b6f99c938902fa00ea5c0ce.jpg treat image : temp/1762531706_133601_1372343877_2689f8e6bfff8e3756dd7955ea5460ae.jpg treat image : temp/1762531706_133601_1372343874_ae631562cc33541dcbf8285ace31f817.jpg treat image : temp/1762531706_133601_1372343871_459efb66738c5af37366061b4806aa45.jpg treat image : temp/1762531706_133601_1372343855_bd8debd1854127e716e6ba9e51852377.jpg treat image : temp/1762531706_133601_1372343852_d2eb6f98099d990984310936c4716a3c.jpg treat image : temp/1762531706_133601_1372343790_d5d81fe915b2cfe5e69fc5c2b8cb655c.jpg treat image : temp/1762531706_133601_1372343787_689fe7102ce8ce00bacf784f5eae4824.jpg treat image : temp/1762531706_133601_1372343784_a40d9451f5f6a7c268cf85120f4a11f4.jpg treat image : temp/1762531706_133601_1372343781_935db0a3df876f7ea2d8ec510f2293ea.jpg treat image : temp/1762531706_133601_1372343656_2ebc9c382fe0760e640bcccd0aaf60e3.jpg treat image : temp/1762531706_133601_1372343237_ee9d80863684fd46f29e0a288c3a524b.jpg treat image : temp/1762531706_133601_1372343233_bbf16ffa5d043f89184ff21e1bac7cda.jpg treat image : temp/1762531706_133601_1372343229_1463219adb645b063ca2d68970fb9f66.jpg treat image : temp/1762531706_133601_1372343225_dcae4c3f144cce37e0968dd3e7e5e82c.jpg 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 : 20 time used for this insertion : 0.012058734893798828 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.011696815490722656 save missing photos in datou_result : time spend for datou_step_exec : 18.824243545532227 time spend to save output : 0.028018951416015625 total time spend for step 7 : 18.852262496948242 step8:send_mail_cod Fri Nov 7 17:08:54 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_COD_P28315291_07-11-2025_17_08_54.pdf 28315957 imagette283159571762531734 28315958 imagette283159581762531734 28315959 imagette283159591762531734 28315960 imagette283159601762531734 28315961 imagette283159611762531734 28315962 imagette283159621762531734 28315963 imagette283159631762531734 28315964 imagette283159641762531734 28315965 imagette283159651762531734 28315968 imagette283159681762531734 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=28315291 and hashtag_type = 3327 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/28315956,28315957,28315958,28315959,28315960,28315961,28315962,28315963,28315964,28315965,28315966,28315967,28315968?tags=pet_clair,etiquette,bouchon,pet_fonce,pehd,barquette_avec_film,papier,carton,verre,metal,mal_croppe,flou,emr your option no_mail is active, we will not send the real mail to your client args[1372343909] : ((1372343909, 1580.9322114324523, 2107751945), (1372343909, -0.0033691774116204405, 2107752395), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343905] : ((1372343905, 1122.018108187546, 2107751945), (1372343905, -0.10801407731846979, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343901] : ((1372343901, 711.4923067307733, 492688767), (1372343901, -0.24851717923703462, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343888] : ((1372343888, 889.2497462181674, 2107751945), (1372343888, -0.19606831067953112, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343884] : ((1372343884, 473.3381560631271, 492688767), (1372343884, -0.05699763045043077, 2107752395), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343880] : ((1372343880, 655.340711448705, 492688767), (1372343880, -0.2046100952311714, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343877] : ((1372343877, 462.7215066412142, 492688767), (1372343877, -0.11806759884969933, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343874] : ((1372343874, 4548.854100797118, 492609224), (1372343874, -0.2612701602913408, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343871] : ((1372343871, 1557.6773284333156, 2107751945), (1372343871, -0.3163981184473862, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343855] : ((1372343855, 665.7037036087822, 492688767), (1372343855, -0.30433187792275435, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343852] : ((1372343852, 865.5026303428256, 2107751945), (1372343852, -0.09057849594033315, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343790] : ((1372343790, 1092.9367794963234, 2107751945), (1372343790, -0.06784007064562364, 2107752395), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343787] : ((1372343787, 4707.319283193728, 492609224), (1372343787, -0.1544118389387066, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343784] : ((1372343784, 471.57614737982306, 492688767), (1372343784, -0.22089108988182782, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343781] : ((1372343781, 902.9816734110698, 2107751945), (1372343781, -0.2626482083086244, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343656] : ((1372343656, 1561.9621734234513, 2107751945), (1372343656, -0.09126751476285323, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343237] : ((1372343237, 8010.745041673607, 492609224), (1372343237, -0.15049084433884305, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343233] : ((1372343233, 2289.2095413072093, 492609224), (1372343233, -0.22583419518931833, 496442774), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343229] : ((1372343229, 416.5388237709233, 492688767), (1372343229, -0.04674355529940545, 2107752395), '0.0') We are sending mail with results at kexin@fotonower.com args[1372343225] : ((1372343225, 277.42195550908167, 492688767), (1372343225, 0.4409323066841015, 2107752395), '0.0') We are sending mail with results at kexin@fotonower.com refus_total : 0.0 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=28315291 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_P28315291_07-11-2025_17_08_54.pdf results_COD_P28315291_07-11-2025_17_08_54.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28315291_07-11-2025_17_08_54.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4255','28315291','results_COD_P28315291_07-11-2025_17_08_54.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28315291_07-11-2025_17_08_54.pdf','pdf','','0.54','0.0') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1372343909, 1372343905, 1372343901, 1372343888, 1372343884, 1372343880, 1372343877, 1372343874, 1372343871, 1372343855, 1372343852, 1372343790, 1372343787, 1372343784, 1372343781, 1372343656, 1372343237, 1372343233, 1372343229, 1372343225] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343909', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343905', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343901', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343888', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343884', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343880', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343877', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343874', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343871', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343855', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343852', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343790', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343787', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343784', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343781', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343656', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343237', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343233', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343229', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343225', None, None, None, None, None, '4017840') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01775217056274414 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.281543493270874 time spend to save output : 0.018073558807373047 total time spend for step 8 : 3.299617052078247 step9:split_time_score Fri Nov 7 17:08:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('23', 20),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 20062025 28315291 Nombre de photos uploadées : 20 / 23040 (0%) 20062025 28315291 Nombre de photos taguées (types de déchets): 0 / 20 (0%) 20062025 28315291 Nombre de photos taguées (volume) : 0 / 20 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ???????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0392451286315918 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21086382865905762 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: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314171 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314208 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314213 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314218 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314235 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314260 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314264 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314268 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314286 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314303 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314308 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314318 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314323 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314328 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314338 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314343 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314364 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314397 order by id desc limit 1 Qualite : 0.059584955369391825 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28314402_07-11-2025_16_57_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314402 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=28314402 AND mptpi.`type`=3327 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314412 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314417 order by id desc limit 1 Qualite : 0.06365510331499291 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24207192_11-09-2025_12_12_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24207192 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11644 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11645 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11642 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11642 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11649 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11643 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11646 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11647 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11648 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11650 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11644 have datatype=11 whereas input 0 of step 11642 have datatype=2 WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 3 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11645 doesn't seem to be define in the database( WARNING : type of input 1 of step 11642 doesn't seem to be define in the database( WARNING : output 0 of step 11649 have datatype=10 whereas input 3 of step 11648 have datatype=6 WARNING : type of input 1 of step 11649 doesn't seem to be define in the database( WARNING : output 1 of step 11642 have datatype=7 whereas input 1 of step 11649 have datatype=None WARNING : type of output 1 of step 11649 doesn't seem to be define in the database( WARNING : type of input 4 of step 11643 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11644 doesn't seem to be define in the database( WARNING : type of input 1 of step 11645 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24207192 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24204614_20-06-2025_12_51_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24204614 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24203936_21-06-2025_17_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24203936 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314423 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314428 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314447 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314471 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314480 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314497 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314514 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314518 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314535 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314566 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314600 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314618 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314623 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314628 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314637 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314643 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314645 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314648 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314651 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314657 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314687 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314705 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314709 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314742 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314745 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314775 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24218113_24-06-2025_02_59_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24218113 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314778 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314780 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314783 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314851 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314857 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314860 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314863 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314908 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314911 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314932 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314955 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24222525_24-06-2025_04_48_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24222525 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314958 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314960 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314962 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314979 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28314984 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315009 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315022 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315038 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315051 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315055 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315057 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315060 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315090 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315109 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315112 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315118 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315131 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315143 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315163 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315187 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315211 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315241 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315267 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315281 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315285 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315288 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P28315291_07-11-2025_17_08_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 28315291 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'20062025': {'nb_upload': 20, '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 [1372343909, 1372343905, 1372343901, 1372343888, 1372343884, 1372343880, 1372343877, 1372343874, 1372343871, 1372343855, 1372343852, 1372343790, 1372343787, 1372343784, 1372343781, 1372343656, 1372343237, 1372343233, 1372343229, 1372343225] Looping around the photos to save general results len do output : 1 /28315291Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343909', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343905', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343901', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343888', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343884', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343880', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343877', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343874', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343871', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343855', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343852', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343790', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343787', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343784', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343781', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343656', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343237', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343233', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343229', None, None, None, None, None, '4017840') ('4255', None, None, None, None, None, None, None, '4017840') ('4255', '28315291', '1372343225', None, None, None, None, None, '4017840') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 21 time used for this insertion : 0.014938116073608398 save_final save missing photos in datou_result : time spend for datou_step_exec : 104.56267070770264 time spend to save output : 0.015149831771850586 total time spend for step 9 : 104.57782053947449 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 20 set_done_treatment 23.57user 5.56system 2:17.98elapsed 21%CPU (0avgtext+0avgdata 165356maxresident)k 24inputs+37168outputs (3major+579450minor)pagefaults 0swaps