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 : 2110029 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 no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4255, datou_cur_ids : ['3804862'] with mtr_portfolio_ids : ['25391737'] and first list_photo_ids : [] new path : /proc/2110029/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 25 ; length of list_pids : 25 ; length of list_args : 25 time to download the photos : 5.663132905960083 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 Oct 1 09:24:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Begin step datou_step_copy_crop batch 1 Loaded 625 chid ids of type : 3327 batch 1 Loaded 260 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 236 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 208 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 286 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 221 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 153 chid ids of type : 3327 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 [1374072009, 1374072006, 1374072005, 1374071992, 1374071990, 1374071988, 1374071987, 1374071985, 1374071980, 1374071978, 1374071975, 1374071972, 1374071970, 1374071969, 1374071965, 1374071963, 1374071961, 1374071959, 1374071958, 1374071957, 1374071947, 1374071945, 1374071943, 1374071940, 1374071939] Looping around the photos to save general results len do output : 25 /1374071939Didn't retrieve data . /1374071940Didn't retrieve data . /1374071943Didn't retrieve data . /1374071945Didn't retrieve data . /1374071947Didn't retrieve data . /1374071957Didn't retrieve data . /1374071958Didn't retrieve data . /1374071959Didn't retrieve data . /1374071961Didn't retrieve data . /1374071963Didn't retrieve data . /1374071965Didn't retrieve data . /1374071969Didn't retrieve data . /1374071970Didn't retrieve data . /1374071972Didn't retrieve data . /1374071975Didn't retrieve data . /1374071978Didn't retrieve data . /1374071980Didn't retrieve data . /1374071985Didn't retrieve data . /1374071987Didn't retrieve data . /1374071988Didn't retrieve data . /1374071990Didn't retrieve data . /1374071992Didn't retrieve data . /1374072005Didn't retrieve data . /1374072006Didn't retrieve data . /1374072009Didn'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, '3804862') ('4255', '25391737', '1374072009', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072006', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072005', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071992', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071990', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071988', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071987', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071985', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071980', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071978', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071975', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071972', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071970', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071969', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071965', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071963', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071961', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071959', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071958', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071957', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071947', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071945', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071943', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071940', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071939', None, None, None, None, None, '3804862') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 50 time used for this insertion : 0.04026007652282715 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.069554090499878 time spend to save output : 0.04107546806335449 total time spend for step 1 : 1.1106295585632324 step2:consolidate_hashtags_from_manual_portfolio Wed Oct 1 09:24:33 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure beginning of datou step consolidate_hashtags_from_manual_portfolio Iterating over portfolio : 25391737 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`=25391737 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`=25391737 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`=25391737 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=25395371 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=25395372 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 278 chid ids of type : 3327 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=25395373 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 50 chid ids of type : 3327 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=25395374 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=25395375 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=25395376 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 58 chid ids of type : 3327 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=25395377 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=25395378 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1062 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=25395381 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 463 chid ids of type : 3327 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=25395382 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 1364 chid ids of type : 3327 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=25395383 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 110 chid ids of type : 3327 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=25395385 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 53 chid ids of type : 3327 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=27394262 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=27394263 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 [1374072009, 1374072006, 1374072005, 1374071992, 1374071990, 1374071988, 1374071987, 1374071985, 1374071980, 1374071978, 1374071975, 1374071972, 1374071970, 1374071969, 1374071965, 1374071963, 1374071961, 1374071959, 1374071958, 1374071957, 1374071947, 1374071945, 1374071943, 1374071940, 1374071939] 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 : 25 time used for this insertion : 0.039501190185546875 save_final save missing photos in datou_result : time spend for datou_step_exec : 14.334613800048828 time spend to save output : 0.03973102569580078 total time spend for step 2 : 14.374344825744629 step3:rle_unique_nms_with_priority Wed Oct 1 09:24:47 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed 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 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 561 chid ids of type : 3327 seulement à utiliser dans la step consolidation batch 1 Loaded 50 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10617494583129883 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10707211494445801 seulement à utiliser dans la step consolidation batch 1 Loaded 46 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1056373119354248 seulement à utiliser dans la step consolidation batch 1 Loaded 60 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10725569725036621 seulement à utiliser dans la step consolidation batch 1 Loaded 62 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10553860664367676 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1053307056427002 seulement à utiliser dans la step consolidation batch 1 Loaded 46 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10655045509338379 seulement à utiliser dans la step consolidation batch 1 Loaded 58 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10553956031799316 seulement à utiliser dans la step consolidation batch 1 Loaded 59 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10682296752929688 seulement à utiliser dans la step consolidation batch 1 Loaded 66 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10643243789672852 seulement à utiliser dans la step consolidation batch 1 Loaded 52 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10547733306884766 seulement à utiliser dans la step consolidation batch 1 Loaded 51 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10577869415283203 seulement à utiliser dans la step consolidation batch 1 Loaded 52 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10715365409851074 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10524654388427734 seulement à utiliser dans la step consolidation batch 1 Loaded 57 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.1070864200592041 seulement à utiliser dans la step consolidation batch 1 Loaded 51 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10704803466796875 seulement à utiliser dans la step consolidation batch 1 Loaded 60 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10675501823425293 seulement à utiliser dans la step consolidation batch 1 Loaded 58 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10762906074523926 seulement à utiliser dans la step consolidation batch 1 Loaded 58 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10699462890625 seulement à utiliser dans la step consolidation batch 1 Loaded 60 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10702919960021973 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10779476165771484 seulement à utiliser dans la step consolidation batch 1 Loaded 53 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10719561576843262 seulement à utiliser dans la step consolidation batch 1 Loaded 48 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.105682373046875 seulement à utiliser dans la step consolidation batch 1 Loaded 55 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10591506958007812 seulement à utiliser dans la step consolidation batch 1 Loaded 49 chid ids of type : 3327 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.10552525520324707 map_output_result : {1374072009: (0.0022841821008247015, 'Should be the crop_list due to order', 0.036288481763107255), 1374072006: (0.0022841821008247015, 'Should be the crop_list due to order', 0.00019410045633035786), 1374072005: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071992: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071990: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071988: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071987: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071985: (0.0022841821008247015, 'Should be the crop_list due to order', 0.00010188593199890415), 1374071980: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071978: (0.0022841821008247015, 'Should be the crop_list due to order', 0.00026064150773695593), 1374071975: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071972: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071970: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071969: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071965: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071963: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071961: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071959: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071958: (0.0022841821008247015, 'Should be the crop_list due to order', 0.005544603862602534), 1374071957: (0.0022841821008247015, 'Should be the crop_list due to order', 0.014714838998841535), 1374071947: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071945: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071943: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071940: (0.0022841821008247015, 'Should be the crop_list due to order', 0.0), 1374071939: (0.0022841821008247015, 'Should be the crop_list due to order', 0.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 [1374072009, 1374072006, 1374072005, 1374071992, 1374071990, 1374071988, 1374071987, 1374071985, 1374071980, 1374071978, 1374071975, 1374071972, 1374071970, 1374071969, 1374071965, 1374071963, 1374071961, 1374071959, 1374071958, 1374071957, 1374071947, 1374071945, 1374071943, 1374071940, 1374071939] Looping around the photos to save general results len do output : 25 /1374072009.Didn't retrieve data . /1374072006.Didn't retrieve data . /1374072005.Didn't retrieve data . /1374071992.Didn't retrieve data . /1374071990.Didn't retrieve data . /1374071988.Didn't retrieve data . /1374071987.Didn't retrieve data . /1374071985.Didn't retrieve data . /1374071980.Didn't retrieve data . /1374071978.Didn't retrieve data . /1374071975.Didn't retrieve data . /1374071972.Didn't retrieve data . /1374071970.Didn't retrieve data . /1374071969.Didn't retrieve data . /1374071965.Didn't retrieve data . /1374071963.Didn't retrieve data . /1374071961.Didn't retrieve data . /1374071959.Didn't retrieve data . /1374071958.Didn't retrieve data . /1374071957.Didn't retrieve data . /1374071947.Didn't retrieve data . /1374071945.Didn't retrieve data . /1374071943.Didn't retrieve data . /1374071940.Didn't retrieve data . /1374071939.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 ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072009', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072006', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072005', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071992', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071990', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071988', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071987', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071985', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071980', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071978', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071975', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071972', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071970', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071969', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071965', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071963', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071961', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071959', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071958', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071957', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071947', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071945', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071943', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071940', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071939', None, None, None, None, None, '3804862') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 75 time used for this insertion : 0.04667305946350098 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.233352899551392 time spend to save output : 0.04745841026306152 total time spend for step 3 : 7.280811309814453 step4:ventilate_hashtags_in_portfolio Wed Oct 1 09:24:55 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 : 25391737 get user id for portfolio 25391737 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`=25391737 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`=25391737 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`=25391737 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/25395371,25395372,25395373,25395374,25395375,25395376,25395377,25395378,25395381,25395382,25395383,25395385,27394271?tags=verre,etiquette,barquette_avec_film,pet_fonce,pehd,papier,metal,mal_croppe,flou,pet_clair,carton,bouchon,emr Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1374072009, 1374072006, 1374072005, 1374071992, 1374071990, 1374071988, 1374071987, 1374071985, 1374071980, 1374071978, 1374071975, 1374071972, 1374071970, 1374071969, 1374071965, 1374071963, 1374071961, 1374071959, 1374071958, 1374071957, 1374071947, 1374071945, 1374071943, 1374071940, 1374071939] Looping around the photos to save general results len do output : 1 /25391737. 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, '3804862') ('4255', '25391737', '1374072009', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072006', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072005', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071992', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071990', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071988', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071987', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071985', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071980', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071978', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071975', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071972', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071970', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071969', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071965', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071963', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071961', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071959', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071958', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071957', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071947', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071945', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071943', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071940', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071939', None, None, None, None, None, '3804862') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 time used for this insertion : 0.03908681869506836 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.2053289413452148 time spend to save output : 0.03943061828613281 total time spend for step 4 : 1.2447595596313477 step5:final Wed Oct 1 09:24:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 VR 22-3-18 : For now we do not clean correctly the datou structure Beginning of datou step final ! Inside saveOutput : final : False verbose : 0 original output for save of step final : {1374072009: ('0.006733920796372054',), 1374072006: ('0.006733920796372054',), 1374072005: ('0.006733920796372054',), 1374071992: ('0.006733920796372054',), 1374071990: ('0.006733920796372054',), 1374071988: ('0.006733920796372054',), 1374071987: ('0.006733920796372054',), 1374071985: ('0.006733920796372054',), 1374071980: ('0.006733920796372054',), 1374071978: ('0.006733920796372054',), 1374071975: ('0.006733920796372054',), 1374071972: ('0.006733920796372054',), 1374071970: ('0.006733920796372054',), 1374071969: ('0.006733920796372054',), 1374071965: ('0.006733920796372054',), 1374071963: ('0.006733920796372054',), 1374071961: ('0.006733920796372054',), 1374071959: ('0.006733920796372054',), 1374071958: ('0.006733920796372054',), 1374071957: ('0.006733920796372054',), 1374071947: ('0.006733920796372054',), 1374071945: ('0.006733920796372054',), 1374071943: ('0.006733920796372054',), 1374071940: ('0.006733920796372054',), 1374071939: ('0.006733920796372054',)} new output for save of step final : {1374072009: ('0.006733920796372054',), 1374072006: ('0.006733920796372054',), 1374072005: ('0.006733920796372054',), 1374071992: ('0.006733920796372054',), 1374071990: ('0.006733920796372054',), 1374071988: ('0.006733920796372054',), 1374071987: ('0.006733920796372054',), 1374071985: ('0.006733920796372054',), 1374071980: ('0.006733920796372054',), 1374071978: ('0.006733920796372054',), 1374071975: ('0.006733920796372054',), 1374071972: ('0.006733920796372054',), 1374071970: ('0.006733920796372054',), 1374071969: ('0.006733920796372054',), 1374071965: ('0.006733920796372054',), 1374071963: ('0.006733920796372054',), 1374071961: ('0.006733920796372054',), 1374071959: ('0.006733920796372054',), 1374071958: ('0.006733920796372054',), 1374071957: ('0.006733920796372054',), 1374071947: ('0.006733920796372054',), 1374071945: ('0.006733920796372054',), 1374071943: ('0.006733920796372054',), 1374071940: ('0.006733920796372054',), 1374071939: ('0.006733920796372054',)} [1374072009, 1374072006, 1374072005, 1374071992, 1374071990, 1374071988, 1374071987, 1374071985, 1374071980, 1374071978, 1374071975, 1374071972, 1374071970, 1374071969, 1374071965, 1374071963, 1374071961, 1374071959, 1374071958, 1374071957, 1374071947, 1374071945, 1374071943, 1374071940, 1374071939] Looping around the photos to save general results len do output : 25 /1374072009.Didn't retrieve data . /1374072006.Didn't retrieve data . /1374072005.Didn't retrieve data . /1374071992.Didn't retrieve data . /1374071990.Didn't retrieve data . /1374071988.Didn't retrieve data . /1374071987.Didn't retrieve data . /1374071985.Didn't retrieve data . /1374071980.Didn't retrieve data . /1374071978.Didn't retrieve data . /1374071975.Didn't retrieve data . /1374071972.Didn't retrieve data . /1374071970.Didn't retrieve data . /1374071969.Didn't retrieve data . /1374071965.Didn't retrieve data . /1374071963.Didn't retrieve data . /1374071961.Didn't retrieve data . /1374071959.Didn't retrieve data . /1374071958.Didn't retrieve data . /1374071957.Didn't retrieve data . /1374071947.Didn't retrieve data . /1374071945.Didn't retrieve data . /1374071943.Didn't retrieve data . /1374071940.Didn't retrieve data . /1374071939.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, '3804862') ('4255', '25391737', '1374072009', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072006', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072005', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071992', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071990', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071988', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071987', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071985', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071980', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071978', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071975', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071972', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071970', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071969', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071965', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071963', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071961', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071959', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071958', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071957', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071947', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071945', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071943', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071940', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071939', None, None, None, None, None, '3804862') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 75 time used for this insertion : 0.03971385955810547 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09595036506652832 time spend to save output : 0.040802001953125 total time spend for step 5 : 0.13675236701965332 step6:blur_detection Wed Oct 1 09:24:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 25 time used for this insertion : 0.035416603088378906 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 25 time used for this insertion : 0.03645896911621094 save missing photos in datou_result : time spend for datou_step_exec : 0.08901500701904297 time spend to save output : 0.08932948112487793 total time spend for step 6 : 0.1783444881439209 step7:brightness Wed Oct 1 09:24:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 25 time used for this insertion : 0.03636574745178223 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 25 time used for this insertion : 0.03449892997741699 save missing photos in datou_result : time spend for datou_step_exec : 0.10532617568969727 time spend to save output : 0.08754944801330566 total time spend for step 7 : 0.19287562370300293 step8:send_mail_cod Wed Oct 1 09:24:56 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_P25391737_01-10-2025_09_24_56.pdf 25395371 imagette253953711759303496 25395372 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette253953721759303497 25395373 change filename to text .imagette253953731759303497 25395374 imagette253953741759303497 25395375 imagette253953751759303497 25395376 change filename to text .imagette253953761759303497 25395377 imagette253953771759303498 25395383 change filename to text .change filename to text .imagette253953831759303498 25395385 change filename to text .imagette253953851759303498 27394271 imagette273942711759303498 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25391737 and hashtag_type = 3327 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/25395371,25395372,25395373,25395374,25395375,25395376,25395377,25395378,25395381,25395382,25395383,25395385,27394271?tags=verre,etiquette,barquette_avec_film,pet_fonce,pehd,papier,metal,mal_croppe,flou,pet_clair,carton,bouchon,emr your option no_mail is active, we will not send the real mail to your client args[1374072009] : ((1374072009, -7.150422182924391, 492609224), (1374072009, -0.10306499591088342, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374072006] : ((1374072006, -7.259523162803077, 492609224), (1374072006, 0.03594186965086961, 2107752395), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374072005] : ((1374072005, -7.224205354752568, 492609224), (1374072005, -0.15987556992833088, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071992] : ((1374071992, -7.389049932757685, 492609224), (1374071992, -0.11659045014356641, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071990] : ((1374071990, -7.036649256979763, 492609224), (1374071990, -0.17407124122427473, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071988] : ((1374071988, -7.2532366988737005, 492609224), (1374071988, -0.1112885093257613, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071987] : ((1374071987, -7.222745258453893, 492609224), (1374071987, -0.10764165643236828, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071985] : ((1374071985, -7.277091263456186, 492609224), (1374071985, -0.04731947585092121, 2107752395), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071980] : ((1374071980, -7.125875554977298, 492609224), (1374071980, -0.12293672933319588, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071978] : ((1374071978, -7.30066211532413, 492609224), (1374071978, 0.06364880657288734, 2107752395), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071975] : ((1374071975, -7.167156534426817, 492609224), (1374071975, -0.168760626291267, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071972] : ((1374071972, -7.309949180655947, 492609224), (1374071972, -0.1153619795131957, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071970] : ((1374071970, -7.028547048369775, 492609224), (1374071970, -0.15623462715272243, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071969] : ((1374071969, -7.044911392278454, 492609224), (1374071969, -0.005645428245617142, 2107752395), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071965] : ((1374071965, -7.0814042689711565, 492609224), (1374071965, -0.2657843691804167, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071963] : ((1374071963, -7.0387501847276015, 492609224), (1374071963, -0.12266493889791384, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071961] : ((1374071961, -7.357156075994867, 492609224), (1374071961, 0.048204530998773774, 2107752395), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071959] : ((1374071959, -6.481974797465427, 492609224), (1374071959, -0.4341468523502285, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071958] : ((1374071958, -7.277117998094094, 492609224), (1374071958, -0.11112816286973502, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071957] : ((1374071957, -7.061839854710173, 492609224), (1374071957, -0.1329625774326573, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071947] : ((1374071947, -6.701375938549522, 492609224), (1374071947, -0.29008564405890924, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071945] : ((1374071945, -7.206513552709474, 492609224), (1374071945, -0.002127332796836742, 2107752395), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071943] : ((1374071943, -6.331682877041225, 492609224), (1374071943, -0.36160050687448986, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071940] : ((1374071940, -6.364230869026835, 492609224), (1374071940, -0.40313904938671774, 496442774), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com args[1374071939] : ((1374071939, -5.675294968074894, 492609224), (1374071939, -0.9071216395501434, 501862349), '0.006733920796372054') We are sending mail with results at kexin@fotonower.com refus_total : 0.006733920796372054 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=25391737 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_P25391737_01-10-2025_09_24_56.pdf results_COD_P25391737_01-10-2025_09_24_56.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25391737_01-10-2025_09_24_56.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','25391737','results_COD_P25391737_01-10-2025_09_24_56.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25391737_01-10-2025_09_24_56.pdf','pdf','','0.74','0.006733920796372054') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1374072009, 1374072006, 1374072005, 1374071992, 1374071990, 1374071988, 1374071987, 1374071985, 1374071980, 1374071978, 1374071975, 1374071972, 1374071970, 1374071969, 1374071965, 1374071963, 1374071961, 1374071959, 1374071958, 1374071957, 1374071947, 1374071945, 1374071943, 1374071940, 1374071939] 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, '3804862') ('4255', '25391737', '1374072009', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072006', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072005', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071992', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071990', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071988', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071987', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071985', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071980', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071978', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071975', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071972', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071970', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071969', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071965', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071963', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071961', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071959', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071958', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071957', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071947', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071945', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071943', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071940', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071939', None, None, None, None, None, '3804862') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 time used for this insertion : 0.03911089897155762 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.687116384506226 time spend to save output : 0.03943133354187012 total time spend for step 8 : 6.726547718048096 step9:split_time_score Wed Oct 1 09:25:03 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('14', 25),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22072025 25391737 Nombre de photos uploadées : 25 / 23040 (0%) 22072025 25391737 Nombre de photos taguées (types de déchets): 0 / 25 (0%) 22072025 25391737 Nombre de photos taguées (volume) : 0 / 25 (0%) elapsed_time : load_data_split_time_score 3.0994415283203125e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0014722347259521484 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6552214622497559 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25197411_23-07-2025_02_58_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25197411 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25197412_23-07-2025_08_09_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25197412 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25197413_04-09-2025_11_42_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25197413 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25197414_23-07-2025_17_51_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25197414 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25197414_23-07-2025_17_51_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25197414 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25197415_23-07-2025_03_41_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25197415 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25197416_23-07-2025_03_52_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25197416 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391730_28-07-2025_20_08_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391730 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391733_28-07-2025_10_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391733 order by id desc limit 1 Qualite : 0.006733920796372054 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25391737_01-10-2025_09_24_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391737 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`=25391737 AND mptpi.`type`=3327 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391741_28-07-2025_20_16_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391741 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391741_28-07-2025_20_16_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391741 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391745_28-07-2025_09_59_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391745 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391749_28-07-2025_09_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391749 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391754_28-07-2025_16_30_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391754 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391754_28-07-2025_16_30_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391754 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391758_28-07-2025_09_55_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391758 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391762_28-07-2025_09_21_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391762 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391766_28-07-2025_09_56_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391766 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391770_28-07-2025_16_35_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391770 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391770_28-07-2025_16_35_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391770 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391773_28-07-2025_09_27_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391773 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391788_28-07-2025_09_27_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391788 order by id desc limit 1 Qualite : 0.04023994933783941 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25391803_30-09-2025_12_50_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391803 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 11481 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11482 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11479 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11479 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11486 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11480 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11483 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11484 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11485 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11487 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 11481 have datatype=11 whereas input 0 of step 11479 have datatype=2 WARNING : type of output 1 of step 11482 doesn't seem to be define in the database( WARNING : type of input 3 of step 11480 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 11482 doesn't seem to be define in the database( WARNING : type of input 1 of step 11479 doesn't seem to be define in the database( WARNING : output 0 of step 11486 have datatype=10 whereas input 3 of step 11485 have datatype=6 WARNING : type of input 1 of step 11486 doesn't seem to be define in the database( WARNING : output 1 of step 11479 have datatype=7 whereas input 1 of step 11486 have datatype=None WARNING : type of output 1 of step 11486 doesn't seem to be define in the database( WARNING : type of input 4 of step 11480 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11481 doesn't seem to be define in the database( WARNING : type of input 1 of step 11482 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`=25391803 AND mptpi.`type`=3726 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391806_28-07-2025_16_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391806 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391806_28-07-2025_16_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391806 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391810_28-07-2025_15_29_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391810 order by id desc limit 1 Qualite : 0.1250267579543392 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391813_28-07-2025_12_48_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391813 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25391813 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391815_28-07-2025_08_47_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391815 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391819_28-07-2025_09_25_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391819 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391822_28-07-2025_17_57_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391822 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391825_28-07-2025_19_58_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391825 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391825_28-07-2025_19_58_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391825 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391829_28-07-2025_09_21_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391829 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391831_28-07-2025_09_07_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391831 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391845_28-07-2025_09_13_19.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391845 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391859_28-07-2025_14_50_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391859 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391859_28-07-2025_14_50_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391859 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391861_28-07-2025_09_23_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391861 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391863_28-07-2025_09_13_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391863 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391864_28-07-2025_09_17_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391864 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25391866_25-09-2025_12_36_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391866 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25391866_25-09-2025_12_36_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391866 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391868_28-07-2025_09_12_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391868 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391871_28-07-2025_09_01_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391871 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391873_28-07-2025_15_50_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391873 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391873_28-07-2025_15_50_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391873 order by id desc limit 1 Qualite : 0.10850517044201943 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391875_28-07-2025_13_02_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391875 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25391875 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391889_28-07-2025_14_55_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391889 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391903_28-07-2025_15_52_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391903 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391906_28-07-2025_08_58_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391906 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391909_28-07-2025_12_29_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391909 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391912_28-07-2025_15_59_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391912 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391912_28-07-2025_15_59_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391912 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391914_28-07-2025_08_57_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391914 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391918_28-07-2025_16_05_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391918 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391918_28-07-2025_16_05_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391918 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391920_28-07-2025_08_52_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391920 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391923_28-07-2025_09_31_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391923 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391926_28-07-2025_08_57_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391926 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25391929_28-07-2025_08_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25391929 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22072025': {'nb_upload': 25, '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 [1374072009, 1374072006, 1374072005, 1374071992, 1374071990, 1374071988, 1374071987, 1374071985, 1374071980, 1374071978, 1374071975, 1374071972, 1374071970, 1374071969, 1374071965, 1374071963, 1374071961, 1374071959, 1374071958, 1374071957, 1374071947, 1374071945, 1374071943, 1374071940, 1374071939] Looping around the photos to save general results len do output : 1 /25391737Didn'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, '3804862') ('4255', '25391737', '1374072009', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072006', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374072005', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071992', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071990', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071988', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071987', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071985', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071980', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071978', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071975', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071972', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071970', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071969', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071965', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071963', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071961', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071959', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071958', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071957', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071947', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071945', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071943', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071940', None, None, None, None, None, '3804862') ('4255', None, None, None, None, None, None, None, '3804862') ('4255', '25391737', '1374071939', None, None, None, None, None, '3804862') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 time used for this insertion : 0.038781166076660156 save_final save missing photos in datou_result : time spend for datou_step_exec : 23.18307900428772 time spend to save output : 0.03912353515625 total time spend for step 9 : 23.22220253944397 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 25 set_done_treatment 6.78user 2.75system 1:02.37elapsed 15%CPU (0avgtext+0avgdata 175720maxresident)k 560inputs+72272outputs (4major+160487minor)pagefaults 0swaps