python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4252 ' -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 : 3878392 load datou : 4252 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current 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 : 4252, datou_cur_ids : ['2599205'] with mtr_portfolio_ids : ['20671422'] and first list_photo_ids : [] new path : /proc/3878392/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 doesn't seem to be define in the database( DataTypes for each output/input checked ! List Step Type Loaded in datou : copy_chis, consolidate_hashtags_from_manual_portfolio, rle_unique_nms_with_priority, ventilate_hashtags_in_portfolio, final, blur_detection, brightness, send_mail_cod, split_time_score over limit max, limiting to limit_max 100 list_input_json : {} origin We have 1 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 26 ; length of list_pids : 26 ; length of list_args : 26 time to download the photos : 4.745733022689819 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 Feb 19 11:30: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 183 chid ids of type : 4211 batch 1 Loaded 398 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! batch 1 Loaded 240 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : copy_chis we use saveGeneral [1338510790, 1338510684, 1338510629, 1338510627, 1338510621, 1338510505, 1338510503, 1338510499, 1338510497, 1338510496, 1338510220, 1338510157, 1338510154, 1338510148, 1338510135, 1338510132, 1338510119, 1338510037, 1338509982, 1338509858, 1338509850, 1338509841, 1338509838, 1338508792, 1338508783, 1338508779] Looping around the photos to save general results len do output : 26 /1338508779Didn't retrieve data . /1338508783Didn't retrieve data . /1338508792Didn't retrieve data . /1338509838Didn't retrieve data . /1338509841Didn't retrieve data . /1338509850Didn't retrieve data . /1338509858Didn't retrieve data . /1338509982Didn't retrieve data . /1338510037Didn't retrieve data . /1338510119Didn't retrieve data . /1338510132Didn't retrieve data . /1338510135Didn't retrieve data . /1338510148Didn't retrieve data . /1338510154Didn't retrieve data . /1338510157Didn't retrieve data . /1338510220Didn't retrieve data . /1338510496Didn't retrieve data . /1338510497Didn't retrieve data . /1338510499Didn't retrieve data . /1338510503Didn't retrieve data . /1338510505Didn't retrieve data . /1338510621Didn't retrieve data . /1338510627Didn't retrieve data . /1338510629Didn't retrieve data . /1338510684Didn't retrieve data . /1338510790Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510790', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510684', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510629', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510627', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510621', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510505', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510503', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510499', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510497', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510496', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510220', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510157', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510154', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510148', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510135', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510132', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510119', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510037', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509982', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509858', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509850', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509841', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509838', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508792', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508783', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508779', None, None, None, None, None, '2599205') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 52 time used for this insertion : 0.016031742095947266 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.15300393104553223 time spend to save output : 0.016855716705322266 total time spend for step 1 : 0.1698596477508545 step2:consolidate_hashtags_from_manual_portfolio Wed Feb 19 11:30: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 : 20671422 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`=20671422 AND mptpi.`type`=4211 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20671422 AND mptpi.`type`=4211 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20671422 AND mptpi.`type`=4211 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20671605 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=20671606 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 621 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=20671607 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 496 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=20671609 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=20671610 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 627 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=20671611 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 32 chid ids of type : 4211 begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20671612 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 352 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=20671613 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 576 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=20671614 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=20671615 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 53 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20671616 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=20671617 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 81 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20671618 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=20671619 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=20671620 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=20671621 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 411 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : 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=20672089 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 [1338510790, 1338510684, 1338510629, 1338510627, 1338510621, 1338510505, 1338510503, 1338510499, 1338510497, 1338510496, 1338510220, 1338510157, 1338510154, 1338510148, 1338510135, 1338510132, 1338510119, 1338510037, 1338509982, 1338509858, 1338509850, 1338509841, 1338509838, 1338508792, 1338508783, 1338508779] 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 : 26 time used for this insertion : 0.01574873924255371 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.153131484985352 time spend to save output : 0.015958786010742188 total time spend for step 2 : 6.169090270996094 step3:rle_unique_nms_with_priority Wed Feb 19 11:30:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array 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 612 chid ids of type : 4211 seulement à utiliser dans la step consolidation batch 1 Loaded 19 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.04651641845703125 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.027085304260253906 seulement à utiliser dans la step consolidation batch 1 Loaded 27 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03046703338623047 seulement à utiliser dans la step consolidation batch 1 Loaded 36 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09911203384399414 seulement à utiliser dans la step consolidation batch 1 Loaded 36 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031125783920288086 seulement à utiliser dans la step consolidation batch 1 Loaded 17 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030529022216796875 seulement à utiliser dans la step consolidation batch 1 Loaded 15 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.026964187622070312 seulement à utiliser dans la step consolidation batch 1 Loaded 28 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028957605361938477 seulement à utiliser dans la step consolidation batch 1 Loaded 31 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09951972961425781 seulement à utiliser dans la step consolidation batch 1 Loaded 20 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03020191192626953 seulement à utiliser dans la step consolidation batch 1 Loaded 23 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028123140335083008 seulement à utiliser dans la step consolidation batch 1 Loaded 31 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03128981590270996 seulement à utiliser dans la step consolidation batch 1 Loaded 28 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029664993286132812 seulement à utiliser dans la step consolidation batch 1 Loaded 31 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0303804874420166 seulement à utiliser dans la step consolidation batch 1 Loaded 26 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030682086944580078 seulement à utiliser dans la step consolidation batch 1 Loaded 26 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030040264129638672 seulement à utiliser dans la step consolidation batch 1 Loaded 32 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030442476272583008 seulement à utiliser dans la step consolidation batch 1 Loaded 29 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03001999855041504 seulement à utiliser dans la step consolidation batch 1 Loaded 23 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029283523559570312 seulement à utiliser dans la step consolidation batch 1 Loaded 26 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0305328369140625 seulement à utiliser dans la step consolidation batch 1 Loaded 22 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0285491943359375 seulement à utiliser dans la step consolidation batch 1 Loaded 24 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030289173126220703 seulement à utiliser dans la step consolidation batch 1 Loaded 15 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.027838945388793945 seulement à utiliser dans la step consolidation batch 1 Loaded 17 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.028708457946777344 seulement à utiliser dans la step consolidation batch 1 Loaded 30 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030645132064819336 seulement à utiliser dans la step consolidation batch 1 Loaded 15 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03142666816711426 map_output_result : {1338510790: (0.0, 'Should be the crop_list due to order', 0.0), 1338510684: (0.0, 'Should be the crop_list due to order', 0.0), 1338510629: (0.0, 'Should be the crop_list due to order', 0.0), 1338510627: (0.0, 'Should be the crop_list due to order', 0.0), 1338510621: (0.0, 'Should be the crop_list due to order', 0.0), 1338510505: (0.0, 'Should be the crop_list due to order', 0.0), 1338510503: (0.0, 'Should be the crop_list due to order', 0.0), 1338510499: (0.0, 'Should be the crop_list due to order', 0.0), 1338510497: (0.0, 'Should be the crop_list due to order', 0.0), 1338510496: (0.0, 'Should be the crop_list due to order', 0.0), 1338510220: (0.0, 'Should be the crop_list due to order', 0.0), 1338510157: (0.0, 'Should be the crop_list due to order', 0.0), 1338510154: (0.0, 'Should be the crop_list due to order', 0.0), 1338510148: (0.0, 'Should be the crop_list due to order', 0.0), 1338510135: (0.0, 'Should be the crop_list due to order', 0.0), 1338510132: (0.0, 'Should be the crop_list due to order', 0.0), 1338510119: (0.0, 'Should be the crop_list due to order', 0.0), 1338510037: (0.0, 'Should be the crop_list due to order', 0.0), 1338509982: (0.0, 'Should be the crop_list due to order', 0.0), 1338509858: (0.0, 'Should be the crop_list due to order', 0.0), 1338509850: (0.0, 'Should be the crop_list due to order', 0.0), 1338509841: (0.0, 'Should be the crop_list due to order', 0.0), 1338509838: (0.0, 'Should be the crop_list due to order', 0.0), 1338508792: (0.0, 'Should be the crop_list due to order', 0), 1338508783: (0.0, 'Should be the crop_list due to order', 0.0), 1338508779: (0.0, 'Should be the crop_list due to order', 0.0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1338510790, 1338510684, 1338510629, 1338510627, 1338510621, 1338510505, 1338510503, 1338510499, 1338510497, 1338510496, 1338510220, 1338510157, 1338510154, 1338510148, 1338510135, 1338510132, 1338510119, 1338510037, 1338509982, 1338509858, 1338509850, 1338509841, 1338509838, 1338508792, 1338508783, 1338508779] Looping around the photos to save general results len do output : 26 /1338510790.Didn't retrieve data . /1338510684.Didn't retrieve data . /1338510629.Didn't retrieve data . /1338510627.Didn't retrieve data . /1338510621.Didn't retrieve data . /1338510505.Didn't retrieve data . /1338510503.Didn't retrieve data . /1338510499.Didn't retrieve data . /1338510497.Didn't retrieve data . /1338510496.Didn't retrieve data . /1338510220.Didn't retrieve data . /1338510157.Didn't retrieve data . /1338510154.Didn't retrieve data . /1338510148.Didn't retrieve data . /1338510135.Didn't retrieve data . /1338510132.Didn't retrieve data . /1338510119.Didn't retrieve data . /1338510037.Didn't retrieve data . /1338509982.Didn't retrieve data . /1338509858.Didn't retrieve data . /1338509850.Didn't retrieve data . /1338509841.Didn't retrieve data . /1338509838.Didn't retrieve data . /1338508792.Didn't retrieve data . /1338508783.Didn't retrieve data . /1338508779.Didn't retrieve data . before output type Used above Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510790', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510684', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510629', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510627', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510621', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510505', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510503', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510499', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510497', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510496', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510220', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510157', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510154', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510148', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510135', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510132', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510119', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510037', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509982', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509858', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509850', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509841', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509838', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508792', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508783', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508779', None, None, None, None, None, '2599205') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 78 time used for this insertion : 0.014514446258544922 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.1287829875946045 time spend to save output : 0.01536417007446289 total time spend for step 3 : 4.144147157669067 step4:ventilate_hashtags_in_portfolio Wed Feb 19 11:30:44 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 : 20671422 get user id for portfolio 20671422 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`=20671422 AND mptpi.`type`=4211 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20671422 AND mptpi.`type`=4211 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/20671605,20671606,20671607,20671609,20671610,20671611,20671612,20671613,20671614,20671615,20671616,20671617,20671618,20671619,20671620,20671621?tags=flou,pehd,barquette_opaque,etiquette,carton,pet_opaque,metal,papier,kraft,environnement,pet_fonce,ela,textiles_sanitaires,mal_croppe,pet_clair,film_plastique Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1338510790, 1338510684, 1338510629, 1338510627, 1338510621, 1338510505, 1338510503, 1338510499, 1338510497, 1338510496, 1338510220, 1338510157, 1338510154, 1338510148, 1338510135, 1338510132, 1338510119, 1338510037, 1338509982, 1338509858, 1338509850, 1338509841, 1338509838, 1338508792, 1338508783, 1338508779] Looping around the photos to save general results len do output : 1 /20671422. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510790', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510684', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510629', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510627', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510621', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510505', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510503', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510499', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510497', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510496', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510220', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510157', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510154', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510148', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510135', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510132', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510119', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510037', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509982', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509858', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509850', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509841', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509838', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508792', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508783', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508779', None, None, None, None, None, '2599205') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.01648998260498047 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.34397053718566895 time spend to save output : 0.016825437545776367 total time spend for step 4 : 0.3607959747314453 step5:final Wed Feb 19 11:30:44 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 : {1338510790: ('0.10456294121440171',), 1338510684: ('0.10456294121440171',), 1338510629: ('0.10456294121440171',), 1338510627: ('0.10456294121440171',), 1338510621: ('0.10456294121440171',), 1338510505: ('0.10456294121440171',), 1338510503: ('0.10456294121440171',), 1338510499: ('0.10456294121440171',), 1338510497: ('0.10456294121440171',), 1338510496: ('0.10456294121440171',), 1338510220: ('0.10456294121440171',), 1338510157: ('0.10456294121440171',), 1338510154: ('0.10456294121440171',), 1338510148: ('0.10456294121440171',), 1338510135: ('0.10456294121440171',), 1338510132: ('0.10456294121440171',), 1338510119: ('0.10456294121440171',), 1338510037: ('0.10456294121440171',), 1338509982: ('0.10456294121440171',), 1338509858: ('0.10456294121440171',), 1338509850: ('0.10456294121440171',), 1338509841: ('0.10456294121440171',), 1338509838: ('0.10456294121440171',), 1338508792: ('0.10456294121440171',), 1338508783: ('0.10456294121440171',), 1338508779: ('0.10456294121440171',)} new output for save of step final : {1338510790: ('0.10456294121440171',), 1338510684: ('0.10456294121440171',), 1338510629: ('0.10456294121440171',), 1338510627: ('0.10456294121440171',), 1338510621: ('0.10456294121440171',), 1338510505: ('0.10456294121440171',), 1338510503: ('0.10456294121440171',), 1338510499: ('0.10456294121440171',), 1338510497: ('0.10456294121440171',), 1338510496: ('0.10456294121440171',), 1338510220: ('0.10456294121440171',), 1338510157: ('0.10456294121440171',), 1338510154: ('0.10456294121440171',), 1338510148: ('0.10456294121440171',), 1338510135: ('0.10456294121440171',), 1338510132: ('0.10456294121440171',), 1338510119: ('0.10456294121440171',), 1338510037: ('0.10456294121440171',), 1338509982: ('0.10456294121440171',), 1338509858: ('0.10456294121440171',), 1338509850: ('0.10456294121440171',), 1338509841: ('0.10456294121440171',), 1338509838: ('0.10456294121440171',), 1338508792: ('0.10456294121440171',), 1338508783: ('0.10456294121440171',), 1338508779: ('0.10456294121440171',)} [1338510790, 1338510684, 1338510629, 1338510627, 1338510621, 1338510505, 1338510503, 1338510499, 1338510497, 1338510496, 1338510220, 1338510157, 1338510154, 1338510148, 1338510135, 1338510132, 1338510119, 1338510037, 1338509982, 1338509858, 1338509850, 1338509841, 1338509838, 1338508792, 1338508783, 1338508779] Looping around the photos to save general results len do output : 26 /1338510790.Didn't retrieve data . /1338510684.Didn't retrieve data . /1338510629.Didn't retrieve data . /1338510627.Didn't retrieve data . /1338510621.Didn't retrieve data . /1338510505.Didn't retrieve data . /1338510503.Didn't retrieve data . /1338510499.Didn't retrieve data . /1338510497.Didn't retrieve data . /1338510496.Didn't retrieve data . /1338510220.Didn't retrieve data . /1338510157.Didn't retrieve data . /1338510154.Didn't retrieve data . /1338510148.Didn't retrieve data . /1338510135.Didn't retrieve data . /1338510132.Didn't retrieve data . /1338510119.Didn't retrieve data . /1338510037.Didn't retrieve data . /1338509982.Didn't retrieve data . /1338509858.Didn't retrieve data . /1338509850.Didn't retrieve data . /1338509841.Didn't retrieve data . /1338509838.Didn't retrieve data . /1338508792.Didn't retrieve data . /1338508783.Didn't retrieve data . /1338508779.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510790', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510684', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510629', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510627', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510621', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510505', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510503', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510499', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510497', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510496', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510220', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510157', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510154', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510148', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510135', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510132', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510119', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510037', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509982', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509858', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509850', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509841', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509838', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508792', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508783', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508779', None, None, None, None, None, '2599205') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 78 time used for this insertion : 0.014920234680175781 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.030140161514282227 time spend to save output : 0.015954017639160156 total time spend for step 5 : 0.04609417915344238 step6:blur_detection Wed Feb 19 11:30:44 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 : 26 time used for this insertion : 0.010789632797241211 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 26 time used for this insertion : 0.00901484489440918 save missing photos in datou_result : time spend for datou_step_exec : 0.022073745727539062 time spend to save output : 0.023866653442382812 total time spend for step 6 : 0.045940399169921875 step7:brightness Wed Feb 19 11:30:44 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 : 26 time used for this insertion : 0.010600566864013672 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 26 time used for this insertion : 0.008991718292236328 save missing photos in datou_result : time spend for datou_step_exec : 0.02623462677001953 time spend to save output : 0.023740530014038086 total time spend for step 7 : 0.04997515678405762 step8:send_mail_cod Wed Feb 19 11:30:44 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_P20671422_19-02-2025_11_30_44.pdf 20671607 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 .imagette206716071739961044 20671609 imagette206716091739961046 20671610 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 .imagette206716101739961046 20671611 change filename to text .imagette206716111739961047 20671612 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 .imagette206716121739961048 20671613 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 .imagette206716131739961049 20671614 imagette206716141739961051 20671616 imagette206716161739961051 20671617 change filename to text .change filename to text .change filename to text .change filename to text .imagette206716171739961051 20671618 imagette206716181739961051 20671620 imagette206716201739961051 20671621 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 .imagette206716211739961051 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20671422 and hashtag_type = 4211 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20671605,20671606,20671607,20671609,20671610,20671611,20671612,20671613,20671614,20671615,20671616,20671617,20671618,20671619,20671620,20671621?tags=flou,pehd,barquette_opaque,etiquette,carton,pet_opaque,metal,papier,kraft,environnement,pet_fonce,ela,textiles_sanitaires,mal_croppe,pet_clair,film_plastique your option no_mail is active, we will not send the real mail to your client args[1338510790] : ((1338510790, -5.05057636608419, 492609224), (1338510790, -0.4735803303508308, 496442774), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510684] : ((1338510684, -3.1341662278310793, 492609224), (1338510684, -1.5055118380919992, 501862349), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510629] : ((1338510629, -5.431087090687701, 492609224), (1338510629, 0.012794524324808494, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510627] : ((1338510627, -5.174889566009634, 492609224), (1338510627, -0.2082649943864175, 496442774), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510621] : ((1338510621, -4.952856068595372, 492609224), (1338510621, -0.42308174065439735, 496442774), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510505] : ((1338510505, -5.219175398491033, 492609224), (1338510505, -0.044848465727236275, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510503] : ((1338510503, -3.247506590298306, 492609224), (1338510503, -0.7120351523860691, 501862349), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510499] : ((1338510499, -5.222925114248967, 492609224), (1338510499, 0.002292061271634087, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510497] : ((1338510497, -5.434098800776391, 492609224), (1338510497, 0.20472243951919122, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510496] : ((1338510496, -5.156809368903395, 492609224), (1338510496, 0.031314126484824956, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510220] : ((1338510220, -5.2715264956624655, 492609224), (1338510220, -0.013220903913922432, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510157] : ((1338510157, -5.155386155804308, 492609224), (1338510157, -0.035611719569056954, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510154] : ((1338510154, -5.2478306988533365, 492609224), (1338510154, 0.1863402250288875, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510148] : ((1338510148, -5.094980888642429, 492609224), (1338510148, 0.010304486048029159, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510135] : ((1338510135, -5.347386103634491, 492609224), (1338510135, 0.0223420053572422, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510132] : ((1338510132, -5.166689075852622, 492609224), (1338510132, -0.037237502726814205, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510119] : ((1338510119, -5.111861126246714, 492609224), (1338510119, 0.014367019518224965, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338510037] : ((1338510037, -5.284108635786229, 492609224), (1338510037, 0.17015183489421862, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338509982] : ((1338509982, -5.110668234697679, 492609224), (1338509982, -0.18458674100929634, 496442774), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338509858] : ((1338509858, -5.181404700919675, 492609224), (1338509858, 0.15495314465166876, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338509850] : ((1338509850, -5.282044504415115, 492609224), (1338509850, 0.024699139730932268, 2107752395), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338509841] : ((1338509841, -5.378228537245973, 492609224), (1338509841, -0.24187396672013264, 496442774), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338509838] : ((1338509838, -3.395449294730406, 492609224), (1338509838, -0.6985804688305935, 501862349), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338508792] : ((1338508792, -3.64033984754432, 492609224), (1338508792, -0.949817245979908, 501862349), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338508783] : ((1338508783, -5.253249262950517, 492609224), (1338508783, -0.1776653627491445, 496442774), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com args[1338508779] : ((1338508779, -3.4300004299414004, 492609224), (1338508779, -1.1707270458279582, 501862349), '0.10456294121440171') We are sending mail with results at kexin@fotonower.com refus_total : 0.10456294121440171 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=20671422 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_P20671422_19-02-2025_11_30_44.pdf results_COD_P20671422_19-02-2025_11_30_44.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20671422_19-02-2025_11_30_44.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4252','20671422','results_COD_P20671422_19-02-2025_11_30_44.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20671422_19-02-2025_11_30_44.pdf','pdf','','1.43','0.10456294121440171') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1338510790, 1338510684, 1338510629, 1338510627, 1338510621, 1338510505, 1338510503, 1338510499, 1338510497, 1338510496, 1338510220, 1338510157, 1338510154, 1338510148, 1338510135, 1338510132, 1338510119, 1338510037, 1338509982, 1338509858, 1338509850, 1338509841, 1338509838, 1338508792, 1338508783, 1338508779] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510790', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510684', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510629', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510627', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510621', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510505', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510503', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510499', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510497', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510496', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510220', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510157', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510154', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510148', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510135', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510132', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510119', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510037', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509982', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509858', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509850', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509841', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509838', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508792', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508783', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508779', None, None, None, None, None, '2599205') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 26 time used for this insertion : 0.014674901962280273 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.164134740829468 time spend to save output : 0.01494145393371582 total time spend for step 8 : 13.179076194763184 step9:split_time_score Wed Feb 19 11:30:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 1 VR 22-3-18 : For now we do not clean correctly the datou structure begin split time score TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] (('09', 26),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 19022025 20671422 Nombre de photos uploadées : 26 / 23040 (0%) 19022025 20671422 Nombre de photos taguées (types de déchets): 0 / 26 (0%) 19022025 20671422 Nombre de photos taguées (volume) : 0 / 26 (0%) elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 6.4373016357421875e-06 ?????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0013477802276611328 elapsed_time : insert_dashboard_record_day_entry 0.022507667541503906 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20669624 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20669625 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20669626 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20669626 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20671421 order by id desc limit 1 Qualite : 0.10456294121440171 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20671422_19-02-2025_11_30_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20671422 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20671422 AND mptpi.`type`=4211 To do find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20671423 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20671424 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20671424 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'19022025': {'nb_upload': 26, '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 [1338510790, 1338510684, 1338510629, 1338510627, 1338510621, 1338510505, 1338510503, 1338510499, 1338510497, 1338510496, 1338510220, 1338510157, 1338510154, 1338510148, 1338510135, 1338510132, 1338510119, 1338510037, 1338509982, 1338509858, 1338509850, 1338509841, 1338509838, 1338508792, 1338508783, 1338508779] Looping around the photos to save general results len do output : 1 /20671422Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510790', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510684', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510629', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510627', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510621', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510505', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510503', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510499', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510497', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510496', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510220', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510157', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510154', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510148', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510135', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510132', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510119', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338510037', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509982', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509858', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509850', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509841', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338509838', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508792', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508783', None, None, None, None, None, '2599205') ('4252', None, None, None, None, None, None, None, '2599205') ('4252', '20671422', '1338508779', None, None, None, None, None, '2599205') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 27 time used for this insertion : 0.016112089157104492 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.37268853187561 time spend to save output : 0.01652050018310547 total time spend for step 9 : 6.389209032058716 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 26 set_done_treatment 7.62user 1.79system 0:37.95elapsed 24%CPU (0avgtext+0avgdata 199992maxresident)k 704inputs+112576outputs (0major+171579minor)pagefaults 0swaps