python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4254 ' -s datou_consolidate -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1479334 load datou : 4254 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11635 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11636 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11633 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11633 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11640 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11634 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11637 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11638 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11639 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11641 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11635 have datatype=11 whereas input 0 of step 11633 have datatype=2 WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 3 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 1 of step 11633 doesn't seem to be define in the database( WARNING : output 0 of step 11640 have datatype=10 whereas input 3 of step 11639 have datatype=6 WARNING : type of input 1 of step 11640 doesn't seem to be define in the database( WARNING : output 1 of step 11633 have datatype=7 whereas input 1 of step 11640 have datatype=None WARNING : type of output 1 of step 11640 doesn't seem to be define in the database( WARNING : type of input 4 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11635 doesn't seem to be define in the database( WARNING : type of input 1 of step 11636 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4254, datou_cur_ids : ['3771302'] with mtr_portfolio_ids : ['24738952'] and first list_photo_ids : [] new path : /proc/1479334/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11635 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11636 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11633 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11633 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11640 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11634 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11637 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11638 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11639 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11641 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11635 have datatype=11 whereas input 0 of step 11633 have datatype=2 WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 3 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11636 doesn't seem to be define in the database( WARNING : type of input 1 of step 11633 doesn't seem to be define in the database( WARNING : output 0 of step 11640 have datatype=10 whereas input 3 of step 11639 have datatype=6 WARNING : type of input 1 of step 11640 doesn't seem to be define in the database( WARNING : output 1 of step 11633 have datatype=7 whereas input 1 of step 11640 have datatype=None WARNING : type of output 1 of step 11640 doesn't seem to be define in the database( WARNING : type of input 4 of step 11634 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11635 doesn't seem to be define in the database( WARNING : type of input 1 of step 11636 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 22 ; length of list_pids : 22 ; length of list_args : 22 time to download the photos : 4.950485706329346 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 Sep 24 12:21: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 Begin step datou_step_copy_crop batch 1 Loaded 25 chid ids of type : 4200 batch 1 Loaded 267 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1371266768, 1371266767, 1371266766, 1371266765, 1371266764, 1371266710, 1371266709, 1371266708, 1371266707, 1371266706, 1371266572, 1371266571, 1371266570, 1371266569, 1371266568, 1371266567, 1371266551, 1371266550, 1371266549, 1371266548, 1371266547, 1371266546] Looping around the photos to save general results len do output : 22 /1371266546Didn't retrieve data . /1371266547Didn't retrieve data . /1371266548Didn't retrieve data . /1371266549Didn't retrieve data . /1371266550Didn't retrieve data . /1371266551Didn't retrieve data . /1371266567Didn't retrieve data . /1371266568Didn't retrieve data . /1371266569Didn't retrieve data . /1371266570Didn't retrieve data . /1371266571Didn't retrieve data . /1371266572Didn't retrieve data . /1371266706Didn't retrieve data . /1371266707Didn't retrieve data . /1371266708Didn't retrieve data . /1371266709Didn't retrieve data . /1371266710Didn't retrieve data . /1371266764Didn't retrieve data . /1371266765Didn't retrieve data . /1371266766Didn't retrieve data . /1371266767Didn't retrieve data . /1371266768Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266768', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266767', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266766', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266765', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266764', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266710', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266709', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266708', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266707', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266706', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266572', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266571', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266570', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266569', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266568', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266567', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266551', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266550', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266549', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266548', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266547', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266546', None, None, None, None, None, '3771302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 time used for this insertion : 0.018571138381958008 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0933082103729248 time spend to save output : 0.01925182342529297 total time spend for step 1 : 0.11256003379821777 step2:consolidate_hashtags_from_manual_portfolio Wed Sep 24 12:21: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 : 24738952 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`=24738952 AND mptpi.`type`=4200 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24738952 AND mptpi.`type`=4200 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24738952 AND mptpi.`type`=4200 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739975 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739976 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739977 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 53 chid ids of type : 4200 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739978 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739979 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739980 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 105 chid ids of type : 4200 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739981 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 177 chid ids of type : 4200 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739982 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 231 chid ids of type : 4200 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739983 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 223 chid ids of type : 4200 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739984 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739986 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 267 chid ids of type : 4200 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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 ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739987 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 151 chid ids of type : 4200 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739988 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 14 chid ids of type : 4200 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739989 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 89 chid ids of type : 4200 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739990 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 65 chid ids of type : 4200 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24739991 AND mpp.hide_status=0 ORDER BY ph.size desc TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27183567 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 [1371266768, 1371266767, 1371266766, 1371266765, 1371266764, 1371266710, 1371266709, 1371266708, 1371266707, 1371266706, 1371266572, 1371266571, 1371266570, 1371266569, 1371266568, 1371266567, 1371266551, 1371266550, 1371266549, 1371266548, 1371266547, 1371266546] 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 : 22 time used for this insertion : 0.014806032180786133 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.2919561862945557 time spend to save output : 0.014986515045166016 total time spend for step 2 : 3.3069427013397217 step3:rle_unique_nms_with_priority Wed Sep 24 12:21:36 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 232 chid ids of type : 4200 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02615189552307129 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02653789520263672 seulement à utiliser dans la step consolidation batch 1 Loaded 4 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02443408966064453 seulement à utiliser dans la step consolidation batch 1 Loaded 16 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029006004333496094 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02847433090209961 seulement à utiliser dans la step consolidation batch 1 Loaded 14 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.026955366134643555 seulement à utiliser dans la step consolidation batch 1 Loaded 16 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.026874542236328125 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.026654720306396484 seulement à utiliser dans la step consolidation batch 1 Loaded 13 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02871990203857422 seulement à utiliser dans la step consolidation batch 1 Loaded 14 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02668166160583496 seulement à utiliser dans la step consolidation batch 1 Loaded 16 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.025931596755981445 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.026907682418823242 seulement à utiliser dans la step consolidation batch 1 Loaded 14 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02657175064086914 seulement à utiliser dans la step consolidation batch 1 Loaded 15 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02784132957458496 seulement à utiliser dans la step consolidation batch 1 Loaded 15 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.027907848358154297 seulement à utiliser dans la step consolidation batch 1 Loaded 9 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02653217315673828 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03399801254272461 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.027488231658935547 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.027660608291625977 seulement à utiliser dans la step consolidation batch 1 Loaded 18 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028647422790527344 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02684164047241211 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4200 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.027338266372680664 map_output_result : {1371266768: (0.0, 'Should be the crop_list due to order', 0), 1371266767: (0.0, 'Should be the crop_list due to order', 0), 1371266766: (0.0, 'Should be the crop_list due to order', 0), 1371266765: (0.0, 'Should be the crop_list due to order', 0), 1371266764: (0.0, 'Should be the crop_list due to order', 0), 1371266710: (0.0, 'Should be the crop_list due to order', 0), 1371266709: (0.0, 'Should be the crop_list due to order', 0), 1371266708: (0.0, 'Should be the crop_list due to order', 0), 1371266707: (0.0, 'Should be the crop_list due to order', 0), 1371266706: (0.0, 'Should be the crop_list due to order', 0), 1371266572: (0.0, 'Should be the crop_list due to order', 0), 1371266571: (0.0, 'Should be the crop_list due to order', 0), 1371266570: (0.0, 'Should be the crop_list due to order', 0), 1371266569: (0.0, 'Should be the crop_list due to order', 0), 1371266568: (0.0, 'Should be the crop_list due to order', 0), 1371266567: (0.0, 'Should be the crop_list due to order', 0), 1371266551: (0.0, 'Should be the crop_list due to order', 0), 1371266550: (0.0, 'Should be the crop_list due to order', 0), 1371266549: (0.0, 'Should be the crop_list due to order', 0), 1371266548: (0.0, 'Should be the crop_list due to order', 0), 1371266547: (0.0, 'Should be the crop_list due to order', 0), 1371266546: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1371266768, 1371266767, 1371266766, 1371266765, 1371266764, 1371266710, 1371266709, 1371266708, 1371266707, 1371266706, 1371266572, 1371266571, 1371266570, 1371266569, 1371266568, 1371266567, 1371266551, 1371266550, 1371266549, 1371266548, 1371266547, 1371266546] Looping around the photos to save general results len do output : 22 /1371266768.Didn't retrieve data . /1371266767.Didn't retrieve data . /1371266766.Didn't retrieve data . /1371266765.Didn't retrieve data . /1371266764.Didn't retrieve data . /1371266710.Didn't retrieve data . /1371266709.Didn't retrieve data . /1371266708.Didn't retrieve data . /1371266707.Didn't retrieve data . /1371266706.Didn't retrieve data . /1371266572.Didn't retrieve data . /1371266571.Didn't retrieve data . /1371266570.Didn't retrieve data . /1371266569.Didn't retrieve data . /1371266568.Didn't retrieve data . /1371266567.Didn't retrieve data . /1371266551.Didn't retrieve data . /1371266550.Didn't retrieve data . /1371266549.Didn't retrieve data . /1371266548.Didn't retrieve data . /1371266547.Didn't retrieve data . /1371266546.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266768', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266767', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266766', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266765', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266764', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266710', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266709', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266708', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266707', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266706', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266572', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266571', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266570', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266569', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266568', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266567', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266551', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266550', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266549', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266548', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266547', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266546', None, None, None, None, None, '3771302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.015984058380126953 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.9542782306671143 time spend to save output : 0.01662898063659668 total time spend for step 3 : 3.970907211303711 step4:ventilate_hashtags_in_portfolio Wed Sep 24 12:21:40 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 : 24738952 get user id for portfolio 24738952 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`=24738952 AND mptpi.`type`=4200 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=24738952 AND mptpi.`type`=4200 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://marlene.fotonower.com/velours/24739975,24739976,24739977,24739978,24739979,24739980,24739981,24739982,24739983,24739984,24739986,24739987,24739988,24739989,24739990,24739991?tags=kraft,pet_fonce,metal,textiles_sanitaires,ela,carton,environnement,barquette_opaque,pet_clair,pehd,mal_croppe,film_plastique,etiquette,pet_opaque,papier,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1371266768, 1371266767, 1371266766, 1371266765, 1371266764, 1371266710, 1371266709, 1371266708, 1371266707, 1371266706, 1371266572, 1371266571, 1371266570, 1371266569, 1371266568, 1371266567, 1371266551, 1371266550, 1371266549, 1371266548, 1371266547, 1371266546] Looping around the photos to save general results len do output : 1 /24738952. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266768', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266767', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266766', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266765', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266764', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266710', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266709', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266708', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266707', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266706', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266572', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266571', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266570', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266569', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266568', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266567', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266551', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266550', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266549', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266548', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266547', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266546', None, None, None, None, None, '3771302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.016675472259521484 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.33625245094299316 time spend to save output : 0.01698780059814453 total time spend for step 4 : 0.3532402515411377 step5:final Wed Sep 24 12:21:40 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 : {1371266768: ('0.9990314640343693',), 1371266767: ('0.9990314640343693',), 1371266766: ('0.9990314640343693',), 1371266765: ('0.9990314640343693',), 1371266764: ('0.9990314640343693',), 1371266710: ('0.9990314640343693',), 1371266709: ('0.9990314640343693',), 1371266708: ('0.9990314640343693',), 1371266707: ('0.9990314640343693',), 1371266706: ('0.9990314640343693',), 1371266572: ('0.9990314640343693',), 1371266571: ('0.9990314640343693',), 1371266570: ('0.9990314640343693',), 1371266569: ('0.9990314640343693',), 1371266568: ('0.9990314640343693',), 1371266567: ('0.9990314640343693',), 1371266551: ('0.9990314640343693',), 1371266550: ('0.9990314640343693',), 1371266549: ('0.9990314640343693',), 1371266548: ('0.9990314640343693',), 1371266547: ('0.9990314640343693',), 1371266546: ('0.9990314640343693',)} new output for save of step final : {1371266768: ('0.9990314640343693',), 1371266767: ('0.9990314640343693',), 1371266766: ('0.9990314640343693',), 1371266765: ('0.9990314640343693',), 1371266764: ('0.9990314640343693',), 1371266710: ('0.9990314640343693',), 1371266709: ('0.9990314640343693',), 1371266708: ('0.9990314640343693',), 1371266707: ('0.9990314640343693',), 1371266706: ('0.9990314640343693',), 1371266572: ('0.9990314640343693',), 1371266571: ('0.9990314640343693',), 1371266570: ('0.9990314640343693',), 1371266569: ('0.9990314640343693',), 1371266568: ('0.9990314640343693',), 1371266567: ('0.9990314640343693',), 1371266551: ('0.9990314640343693',), 1371266550: ('0.9990314640343693',), 1371266549: ('0.9990314640343693',), 1371266548: ('0.9990314640343693',), 1371266547: ('0.9990314640343693',), 1371266546: ('0.9990314640343693',)} [1371266768, 1371266767, 1371266766, 1371266765, 1371266764, 1371266710, 1371266709, 1371266708, 1371266707, 1371266706, 1371266572, 1371266571, 1371266570, 1371266569, 1371266568, 1371266567, 1371266551, 1371266550, 1371266549, 1371266548, 1371266547, 1371266546] Looping around the photos to save general results len do output : 22 /1371266768.Didn't retrieve data . /1371266767.Didn't retrieve data . /1371266766.Didn't retrieve data . /1371266765.Didn't retrieve data . /1371266764.Didn't retrieve data . /1371266710.Didn't retrieve data . /1371266709.Didn't retrieve data . /1371266708.Didn't retrieve data . /1371266707.Didn't retrieve data . /1371266706.Didn't retrieve data . /1371266572.Didn't retrieve data . /1371266571.Didn't retrieve data . /1371266570.Didn't retrieve data . /1371266569.Didn't retrieve data . /1371266568.Didn't retrieve data . /1371266567.Didn't retrieve data . /1371266551.Didn't retrieve data . /1371266550.Didn't retrieve data . /1371266549.Didn't retrieve data . /1371266548.Didn't retrieve data . /1371266547.Didn't retrieve data . /1371266546.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266768', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266767', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266766', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266765', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266764', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266710', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266709', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266708', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266707', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266706', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266572', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266571', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266570', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266569', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266568', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266567', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266551', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266550', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266549', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266548', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266547', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266546', None, None, None, None, None, '3771302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.01584482192993164 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08095383644104004 time spend to save output : 0.016863107681274414 total time spend for step 5 : 0.09781694412231445 step6:blur_detection Wed Sep 24 12:21:40 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 : 22 time used for this insertion : 0.011015653610229492 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 22 time used for this insertion : 0.012839555740356445 save missing photos in datou_result : time spend for datou_step_exec : 0.02728891372680664 time spend to save output : 0.027826547622680664 total time spend for step 6 : 0.055115461349487305 step7:brightness Wed Sep 24 12:21:40 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 : 22 time used for this insertion : 0.008799076080322266 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 22 time used for this insertion : 0.009087800979614258 save missing photos in datou_result : time spend for datou_step_exec : 0.02671957015991211 time spend to save output : 0.022301197052001953 total time spend for step 7 : 0.04902076721191406 step8:send_mail_cod Wed Sep 24 12:21:40 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_P24738952_24-09-2025_12_21_40.pdf 24739975 imagette247399751758709300 24739977 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette247399771758709300 24739978 imagette247399781758709301 24739979 imagette247399791758709301 24739980 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette247399801758709301 24739982 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette247399821758709303 24739983 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette247399831758709305 24739984 imagette247399841758709309 24739987 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette247399871758709309 24739988 change filename to text .imagette247399881758709311 24739989 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette247399891758709311 24739990 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette247399901758709312 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=24738952 and hashtag_type = 4200 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/24739975,24739976,24739977,24739978,24739979,24739980,24739981,24739982,24739983,24739984,24739986,24739987,24739988,24739989,24739990,24739991?tags=kraft,pet_fonce,metal,textiles_sanitaires,ela,carton,environnement,barquette_opaque,pet_clair,pehd,mal_croppe,film_plastique,etiquette,pet_opaque,papier,flou your option no_mail is active, we will not send the real mail to your client args[1371266768] : ((1371266768, -1.3898473174437351, 492688767), (1371266768, -0.10589625606986101, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266767] : ((1371266767, -1.520114240225483, 492688767), (1371266767, -0.15197107880177682, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266766] : ((1371266766, -1.680941062058191, 492688767), (1371266766, -0.33032792751328943, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266765] : ((1371266765, -2.0701044676932328, 492609224), (1371266765, -0.10183046583663362, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266764] : ((1371266764, -1.090661185053124, 492688767), (1371266764, -0.24186797420652661, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266710] : ((1371266710, 0.22256562384454356, 492688767), (1371266710, -0.2113282697924914, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266709] : ((1371266709, -1.9904456291475823, 492688767), (1371266709, -0.28657103225764163, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266708] : ((1371266708, -1.4103385686281231, 492688767), (1371266708, -0.23167565194185966, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266707] : ((1371266707, -1.3945726224786987, 492688767), (1371266707, -0.1338814677233947, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266706] : ((1371266706, -3.7433629110474174, 492609224), (1371266706, -0.13000360298443794, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266572] : ((1371266572, 1.1111611008770297, 492688767), (1371266572, -0.06574988149672459, 2107752395), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266571] : ((1371266571, 2.634323124635113, 492688767), (1371266571, -0.3156587640414508, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266570] : ((1371266570, -3.479761994501601, 492609224), (1371266570, -0.21232414781129824, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266569] : ((1371266569, -2.9395939076477915, 492609224), (1371266569, -0.19899791326477587, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266568] : ((1371266568, -0.19019379758056768, 492688767), (1371266568, -0.1400057789122422, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266567] : ((1371266567, -0.8029217026134771, 492688767), (1371266567, -0.1028079014243754, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266551] : ((1371266551, -6.306964796451043, 492609224), (1371266551, -0.10722812051705384, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266550] : ((1371266550, -2.2981650529675686, 492609224), (1371266550, -0.05412783473424782, 2107752395), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266549] : ((1371266549, 0.25878391852661287, 492688767), (1371266549, -0.1457662456191942, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266548] : ((1371266548, -0.27725394544494597, 492688767), (1371266548, -0.3792943014505309, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266547] : ((1371266547, -2.3141117702248093, 492609224), (1371266547, -0.28294813571839833, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com args[1371266546] : ((1371266546, 1.6703034873771676, 492688767), (1371266546, -0.3287761515421553, 496442774), '0.9990314640343693') We are sending mail with results at kexin@fotonower.com refus_total : 0.9990314640343693 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=24738952 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_P24738952_24-09-2025_12_21_40.pdf results_COD_P24738952_24-09-2025_12_21_40.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24738952_24-09-2025_12_21_40.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4254','24738952','results_COD_P24738952_24-09-2025_12_21_40.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P24738952_24-09-2025_12_21_40.pdf','pdf','','2.43','0.9990314640343693') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1371266768, 1371266767, 1371266766, 1371266765, 1371266764, 1371266710, 1371266709, 1371266708, 1371266707, 1371266706, 1371266572, 1371266571, 1371266570, 1371266569, 1371266568, 1371266567, 1371266551, 1371266550, 1371266549, 1371266548, 1371266547, 1371266546] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266768', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266767', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266766', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266765', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266764', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266710', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266709', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266708', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266707', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266706', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266572', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266571', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266570', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266569', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266568', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266567', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266551', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266550', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266549', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266548', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266547', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266546', None, None, None, None, None, '3771302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 time used for this insertion : 0.014751434326171875 save_final save missing photos in datou_result : time spend for datou_step_exec : 17.76582980155945 time spend to save output : 0.015003442764282227 total time spend for step 8 : 17.78083324432373 step9:split_time_score Wed Sep 24 12:21:58 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'}] (('03', 22),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08072025 24738952 Nombre de photos uploadées : 22 / 23040 (0%) 08072025 24738952 Nombre de photos taguées (types de déchets): 0 / 22 (0%) 08072025 24738952 Nombre de photos taguées (volume) : 0 / 22 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ?????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0010747909545898438 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.20261168479919434 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_P24715061_08-07-2025_07_09_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24715061 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24715074_08-07-2025_07_05_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24715074 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24715075_08-07-2025_07_15_24.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24715075 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24733303_08-07-2025_17_19_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24733303 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24733304_08-07-2025_16_57_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24733304 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24733952_08-07-2025_17_50_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24733952 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24733953_08-07-2025_17_45_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24733953 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24738946_08-07-2025_22_34_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24738946 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24738947_08-07-2025_22_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24738947 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24738948_08-07-2025_22_52_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24738948 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736384_08-07-2025_21_40_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736384 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736385_08-07-2025_21_55_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736385 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736387_08-07-2025_21_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736387 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736388_08-07-2025_21_39_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736388 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736321_08-07-2025_21_52_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736321 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736322_08-07-2025_21_47_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736322 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736323_08-07-2025_21_32_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736323 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736324_08-07-2025_21_34_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736324 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736325_08-07-2025_21_42_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736325 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24738949_08-07-2025_22_41_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24738949 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24738950_08-07-2025_22_35_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24738950 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24738951_08-07-2025_22_44_22.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24738951 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736391_08-07-2025_21_39_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736391 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736328_08-07-2025_21_37_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736328 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736329_08-07-2025_21_33_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736329 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736330_08-07-2025_21_58_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736330 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736331_08-07-2025_21_45_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736331 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736392_08-07-2025_21_39_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736392 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736394_08-07-2025_21_37_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736394 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24736395_08-07-2025_21_51_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24736395 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24733307_08-07-2025_17_13_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24733307 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24733308_08-07-2025_16_57_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24733308 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24733309_08-07-2025_16_59_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24733309 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24733310_08-07-2025_17_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24733310 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24733312_08-07-2025_17_18_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24733312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24731933_08-07-2025_15_25_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24731933 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P24724579_08-07-2025_11_10_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 24724579 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25127829_21-07-2025_10_37_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25127829 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08072025': {'nb_upload': 22, '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 [1371266768, 1371266767, 1371266766, 1371266765, 1371266764, 1371266710, 1371266709, 1371266708, 1371266707, 1371266706, 1371266572, 1371266571, 1371266570, 1371266569, 1371266568, 1371266567, 1371266551, 1371266550, 1371266549, 1371266548, 1371266547, 1371266546] Looping around the photos to save general results len do output : 1 /24738952Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266768', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266767', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266766', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266765', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266764', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266710', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266709', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266708', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266707', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266706', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266572', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266571', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266570', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266569', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266568', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266567', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266551', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266550', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266549', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266548', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266547', None, None, None, None, None, '3771302') ('4254', None, None, None, None, None, None, None, '3771302') ('4254', '24738952', '1371266546', None, None, None, None, None, '3771302') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.015070199966430664 save_final save missing photos in datou_result : time spend for datou_step_exec : 19.732810735702515 time spend to save output : 0.015360593795776367 total time spend for step 9 : 19.74817132949829 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 22 set_done_treatment 6.41user 2.76system 0:54.23elapsed 16%CPU (0avgtext+0avgdata 221292maxresident)k 592inputs+126568outputs (16major+162416minor)pagefaults 0swaps