python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 ~/workarea/git/Velours/python/prod/datou.py -j batch_current -a 4252 -P 20090340' -s traitement_sts -M 0 -S 0 -U 100,80,95 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/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', '/home/admin/workarea/git/apy', '/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 : 268383 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 updating current state to 1 list_input_json: [] Current got : datou_id : 4252, datou_cur_ids : ['2552787'] with mtr_portfolio_ids : ['20090340'] and first list_photo_ids : [] new path : /proc/268383/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 23 ; length of list_pids : 23 ; length of list_args : 23 time to download the photos : 8.144386529922485 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 5 17:26:38 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 40 chid ids of type : 4211 batch 1 Loaded 547 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 [1333148481, 1333148478, 1333148457, 1333148447, 1333148444, 1333148414, 1333148408, 1333148406, 1333148405, 1333148403, 1333043731, 1333043727, 1333043719, 1333043714, 1333043706, 1333043699, 1333043640, 1333043638, 1333043634, 1333043628, 1333043623, 1333043618, 1333043566] Looping around the photos to save general results len do output : 16 /1333043618Didn't retrieve data . /1333043623Didn't retrieve data . /1333043628Didn't retrieve data . /1333043634Didn't retrieve data . /1333043638Didn't retrieve data . /1333043640Didn't retrieve data . /1333043699Didn't retrieve data . /1333043719Didn't retrieve data . /1333043727Didn't retrieve data . /1333043731Didn't retrieve data . /1333148405Didn't retrieve data . /1333148406Didn't retrieve data . /1333148408Didn't retrieve data . /1333148414Didn't retrieve data . /1333148444Didn't retrieve data . /1333148478Didn'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, '2552787') ('4252', '20090340', '1333148481', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148478', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148457', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148447', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148444', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148414', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148408', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148406', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148405', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148403', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043731', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043727', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043719', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043714', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043706', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043699', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043640', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043638', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043634', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043628', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043623', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043618', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043566', None, None, None, None, None, '2552787') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 time used for this insertion : 0.014731645584106445 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08717131614685059 time spend to save output : 0.01535654067993164 total time spend for step 1 : 0.10252785682678223 step2:consolidate_hashtags_from_manual_portfolio Wed Feb 5 17:26:38 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 : 20090340 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`=20090340 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')) 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`=20090340 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')) 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=20266383 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=20266386 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 474 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 : 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=20266384 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=20266391 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 714 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=20266389 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=20266379 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 36 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=20266380 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 43 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=20266388 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 117 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=20266381 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 416 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 : 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=20266385 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 444 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 : 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=20266392 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 647 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 : 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=20266390 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 17 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=20266377 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 540 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 : 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=20266382 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 472 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=20266387 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 43 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=20266378 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 282 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 : 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 [1333148481, 1333148478, 1333148457, 1333148447, 1333148444, 1333148414, 1333148408, 1333148406, 1333148405, 1333148403, 1333043731, 1333043727, 1333043719, 1333043714, 1333043706, 1333043699, 1333043640, 1333043638, 1333043634, 1333043628, 1333043623, 1333043618, 1333043566] 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 : 23 time used for this insertion : 0.014854907989501953 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.002503156661987 time spend to save output : 0.01512598991394043 total time spend for step 2 : 4.017629146575928 step3:rle_unique_nms_with_priority Wed Feb 5 17:26:42 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 VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 538 chid ids of type : 4211 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.02632617950439453 seulement à utiliser dans la step consolidation batch 1 Loaded 10 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.024078845977783203 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.025701522827148438 seulement à utiliser dans la step consolidation batch 1 Loaded 35 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.033841848373413086 seulement à utiliser dans la step consolidation batch 1 Loaded 43 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.031737327575683594 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.028390169143676758 seulement à utiliser dans la step consolidation batch 1 Loaded 34 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030602693557739258 seulement à utiliser dans la step consolidation batch 1 Loaded 40 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02987837791442871 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.031023025512695312 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.02901148796081543 seulement à utiliser dans la step consolidation batch 1 Loaded 37 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03029942512512207 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.028159141540527344 seulement à utiliser dans la step consolidation batch 1 Loaded 38 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0335538387298584 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.02891397476196289 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.030568599700927734 seulement à utiliser dans la step consolidation batch 1 Loaded 44 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03086233139038086 seulement à utiliser dans la step consolidation batch 1 Loaded 35 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030225038528442383 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.029857158660888672 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.029283523559570312 seulement à utiliser dans la step consolidation batch 1 Loaded 34 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03442120552062988 seulement à utiliser dans la step consolidation batch 1 Loaded 35 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030276775360107422 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.031179428100585938 No data in photo_id : 1333043566 Missing data for photo_id : 1333043566 in {1333148481: 0, 1333148478: 0.0, 1333148457: 0, 1333148447: 0, 1333148444: 0.0, 1333148414: 0.0, 1333148408: 0.0, 1333148406: 0.0, 1333148405: 0.0, 1333148403: 0, 1333043731: 0.0, 1333043727: 0.0, 1333043719: 0.0, 1333043714: 0, 1333043706: 0, 1333043699: 0.0, 1333043640: 0.0, 1333043638: 0.0, 1333043634: 0.0, 1333043628: 0.0, 1333043623: 0.0, 1333043618: 0.0} Missing data for photo_id : 1333043566 in {1333148481: 0, 1333148478: 0.0, 1333148457: 0, 1333148447: 0, 1333148444: 0.0, 1333148414: 0.0, 1333148408: 0.0, 1333148406: 0.0, 1333148405: 0.0, 1333148403: 0, 1333043731: 0.0, 1333043727: 0.0, 1333043719: 0.0, 1333043714: 0, 1333043706: 0, 1333043699: 0.0, 1333043640: 0.0, 1333043638: 0.0, 1333043634: 0.0, 1333043628: 0.0, 1333043623: 0.0, 1333043618: 0.0} map_output_result : {1333148481: (0.0, 'Should be the crop_list due to order', 0), 1333148478: (0.0, 'Should be the crop_list due to order', 0.0), 1333148457: (0.0, 'Should be the crop_list due to order', 0), 1333148447: (0.0, 'Should be the crop_list due to order', 0), 1333148444: (0.0, 'Should be the crop_list due to order', 0.0), 1333148414: (0.0, 'Should be the crop_list due to order', 0.0), 1333148408: (0.0, 'Should be the crop_list due to order', 0.0), 1333148406: (0.0, 'Should be the crop_list due to order', 0.0), 1333148405: (0.0, 'Should be the crop_list due to order', 0.0), 1333148403: (0.0, 'Should be the crop_list due to order', 0), 1333043731: (0.0, 'Should be the crop_list due to order', 0.0), 1333043727: (0.0, 'Should be the crop_list due to order', 0.0), 1333043719: (0.0, 'Should be the crop_list due to order', 0.0), 1333043714: (0.0, 'Should be the crop_list due to order', 0), 1333043706: (0.0, 'Should be the crop_list due to order', 0), 1333043699: (0.0, 'Should be the crop_list due to order', 0.0), 1333043640: (0.0, 'Should be the crop_list due to order', 0.0), 1333043638: (0.0, 'Should be the crop_list due to order', 0.0), 1333043634: (0.0, 'Should be the crop_list due to order', 0.0), 1333043628: (0.0, 'Should be the crop_list due to order', 0.0), 1333043623: (0.0, 'Should be the crop_list due to order', 0.0), 1333043618: (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 [1333148481, 1333148478, 1333148457, 1333148447, 1333148444, 1333148414, 1333148408, 1333148406, 1333148405, 1333148403, 1333043731, 1333043727, 1333043719, 1333043714, 1333043706, 1333043699, 1333043640, 1333043638, 1333043634, 1333043628, 1333043623, 1333043618, 1333043566] Looping around the photos to save general results len do output : 22 /1333148481.Didn't retrieve data . /1333148478.Didn't retrieve data . /1333148457.Didn't retrieve data . /1333148447.Didn't retrieve data . /1333148444.Didn't retrieve data . /1333148414.Didn't retrieve data . /1333148408.Didn't retrieve data . /1333148406.Didn't retrieve data . /1333148405.Didn't retrieve data . /1333148403.Didn't retrieve data . /1333043731.Didn't retrieve data . /1333043727.Didn't retrieve data . /1333043719.Didn't retrieve data . /1333043714.Didn't retrieve data . /1333043706.Didn't retrieve data . /1333043699.Didn't retrieve data . /1333043640.Didn't retrieve data . /1333043638.Didn't retrieve data . /1333043634.Didn't retrieve data . /1333043628.Didn't retrieve data . /1333043623.Didn't retrieve data . /1333043618.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, '2552787') ('4252', '20090340', '1333148481', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148478', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148457', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148447', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148444', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148414', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148408', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148406', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148405', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148403', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043731', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043727', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043719', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043714', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043706', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043699', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043640', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043638', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043634', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043628', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043623', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043618', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043566', None, None, None, None, None, '2552787') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 67 time used for this insertion : 0.013812780380249023 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.5339841842651367 time spend to save output : 0.014462709426879883 total time spend for step 3 : 2.5484468936920166 step4:ventilate_hashtags_in_portfolio Wed Feb 5 17:26: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 : 20090340 get user id for portfolio 20090340 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`=20090340 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.6 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`=20090340 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.6 To do lien utilise dans velours : https://www.fotonower.com/velours/20266377,20266378,20266379,20266380,20266381,20266382,20266383,20266384,20266385,20266386,20266387,20266388,20266389,20266390,20266391,20266392?tags=barquette_opaque,carton,ela,environnement,etiquette,film_plastique,kraft,metal,papier,pehd,pet_clair,pet_opaque,textiles_sanitaires,pet_fonce,mal_croppe,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1333148481, 1333148478, 1333148457, 1333148447, 1333148444, 1333148414, 1333148408, 1333148406, 1333148405, 1333148403, 1333043731, 1333043727, 1333043719, 1333043714, 1333043706, 1333043699, 1333043640, 1333043638, 1333043634, 1333043628, 1333043623, 1333043618, 1333043566] Looping around the photos to save general results len do output : 1 /20090340. 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, '2552787') ('4252', '20090340', '1333148481', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148478', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148457', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148447', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148444', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148414', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148408', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148406', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148405', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148403', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043731', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043727', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043719', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043714', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043706', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043699', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043640', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043638', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043634', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043628', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043623', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043618', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043566', None, None, None, None, None, '2552787') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.016638994216918945 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.341001033782959 time spend to save output : 0.017004966735839844 total time spend for step 4 : 0.35800600051879883 step5:final Wed Feb 5 17:26:45 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 : {1333148481: ('0.6528122283707282',), 1333148478: ('0.6528122283707282',), 1333148457: ('0.6528122283707282',), 1333148447: ('0.6528122283707282',), 1333148444: ('0.6528122283707282',), 1333148414: ('0.6528122283707282',), 1333148408: ('0.6528122283707282',), 1333148406: ('0.6528122283707282',), 1333148405: ('0.6528122283707282',), 1333148403: ('0.6528122283707282',), 1333043731: ('0.6528122283707282',), 1333043727: ('0.6528122283707282',), 1333043719: ('0.6528122283707282',), 1333043714: ('0.6528122283707282',), 1333043706: ('0.6528122283707282',), 1333043699: ('0.6528122283707282',), 1333043640: ('0.6528122283707282',), 1333043638: ('0.6528122283707282',), 1333043634: ('0.6528122283707282',), 1333043628: ('0.6528122283707282',), 1333043623: ('0.6528122283707282',), 1333043618: ('0.6528122283707282',)} new output for save of step final : {1333148481: ('0.6528122283707282',), 1333148478: ('0.6528122283707282',), 1333148457: ('0.6528122283707282',), 1333148447: ('0.6528122283707282',), 1333148444: ('0.6528122283707282',), 1333148414: ('0.6528122283707282',), 1333148408: ('0.6528122283707282',), 1333148406: ('0.6528122283707282',), 1333148405: ('0.6528122283707282',), 1333148403: ('0.6528122283707282',), 1333043731: ('0.6528122283707282',), 1333043727: ('0.6528122283707282',), 1333043719: ('0.6528122283707282',), 1333043714: ('0.6528122283707282',), 1333043706: ('0.6528122283707282',), 1333043699: ('0.6528122283707282',), 1333043640: ('0.6528122283707282',), 1333043638: ('0.6528122283707282',), 1333043634: ('0.6528122283707282',), 1333043628: ('0.6528122283707282',), 1333043623: ('0.6528122283707282',), 1333043618: ('0.6528122283707282',)} [1333148481, 1333148478, 1333148457, 1333148447, 1333148444, 1333148414, 1333148408, 1333148406, 1333148405, 1333148403, 1333043731, 1333043727, 1333043719, 1333043714, 1333043706, 1333043699, 1333043640, 1333043638, 1333043634, 1333043628, 1333043623, 1333043618, 1333043566] Looping around the photos to save general results len do output : 22 /1333148481.Didn't retrieve data . /1333148478.Didn't retrieve data . /1333148457.Didn't retrieve data . /1333148447.Didn't retrieve data . /1333148444.Didn't retrieve data . /1333148414.Didn't retrieve data . /1333148408.Didn't retrieve data . /1333148406.Didn't retrieve data . /1333148405.Didn't retrieve data . /1333148403.Didn't retrieve data . /1333043731.Didn't retrieve data . /1333043727.Didn't retrieve data . /1333043719.Didn't retrieve data . /1333043714.Didn't retrieve data . /1333043706.Didn't retrieve data . /1333043699.Didn't retrieve data . /1333043640.Didn't retrieve data . /1333043638.Didn't retrieve data . /1333043634.Didn't retrieve data . /1333043628.Didn't retrieve data . /1333043623.Didn't retrieve data . /1333043618.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, '2552787') ('4252', '20090340', '1333148481', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148478', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148457', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148447', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148444', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148414', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148408', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148406', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148405', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148403', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043731', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043727', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043719', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043714', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043706', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043699', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043640', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043638', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043634', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043628', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043623', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043618', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043566', None, None, None, None, None, '2552787') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 67 time used for this insertion : 0.014997005462646484 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.02508854866027832 time spend to save output : 0.0159914493560791 total time spend for step 5 : 0.04107999801635742 step6:blur_detection Wed Feb 5 17:26:45 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 : 23 time used for this insertion : 0.009751319885253906 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 23 time used for this insertion : 0.008852720260620117 save missing photos in datou_result : time spend for datou_step_exec : 0.022044658660888672 time spend to save output : 0.02287769317626953 total time spend for step 6 : 0.0449223518371582 step7:brightness Wed Feb 5 17:26:45 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 : 23 time used for this insertion : 0.010634660720825195 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 23 time used for this insertion : 0.00906515121459961 save missing photos in datou_result : time spend for datou_step_exec : 0.02621912956237793 time spend to save output : 0.023924589157104492 total time spend for step 7 : 0.05014371871948242 step8:send_mail_cod Wed Feb 5 17:26:45 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 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin in order to get the selector url, please entre the license of selector results_COD_P20090340_05-02-2025_17_26_45.pdf 20266377 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 .imagette202663771738772805 20266378 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 .imagette202663781738772807 20266379 change filename to text .imagette202663791738772808 20266381 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 .imagette202663811738772808 20266382 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 .imagette202663821738772809 20266383 imagette202663831738772811 20266384 imagette202663841738772811 20266385 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 .imagette202663851738772811 20266387 change filename to text .imagette202663871738772813 20266388 change filename to text .change filename to text .change filename to text .imagette202663881738772813 20266389 imagette202663891738772813 20266390 change filename to text .imagette202663901738772813 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20090340 and hashtag_type = 4211 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20266377,20266378,20266379,20266380,20266381,20266382,20266383,20266384,20266385,20266386,20266387,20266388,20266389,20266390,20266391,20266392?tags=barquette_opaque,carton,ela,environnement,etiquette,film_plastique,kraft,metal,papier,pehd,pet_clair,pet_opaque,textiles_sanitaires,pet_fonce,mal_croppe,flou your option no_mail is active, we will not send the real mail to your client args[1333148481] : ((1333148481, -3.895907218225592, 492609224), (1333148481, -0.09316872922288895, 496442774), '0.6528122283707282') apple ((1333148481, -3.895907218225592, 492609224), (1333148481, -0.09316872922288895, 496442774), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333148478] : ((1333148478, -3.366218830653394, 492609224), (1333148478, 0.057938393990709124, 2107752395), '0.6528122283707282') apple ((1333148478, -3.366218830653394, 492609224), (1333148478, 0.057938393990709124, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333148457] : ((1333148457, -4.157985942095417, 492609224), (1333148457, -0.2656546997199374, 496442774), '0.6528122283707282') apple ((1333148457, -4.157985942095417, 492609224), (1333148457, -0.2656546997199374, 496442774), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333148447] : ((1333148447, -5.712495534043592, 492609224), (1333148447, -0.1590986208810806, 496442774), '0.6528122283707282') apple ((1333148447, -5.712495534043592, 492609224), (1333148447, -0.1590986208810806, 496442774), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333148444] : ((1333148444, -5.633765330797125, 492609224), (1333148444, -0.08814351679781603, 496442774), '0.6528122283707282') apple ((1333148444, -5.633765330797125, 492609224), (1333148444, -0.08814351679781603, 496442774), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333148414] : ((1333148414, -5.118790660952238, 492609224), (1333148414, 0.04833927269339006, 2107752395), '0.6528122283707282') apple ((1333148414, -5.118790660952238, 492609224), (1333148414, 0.04833927269339006, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333148408] : ((1333148408, -5.196623267660994, 492609224), (1333148408, -0.08469562154482155, 496442774), '0.6528122283707282') apple ((1333148408, -5.196623267660994, 492609224), (1333148408, -0.08469562154482155, 496442774), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333148406] : ((1333148406, -5.3895834225368855, 492609224), (1333148406, -0.004657047605513681, 2107752395), '0.6528122283707282') apple ((1333148406, -5.3895834225368855, 492609224), (1333148406, -0.004657047605513681, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333148405] : ((1333148405, -5.192848891570373, 492609224), (1333148405, -0.05943125136813285, 2107752395), '0.6528122283707282') apple ((1333148405, -5.192848891570373, 492609224), (1333148405, -0.05943125136813285, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333148403] : ((1333148403, -4.231870876492287, 492609224), (1333148403, -0.005989641683887119, 2107752395), '0.6528122283707282') apple ((1333148403, -4.231870876492287, 492609224), (1333148403, -0.005989641683887119, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043731] : ((1333043731, -5.160254298519475, 492609224), (1333043731, -0.06938150212416717, 2107752395), '0.6528122283707282') apple ((1333043731, -5.160254298519475, 492609224), (1333043731, -0.06938150212416717, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043727] : ((1333043727, -5.57875111287071, 492609224), (1333043727, -0.06166987169787112, 2107752395), '0.6528122283707282') apple ((1333043727, -5.57875111287071, 492609224), (1333043727, -0.06166987169787112, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043719] : ((1333043719, -5.6183639810111075, 492609224), (1333043719, -0.01468804579603047, 2107752395), '0.6528122283707282') apple ((1333043719, -5.6183639810111075, 492609224), (1333043719, -0.01468804579603047, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043714] : ((1333043714, -5.05099078449129, 492609224), (1333043714, -0.09036976653218187, 496442774), '0.6528122283707282') apple ((1333043714, -5.05099078449129, 492609224), (1333043714, -0.09036976653218187, 496442774), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043706] : ((1333043706, -4.2272496894518605, 492609224), (1333043706, -0.02894319002488411, 2107752395), '0.6528122283707282') apple ((1333043706, -4.2272496894518605, 492609224), (1333043706, -0.02894319002488411, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043699] : ((1333043699, -5.3205926705959055, 492609224), (1333043699, -0.08266821303145576, 496442774), '0.6528122283707282') apple ((1333043699, -5.3205926705959055, 492609224), (1333043699, -0.08266821303145576, 496442774), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043640] : ((1333043640, -4.6435280930726135, 492609224), (1333043640, -0.07899469664771538, 496442774), '0.6528122283707282') apple ((1333043640, -4.6435280930726135, 492609224), (1333043640, -0.07899469664771538, 496442774), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043638] : ((1333043638, -4.742552142868772, 492609224), (1333043638, -0.11795624547773323, 496442774), '0.6528122283707282') apple ((1333043638, -4.742552142868772, 492609224), (1333043638, -0.11795624547773323, 496442774), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043634] : ((1333043634, -4.5876123909155275, 492609224), (1333043634, -0.05769090808929806, 2107752395), '0.6528122283707282') apple ((1333043634, -4.5876123909155275, 492609224), (1333043634, -0.05769090808929806, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043628] : ((1333043628, -5.62182967964596, 492609224), (1333043628, -0.007561054008653862, 2107752395), '0.6528122283707282') apple ((1333043628, -5.62182967964596, 492609224), (1333043628, -0.007561054008653862, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043623] : ((1333043623, -5.3592668638474095, 492609224), (1333043623, 0.03600457114730568, 2107752395), '0.6528122283707282') apple ((1333043623, -5.3592668638474095, 492609224), (1333043623, 0.03600457114730568, 2107752395), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043618] : ((1333043618, -5.7158860256654, 492609224), (1333043618, -0.12629940534365294, 496442774), '0.6528122283707282') apple ((1333043618, -5.7158860256654, 492609224), (1333043618, -0.12629940534365294, 496442774), '0.6528122283707282') We are sending mail with results at kexin@fotonower.com args[1333043566] : ((1333043566, -2.3433949044412588, 492609224), (1333043566, 0.6405598445877171, 2107752395)) apple ((1333043566, -2.3433949044412588, 492609224), (1333043566, 0.6405598445877171, 2107752395)) We are sending mail with results at kexin@fotonower.com refus_total : 0 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=20090340 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1333043618,1333148447,1333148414,1333148406,1333148405,1333148403,1333043731,1333043727,1333043719,1333043714,1333043623,1333043706,1333043699,1333043640,1333043638,1333043634,1333043628,1333148408,1333148444,1333043566) Found this number of photos: 20 begin to download photo : 1333043618 begin to download photo : 1333148403 begin to download photo : 1333043623 begin to download photo : 1333043634 download finish for photo 1333043623 begin to download photo : 1333043706 download finish for photo 1333148403 begin to download photo : 1333043731 download finish for photo 1333043634 begin to download photo : 1333043628 download finish for photo 1333043618 begin to download photo : 1333148447 download finish for photo 1333043706 begin to download photo : 1333043699 download finish for photo 1333043628 begin to download photo : 1333148408 download finish for photo 1333148447 begin to download photo : 1333148414 download finish for photo 1333043699 begin to download photo : 1333043640 download finish for photo 1333148408 begin to download photo : 1333148444 download finish for photo 1333148414 begin to download photo : 1333148406 download finish for photo 1333043640 begin to download photo : 1333043638 download finish for photo 1333148444 begin to download photo : 1333043566 download finish for photo 1333148406 begin to download photo : 1333148405 download finish for photo 1333043638 download finish for photo 1333043566 download finish for photo 1333148405 download finish for photo 1333043731 begin to download photo : 1333043727 download finish for photo 1333043727 begin to download photo : 1333043719 download finish for photo 1333043719 begin to download photo : 1333043714 download finish for photo 1333043714 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20090340_05-02-2025_17_26_45.pdf results_COD_P20090340_05-02-2025_17_26_45.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20090340_05-02-2025_17_26_45.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','20090340','results_COD_P20090340_05-02-2025_17_26_45.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20090340_05-02-2025_17_26_45.pdf','pdf','','1.15','0') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1333148481, 1333148478, 1333148457, 1333148447, 1333148444, 1333148414, 1333148408, 1333148406, 1333148405, 1333148403, 1333043731, 1333043727, 1333043719, 1333043714, 1333043706, 1333043699, 1333043640, 1333043638, 1333043634, 1333043628, 1333043623, 1333043618, 1333043566] 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, '2552787') ('4252', '20090340', '1333148481', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148478', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148457', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148447', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148444', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148414', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148408', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148406', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148405', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148403', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043731', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043727', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043719', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043714', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043706', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043699', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043640', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043638', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043634', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043628', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043623', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043618', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043566', None, None, None, None, None, '2552787') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.020794153213500977 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.844303369522095 time spend to save output : 0.02107071876525879 total time spend for step 8 : 13.865374088287354 step9:split_time_score Wed Feb 5 17:26:59 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'}] (('17', 23),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 30012025 20090340 Nombre de photos uploadées : 23 / 23040 (0%) 30012025 20090340 Nombre de photos taguées (types de déchets): 0 / 23 (0%) 30012025 20090340 Nombre de photos taguées (volume) : 0 / 23 (0%) elapsed_time : load_data_split_time_score 5.0067901611328125e-06 elapsed_time : order_list_meta_photo_and_scores 1.33514404296875e-05 ??????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001491546630859375 elapsed_time : insert_dashboard_record_day_entry 0.02361917495727539 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090332_31-01-2025_02_46_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090332 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090333_03-02-2025_20_39_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090333 order by id desc limit 1 Qualite : 0.2209483837902446 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108675_31-01-2025_12_13_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108675 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108675 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108676_01-02-2025_06_05_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108676 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090336_31-01-2025_03_57_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090336 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20080741_30-01-2025_22_46_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20080741 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20080742_01-02-2025_15_05_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20080742 order by id desc limit 1 Qualite : 0.22264347633324977 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108678_01-02-2025_04_09_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108678 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108678 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108679_31-01-2025_12_28_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108679 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108680_04-02-2025_03_04_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108680 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108681_31-01-2025_14_16_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108681 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108682_31-01-2025_13_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108682 order by id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108683 order by id desc limit 1 Qualite : 0.18071553237903956 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108684_31-01-2025_11_06_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108684 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108684 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108685_03-02-2025_09_34_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108685 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108686_01-02-2025_09_52_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108686 order by id desc limit 1 Qualite : 0.22434036130527316 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108687_31-01-2025_13_28_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108687 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108687 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108688_31-01-2025_13_14_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108688 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108689_31-01-2025_12_53_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108689 order by id desc limit 1 Qualite : 0.21025388690829863 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108690_31-01-2025_12_09_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108690 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108690 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108691_31-01-2025_10_31_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108691 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108692_04-02-2025_03_07_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108692 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108693_04-02-2025_03_15_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108693 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108694_04-02-2025_03_20_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108694 order by id desc limit 1 Qualite : 0.1886418760212418 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108695_31-01-2025_10_41_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108695 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108695 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108696_04-02-2025_03_18_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108696 order by id desc limit 1 Qualite : 0.6528122283707282 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20090340_05-02-2025_17_26_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090340 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`=20090340 AND mptpi.`type`=4211 To do Qualite : 0.9269453647726135 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P20090341_05-02-2025_17_13_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090341 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`=20090341 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090342_31-01-2025_03_19_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090342 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090343_31-01-2025_01_51_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090343 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090344_31-01-2025_01_41_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090344 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108697_31-01-2025_10_42_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108697 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090345_03-02-2025_20_46_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090345 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090346_03-02-2025_20_52_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090346 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090347_31-01-2025_01_51_26.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090347 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090348_31-01-2025_02_04_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090348 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090349_31-01-2025_01_53_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090349 order by id desc limit 1 Qualite : 0.23162819473328053 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108698_31-01-2025_11_42_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108698 order by id desc limit 1 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 7928 mask_detect is not consistent : 3 used against 2 in the step definition ! Step 8092 crop_condition have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! WARNING : number of outputs for step 8092 crop_condition is not consistent : 4 used against 3 in the step definition ! WARNING : number of inputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7933 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 7935 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 7934 final have less inputs used (2) than in the step definition (3) : maybe we manage optionnal inputs ! Step 7934 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13649 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 9283 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 7935 doesn't seem to be define in the database( WARNING : type of input 3 of step 7934 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of input 1 of step 7935 doesn't seem to be define in the database( WARNING : output 1 of step 7933 have datatype=7 whereas input 1 of step 7935 have datatype=None WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 2 of step 8092 doesn't seem to be define in the database( WARNING : type of output 3 of step 8092 doesn't seem to be define in the database( WARNING : type of input 1 of step 7933 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10917 doesn't seem to be define in the database( WARNING : type of output 2 of step 7928 doesn't seem to be define in the database( WARNING : type of input 1 of step 10918 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 7935 have datatype=10 whereas input 3 of step 10916 have datatype=6 WARNING : output 0 of step 7935 have datatype=10 whereas input 0 of step 13649 have datatype=18 WARNING : type of output 1 of step 13649 doesn't seem to be define in the database( WARNING : type of input 5 of step 10916 doesn't seem to be define in the database( DataTypes for each output/input checked ! TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108698 AND mptpi.`type`=3594 To do NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'30012025': {'nb_upload': 23, '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 [1333148481, 1333148478, 1333148457, 1333148447, 1333148444, 1333148414, 1333148408, 1333148406, 1333148405, 1333148403, 1333043731, 1333043727, 1333043719, 1333043714, 1333043706, 1333043699, 1333043640, 1333043638, 1333043634, 1333043628, 1333043623, 1333043618, 1333043566] Looping around the photos to save general results len do output : 1 /20090340Didn'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, '2552787') ('4252', '20090340', '1333148481', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148478', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148457', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148447', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148444', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148414', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148408', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148406', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148405', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333148403', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043731', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043727', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043719', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043714', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043706', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043699', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043640', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043638', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043634', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043628', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043623', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043618', None, None, None, None, None, '2552787') ('4252', None, None, None, None, None, None, None, '2552787') ('4252', '20090340', '1333043566', None, None, None, None, None, '2552787') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 time used for this insertion : 0.016047954559326172 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.381256818771362 time spend to save output : 0.016275644302368164 total time spend for step 9 : 11.39753246307373 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 23 set_done_treatment 5.72user 1.49system 0:42.27elapsed 17%CPU (0avgtext+0avgdata 185684maxresident)k 72inputs+129872outputs (13major+100071minor)pagefaults 0swaps