python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4252 ' -s datou_consolidate -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 2523939 load datou : 4252 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 11617 copy_chis is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11618 consolidate_hashtags_from_manual_portfolio is not consistent : 2 used against 1 in the step definition ! WARNING : number of inputs for step 11615 rle_unique_nms_with_priority is not consistent : 3 used against 1 in the step definition ! WARNING : number of outputs for step 11615 rle_unique_nms_with_priority is not consistent : 2 used against 1 in the step definition ! WARNING : number of outputs for step 11622 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11616 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! Step 11619 blur_detection have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11620 brightness have less inputs used (0) than in the step definition (1) : maybe we manage optionnal inputs ! Step 11621 send_mail_cod have less inputs used (4) than in the step definition (5) : maybe we manage optionnal inputs ! Step 11623 split_time_score have less inputs used (1) than in the step definition (2) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 11617 have datatype=11 whereas input 0 of step 11615 have datatype=2 WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 3 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11618 doesn't seem to be define in the database( WARNING : type of input 1 of step 11615 doesn't seem to be define in the database( WARNING : output 0 of step 11622 have datatype=10 whereas input 3 of step 11621 have datatype=6 WARNING : type of input 1 of step 11622 doesn't seem to be define in the database( WARNING : output 1 of step 11615 have datatype=7 whereas input 1 of step 11622 have datatype=None WARNING : type of output 1 of step 11622 doesn't seem to be define in the database( WARNING : type of input 4 of step 11616 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : type of output 1 of step 11617 doesn't seem to be define in the database( WARNING : type of input 1 of step 11618 doesn't seem to be define in the database( DataTypes for each output/input checked ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : id de la photo (peut être local ou global) was removed should we ? donnée sous forme de nombre was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? donnée sous forme de texte was removed should we ? [ (photo_id, photo_id_loc, hashtag_type, x0, x1, y0, y1, score), ...] was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 list_input_json: {} Current got : datou_id : 4252, datou_cur_ids : ['3552761'] with mtr_portfolio_ids : ['25004425'] and first list_photo_ids : [] new path : /proc/2523939/ 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 , BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 22 ; length of list_pids : 22 ; length of list_args : 22 time to download the photos : 4.797263145446777 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 Tue Aug 19 12:30:34 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 66 chid ids of type : 4211 batch 1 Loaded 551 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 [1372349139, 1372349134, 1372349120, 1372349118, 1372349113, 1372349107, 1372349103, 1372349097, 1372349086, 1372349083, 1372349081, 1372349077, 1372349071, 1372349065, 1372349051, 1372349048, 1372349046, 1372349041, 1372349038, 1372349032, 1372349014, 1372349008] Looping around the photos to save general results len do output : 22 /1372349139Didn't retrieve data . /1372349134Didn't retrieve data . /1372349120Didn't retrieve data . /1372349118Didn't retrieve data . /1372349113Didn't retrieve data . /1372349107Didn't retrieve data . /1372349103Didn't retrieve data . /1372349097Didn't retrieve data . /1372349086Didn't retrieve data . /1372349083Didn't retrieve data . /1372349081Didn't retrieve data . /1372349077Didn't retrieve data . /1372349071Didn't retrieve data . /1372349065Didn't retrieve data . /1372349051Didn't retrieve data . /1372349048Didn't retrieve data . /1372349046Didn't retrieve data . /1372349041Didn't retrieve data . /1372349038Didn't retrieve data . /1372349032Didn't retrieve data . /1372349014Didn't retrieve data . /1372349008Didn'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, '3552761') ('4252', '25004425', '1372349139', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349134', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349120', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349118', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349113', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349107', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349103', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349097', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349086', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349083', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349081', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349077', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349071', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349065', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349051', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349048', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349046', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349041', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349038', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349032', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349014', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349008', None, None, None, None, None, '3552761') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 time used for this insertion : 0.05245399475097656 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.3296341896057129 time spend to save output : 0.05315542221069336 total time spend for step 1 : 0.38278961181640625 step2:consolidate_hashtags_from_manual_portfolio Tue Aug 19 12:30:34 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 : 25004425 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`=25004425 AND mptpi.`type`=4211 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25004425 AND mptpi.`type`=4211 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25004425 AND mptpi.`type`=4211 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou','background')) To do TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25009699 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=25009700 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 511 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25009701 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=25009702 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=25009703 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=25009704 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=25009705 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 391 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=25009707 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 551 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 : 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=25009708 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 218 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 : 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=25009709 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=25009710 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 101 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 : 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=25009711 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 551 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 : 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=25009712 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 53 chid ids of type : 4211 begin to find the sub_photo_id : begin to find the sub_photo_id : TODO : # On doit donc construire les chi a partir des informations dans les photos filles query : SELECT ph.photo_id FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=25009713 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 408 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=25009714 AND mpp.hide_status=0 ORDER BY ph.size desc batch 1 Loaded 165 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 : 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=25009715 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=26056878 AND mpp.hide_status=0 ORDER BY ph.size desc To test ! Use context local managing function ! Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : consolidate_hashtags_from_manual_portfolio we use saveGeneral [1372349139, 1372349134, 1372349120, 1372349118, 1372349113, 1372349107, 1372349103, 1372349097, 1372349086, 1372349083, 1372349081, 1372349077, 1372349071, 1372349065, 1372349051, 1372349048, 1372349046, 1372349041, 1372349038, 1372349032, 1372349014, 1372349008] Looping around the photos to save general results len do output : 6 /Tassign value string error string indices must be integers invalid literal for int() with base 10: 'T' begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 time used for this insertion : 0.03809666633605957 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.6762025356292725 time spend to save output : 0.03827857971191406 total time spend for step 2 : 4.7144811153411865 step3:rle_unique_nms_with_priority Tue Aug 19 12:30:39 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array We expect there is only one output and this part is used while all output are not tuple or array VR 22-3-18 : For now we do not clean correctly the datou structure Begin step rle-unique-nms batch 1 Loaded 529 chid ids of type : 4211 seulement à utiliser dans la step consolidation batch 1 Loaded 28 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.09313106536865234 seulement à utiliser dans la step consolidation batch 1 Loaded 28 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02814030647277832 seulement à utiliser dans la step consolidation batch 1 Loaded 23 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.029990434646606445 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.030702590942382812 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.08041596412658691 seulement à utiliser dans la step consolidation batch 1 Loaded 22 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.07711553573608398 seulement à utiliser dans la step consolidation batch 1 Loaded 29 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0772557258605957 seulement à utiliser dans la step consolidation batch 1 Loaded 29 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.03107309341430664 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.029412508010864258 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.030165672302246094 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.02971935272216797 seulement à utiliser dans la step consolidation batch 1 Loaded 30 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.08448195457458496 seulement à utiliser dans la step consolidation batch 1 Loaded 24 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.07744884490966797 seulement à utiliser dans la step consolidation batch 1 Loaded 19 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.07661581039428711 seulement à utiliser dans la step consolidation batch 1 Loaded 28 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030369281768798828 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.02867269515991211 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.03043365478515625 seulement à utiliser dans la step consolidation batch 1 Loaded 24 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.0301516056060791 seulement à utiliser dans la step consolidation batch 1 Loaded 11 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.040940046310424805 seulement à utiliser dans la step consolidation batch 1 Loaded 29 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.08303403854370117 seulement à utiliser dans la step consolidation batch 1 Loaded 22 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.030097007751464844 seulement à utiliser dans la step consolidation batch 1 Loaded 7 chid ids of type : 4211 Number RLEs to save : 0 TO DO : save crop sub photo not yet done ! save time : 0.02613067626953125 map_output_result : {1372349139: (0.0, 'Should be the crop_list due to order', 0), 1372349134: (0.0, 'Should be the crop_list due to order', 0), 1372349120: (0.0, 'Should be the crop_list due to order', 0), 1372349118: (0.0, 'Should be the crop_list due to order', 0), 1372349113: (0.0, 'Should be the crop_list due to order', 0), 1372349107: (0.0, 'Should be the crop_list due to order', 0), 1372349103: (0.0, 'Should be the crop_list due to order', 0), 1372349097: (0.0, 'Should be the crop_list due to order', 0), 1372349086: (0.0, 'Should be the crop_list due to order', 0), 1372349083: (0.0, 'Should be the crop_list due to order', 0), 1372349081: (0.0, 'Should be the crop_list due to order', 0), 1372349077: (0.0, 'Should be the crop_list due to order', 0), 1372349071: (0.0, 'Should be the crop_list due to order', 0), 1372349065: (0.0, 'Should be the crop_list due to order', 0), 1372349051: (0.0, 'Should be the crop_list due to order', 0), 1372349048: (0.0, 'Should be the crop_list due to order', 0), 1372349046: (0.0, 'Should be the crop_list due to order', 0), 1372349041: (0.0, 'Should be the crop_list due to order', 0), 1372349038: (0.0, 'Should be the crop_list due to order', 0), 1372349032: (0.0, 'Should be the crop_list due to order', 0), 1372349014: (0.0, 'Should be the crop_list due to order', 0), 1372349008: (0.0, 'Should be the crop_list due to order', 0)} End step rle-unique-nms Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : rle_unique_nms_with_priority we use saveGeneral [1372349139, 1372349134, 1372349120, 1372349118, 1372349113, 1372349107, 1372349103, 1372349097, 1372349086, 1372349083, 1372349081, 1372349077, 1372349071, 1372349065, 1372349051, 1372349048, 1372349046, 1372349041, 1372349038, 1372349032, 1372349014, 1372349008] Looping around the photos to save general results len do output : 22 /1372349139.Didn't retrieve data . /1372349134.Didn't retrieve data . /1372349120.Didn't retrieve data . /1372349118.Didn't retrieve data . /1372349113.Didn't retrieve data . /1372349107.Didn't retrieve data . /1372349103.Didn't retrieve data . /1372349097.Didn't retrieve data . /1372349086.Didn't retrieve data . /1372349083.Didn't retrieve data . /1372349081.Didn't retrieve data . /1372349077.Didn't retrieve data . /1372349071.Didn't retrieve data . /1372349065.Didn't retrieve data . /1372349051.Didn't retrieve data . /1372349048.Didn't retrieve data . /1372349046.Didn't retrieve data . /1372349041.Didn't retrieve data . /1372349038.Didn't retrieve data . /1372349032.Didn't retrieve data . /1372349014.Didn't retrieve data . /1372349008.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, '3552761') ('4252', '25004425', '1372349139', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349134', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349120', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349118', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349113', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349107', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349103', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349097', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349086', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349083', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349081', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349077', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349071', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349065', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349051', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349048', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349046', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349041', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349038', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349032', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349014', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349008', None, None, None, None, None, '3552761') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.015638113021850586 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.5534911155700684 time spend to save output : 0.016513586044311523 total time spend for step 3 : 3.57000470161438 step4:ventilate_hashtags_in_portfolio Tue Aug 19 12:30: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 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 : 25004425 get user id for portfolio 25004425 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`=25004425 AND mptpi.`type`=4211 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=25004425 AND mptpi.`type`=4211 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('barquette_opaque','carton','ela','environnement','etiquette','film_plastique','kraft','metal','papier','pehd','pet_clair','pet_opaque','textiles_sanitaires','pet_fonce','mal_croppe','flou')) AND mptpi.`min_score`=0.5 To do lien utilise dans velours : https://www.fotonower.com/velours/25009699,25009700,25009701,25009702,25009703,25009704,25009705,25009707,25009708,25009709,25009710,25009711,25009712,25009713,25009714,25009715?tags=mal_croppe,film_plastique,etiquette,textiles_sanitaires,pet_clair,pet_fonce,pehd,environnement,barquette_opaque,kraft,metal,papier,pet_opaque,carton,ela,flou Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1372349139, 1372349134, 1372349120, 1372349118, 1372349113, 1372349107, 1372349103, 1372349097, 1372349086, 1372349083, 1372349081, 1372349077, 1372349071, 1372349065, 1372349051, 1372349048, 1372349046, 1372349041, 1372349038, 1372349032, 1372349014, 1372349008] Looping around the photos to save general results len do output : 1 /25004425. 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, '3552761') ('4252', '25004425', '1372349139', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349134', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349120', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349118', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349113', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349107', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349103', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349097', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349086', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349083', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349081', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349077', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349071', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349065', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349051', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349048', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349046', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349041', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349038', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349032', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349014', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349008', None, None, None, None, None, '3552761') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.03464460372924805 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.34900403022766113 time spend to save output : 0.034941911697387695 total time spend for step 4 : 0.38394594192504883 step5:final Tue Aug 19 12:30:43 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 : {1372349139: ('0.10419060998789206',), 1372349134: ('0.10419060998789206',), 1372349120: ('0.10419060998789206',), 1372349118: ('0.10419060998789206',), 1372349113: ('0.10419060998789206',), 1372349107: ('0.10419060998789206',), 1372349103: ('0.10419060998789206',), 1372349097: ('0.10419060998789206',), 1372349086: ('0.10419060998789206',), 1372349083: ('0.10419060998789206',), 1372349081: ('0.10419060998789206',), 1372349077: ('0.10419060998789206',), 1372349071: ('0.10419060998789206',), 1372349065: ('0.10419060998789206',), 1372349051: ('0.10419060998789206',), 1372349048: ('0.10419060998789206',), 1372349046: ('0.10419060998789206',), 1372349041: ('0.10419060998789206',), 1372349038: ('0.10419060998789206',), 1372349032: ('0.10419060998789206',), 1372349014: ('0.10419060998789206',), 1372349008: ('0.10419060998789206',)} new output for save of step final : {1372349139: ('0.10419060998789206',), 1372349134: ('0.10419060998789206',), 1372349120: ('0.10419060998789206',), 1372349118: ('0.10419060998789206',), 1372349113: ('0.10419060998789206',), 1372349107: ('0.10419060998789206',), 1372349103: ('0.10419060998789206',), 1372349097: ('0.10419060998789206',), 1372349086: ('0.10419060998789206',), 1372349083: ('0.10419060998789206',), 1372349081: ('0.10419060998789206',), 1372349077: ('0.10419060998789206',), 1372349071: ('0.10419060998789206',), 1372349065: ('0.10419060998789206',), 1372349051: ('0.10419060998789206',), 1372349048: ('0.10419060998789206',), 1372349046: ('0.10419060998789206',), 1372349041: ('0.10419060998789206',), 1372349038: ('0.10419060998789206',), 1372349032: ('0.10419060998789206',), 1372349014: ('0.10419060998789206',), 1372349008: ('0.10419060998789206',)} [1372349139, 1372349134, 1372349120, 1372349118, 1372349113, 1372349107, 1372349103, 1372349097, 1372349086, 1372349083, 1372349081, 1372349077, 1372349071, 1372349065, 1372349051, 1372349048, 1372349046, 1372349041, 1372349038, 1372349032, 1372349014, 1372349008] Looping around the photos to save general results len do output : 22 /1372349139.Didn't retrieve data . /1372349134.Didn't retrieve data . /1372349120.Didn't retrieve data . /1372349118.Didn't retrieve data . /1372349113.Didn't retrieve data . /1372349107.Didn't retrieve data . /1372349103.Didn't retrieve data . /1372349097.Didn't retrieve data . /1372349086.Didn't retrieve data . /1372349083.Didn't retrieve data . /1372349081.Didn't retrieve data . /1372349077.Didn't retrieve data . /1372349071.Didn't retrieve data . /1372349065.Didn't retrieve data . /1372349051.Didn't retrieve data . /1372349048.Didn't retrieve data . /1372349046.Didn't retrieve data . /1372349041.Didn't retrieve data . /1372349038.Didn't retrieve data . /1372349032.Didn't retrieve data . /1372349014.Didn't retrieve data . /1372349008.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, '3552761') ('4252', '25004425', '1372349139', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349134', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349120', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349118', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349113', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349107', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349103', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349097', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349086', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349083', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349081', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349077', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349071', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349065', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349051', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349048', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349046', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349041', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349038', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349032', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349014', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349008', None, None, None, None, None, '3552761') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 66 time used for this insertion : 0.04896950721740723 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07014274597167969 time spend to save output : 0.04983997344970703 total time spend for step 5 : 0.11998271942138672 step6:blur_detection Tue Aug 19 12:30:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step blur_detection toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 22 time used for this insertion : 0.009749174118041992 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 22 time used for this insertion : 0.013158321380615234 save missing photos in datou_result : time spend for datou_step_exec : 0.04698061943054199 time spend to save output : 0.027191877365112305 total time spend for step 6 : 0.0741724967956543 step7:brightness Tue Aug 19 12:30:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure inside step calcul brightness toutes les photos sont déjà traitées, on saute les calculs Inside saveOutput : final : False verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 22 time used for this insertion : 0.009763479232788086 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 22 time used for this insertion : 0.009990453720092773 save missing photos in datou_result : time spend for datou_step_exec : 0.025901079177856445 time spend to save output : 0.023935317993164062 total time spend for step 7 : 0.04983639717102051 step8:send_mail_cod Tue Aug 19 12:30:43 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 complete output_args for input 1 complete output_args for input 2 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector results_COD_P25004425_19-08-2025_12_30_43.pdf 25009700 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 .imagette250097001755599443 25009701 imagette250097011755599446 25009702 imagette250097021755599446 25009703 imagette250097031755599446 25009704 imagette250097041755599446 25009708 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 .imagette250097081755599446 25009709 imagette250097091755599448 25009710 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette250097101755599448 25009711 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 .imagette250097111755599449 25009712 change filename to text .change filename to text .imagette250097121755599451 25009713 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 .imagette250097131755599451 25009714 change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .change filename to text .imagette250097141755599454 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=25004425 and hashtag_type = 4211 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/25009699,25009700,25009701,25009702,25009703,25009704,25009705,25009707,25009708,25009709,25009710,25009711,25009712,25009713,25009714,25009715?tags=mal_croppe,film_plastique,etiquette,textiles_sanitaires,pet_clair,pet_fonce,pehd,environnement,barquette_opaque,kraft,metal,papier,pet_opaque,carton,ela,flou your option no_mail is active, we will not send the real mail to your client args[1372349139] : ((1372349139, -7.0008540230879355, 492609224), (1372349139, 0.3134681054869383, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349134] : ((1372349134, -7.225147389812943, 492609224), (1372349134, 0.42078222797193865, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349120] : ((1372349120, -7.02274588899871, 492609224), (1372349120, 0.41046053628828943, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349118] : ((1372349118, -6.958719172138361, 492609224), (1372349118, 0.20983150461795302, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349113] : ((1372349113, -6.286982030057814, 492609224), (1372349113, -0.11452066284839979, 496442774), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349107] : ((1372349107, -6.254960017538781, 492609224), (1372349107, -0.22690151457934069, 496442774), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349103] : ((1372349103, -6.857320357775348, 492609224), (1372349103, -0.0098617051653113, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349097] : ((1372349097, -7.1809396709773265, 492609224), (1372349097, 0.34757413306731133, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349086] : ((1372349086, -6.980518544352295, 492609224), (1372349086, 0.19657998668714902, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349083] : ((1372349083, -6.919817392943077, 492609224), (1372349083, 0.2570304455345842, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349081] : ((1372349081, -7.222584688324768, 492609224), (1372349081, 0.41152751944886945, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349077] : ((1372349077, -6.96084417330571, 492609224), (1372349077, 0.1594307957247828, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349071] : ((1372349071, -7.1132680163660185, 492609224), (1372349071, 0.26012678832122055, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349065] : ((1372349065, -7.204918842249454, 492609224), (1372349065, 0.308897563460939, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349051] : ((1372349051, -7.210771492937333, 492609224), (1372349051, 0.37938273842859394, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349048] : ((1372349048, -7.094522810309223, 492609224), (1372349048, 0.10782300956439975, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349046] : ((1372349046, -6.706871113783914, 492609224), (1372349046, 0.03308481004321604, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349041] : ((1372349041, -7.03902759912938, 492609224), (1372349041, 0.38080078275063395, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349038] : ((1372349038, -5.278772489507428, 492609224), (1372349038, -1.0734890016572771, 501862349), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349032] : ((1372349032, -7.081586635529177, 492609224), (1372349032, 0.14738927159770235, 2107752395), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349014] : ((1372349014, -6.491101947726755, 492609224), (1372349014, -0.2560873355186996, 496442774), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com args[1372349008] : ((1372349008, -4.004827145061138, 492609224), (1372349008, -1.64758933075269, 501862349), '0.10419060998789206') We are sending mail with results at kexin@fotonower.com refus_total : 0.10419060998789206 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=25004425 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25004425_19-08-2025_12_30_43.pdf results_COD_P25004425_19-08-2025_12_30_43.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25004425_19-08-2025_12_30_43.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','25004425','results_COD_P25004425_19-08-2025_12_30_43.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25004425_19-08-2025_12_30_43.pdf','pdf','','1.46','0.10419060998789206') Inside saveOutput : final : False verbose : 0 saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1372349139, 1372349134, 1372349120, 1372349118, 1372349113, 1372349107, 1372349103, 1372349097, 1372349086, 1372349083, 1372349081, 1372349077, 1372349071, 1372349065, 1372349051, 1372349048, 1372349046, 1372349041, 1372349038, 1372349032, 1372349014, 1372349008] 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, '3552761') ('4252', '25004425', '1372349139', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349134', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349120', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349118', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349113', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349107', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349103', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349097', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349086', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349083', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349081', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349077', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349071', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349065', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349051', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349048', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349046', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349041', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349038', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349032', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349014', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349008', None, None, None, None, None, '3552761') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 22 time used for this insertion : 0.017423152923583984 save_final save missing photos in datou_result : time spend for datou_step_exec : 16.34670114517212 time spend to save output : 0.017780780792236328 total time spend for step 8 : 16.364481925964355 step9:split_time_score Tue Aug 19 12:30: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'}] (('06', 22),) ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17072025 25004425 Nombre de photos uploadées : 22 / 23040 (0%) 17072025 25004425 Nombre de photos taguées (types de déchets): 0 / 22 (0%) 17072025 25004425 Nombre de photos taguées (volume) : 0 / 22 (0%) elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ?????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012104511260986328 Catched exception ! Connect or reconnect ! Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22803473472595215 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_P25015368_17-07-2025_12_42_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015368 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015368_17-07-2025_12_42_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015368 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011664_17-07-2025_11_26_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011664 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010386_17-07-2025_10_46_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010386 order by id desc limit 1 Qualite : 0.10419060998789206 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_COD_P25004425_19-08-2025_12_30_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004425 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`=25004425 AND mptpi.`type`=4211 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004427_17-07-2025_09_10_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004427 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004427_17-07-2025_09_10_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004427 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004429_17-07-2025_09_28_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004429 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002368_17-07-2025_08_50_18.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002368 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002371_17-07-2025_08_36_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002371 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002373_17-07-2025_08_53_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002373 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002376_17-07-2025_08_38_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002376 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002376_17-07-2025_08_38_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002376 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25002379_17-07-2025_08_46_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25002379 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25004431_17-07-2025_16_29_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25004431 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006835_17-07-2025_10_20_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006835 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006836_17-07-2025_09_37_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006836 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006838_17-07-2025_09_42_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006838 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006840_17-07-2025_09_40_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006840 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006840_17-07-2025_09_40_25.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006840 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25006842_17-07-2025_09_43_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25006842 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010388_17-07-2025_10_46_55.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010388 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010392_17-07-2025_10_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010392 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010392_17-07-2025_10_40_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010392 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25010408_17-07-2025_10_45_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25010408 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011667_17-07-2025_11_19_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011667 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011673_17-07-2025_11_19_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011673 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011697_17-07-2025_11_41_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011697 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25011724_17-07-2025_11_15_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25011724 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015384_17-07-2025_12_43_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015384 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015384_17-07-2025_12_43_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015384 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015386_17-07-2025_12_36_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015386 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015387_17-07-2025_12_42_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015387 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015389_17-07-2025_12_39_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015389 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015391_17-07-2025_19_53_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015391 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015394_17-07-2025_12_38_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015394 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015394_17-07-2025_12_38_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015394 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25015395_17-07-2025_12_51_20.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25015395 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017800_17-07-2025_13_38_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017800 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017802_17-07-2025_13_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017802 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017804_17-07-2025_13_38_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017804 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017806_17-07-2025_13_38_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017806 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017806_17-07-2025_13_38_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017806 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017809_17-07-2025_13_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017809 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25017811_17-07-2025_13_39_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25017811 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028493_17-07-2025_16_20_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028493 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028508_17-07-2025_16_08_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028508 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028517_17-07-2025_16_13_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028517 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028526_17-07-2025_16_14_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028526 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028529_17-07-2025_16_09_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028529 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028529_17-07-2025_16_09_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028529 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028532_17-07-2025_16_13_54.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028532 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028534_17-07-2025_16_13_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028534 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028552_17-07-2025_16_33_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028552 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028604_17-07-2025_19_32_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028604 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028604_17-07-2025_19_32_46.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028604 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028607_17-07-2025_16_10_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028607 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25028610_17-07-2025_16_27_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25028610 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036306_17-07-2025_18_43_21.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036306 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036309_17-07-2025_18_50_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036309 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036312_17-07-2025_18_38_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036312_17-07-2025_18_38_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036312 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036315_17-07-2025_18_42_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036315 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036317_17-07-2025_18_37_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036317 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036331_17-07-2025_18_41_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036331 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036333_17-07-2025_18_51_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036333 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036346_17-07-2025_18_38_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036346 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036346_17-07-2025_18_38_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036346 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25036347_17-07-2025_18_39_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25036347 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042355_17-07-2025_21_09_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042355 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042358_17-07-2025_21_18_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042358 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042361_17-07-2025_21_08_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042361 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042361_17-07-2025_21_08_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042361 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042363_17-07-2025_21_13_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042363 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042364_17-07-2025_21_12_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042364 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042382_17-07-2025_21_12_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042382 order by id desc limit 1 Qualite : 0.10896566358024692 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042396_17-07-2025_21_13_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042396 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`=25042396 AND mptpi.`type`=3594 To do find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042418_17-07-2025_21_08_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042418 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042418_17-07-2025_21_08_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042418 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25042449_17-07-2025_21_07_23.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25042449 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25046900_17-07-2025_22_50_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25046900 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25046906_17-07-2025_22_39_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25046906 order by id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P25063054_18-07-2025_07_17_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 25063054 order by id desc limit 1 NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17072025': {'nb_upload': 22, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} Inside saveOutput : final : True verbose : 0 saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1372349139, 1372349134, 1372349120, 1372349118, 1372349113, 1372349107, 1372349103, 1372349097, 1372349086, 1372349083, 1372349081, 1372349077, 1372349071, 1372349065, 1372349051, 1372349048, 1372349046, 1372349041, 1372349038, 1372349032, 1372349014, 1372349008] Looping around the photos to save general results len do output : 1 /25004425Didn'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, '3552761') ('4252', '25004425', '1372349139', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349134', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349120', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349118', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349113', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349107', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349103', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349097', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349086', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349083', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349081', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349077', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349071', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349065', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349051', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349048', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349046', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349041', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349038', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349032', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349014', None, None, None, None, None, '3552761') ('4252', None, None, None, None, None, None, None, '3552761') ('4252', '25004425', '1372349008', None, None, None, None, None, '3552761') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 23 time used for this insertion : 0.0175473690032959 save_final save missing photos in datou_result : time spend for datou_step_exec : 42.05715465545654 time spend to save output : 0.017981767654418945 total time spend for step 9 : 42.07513642311096 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 22 set_done_treatment 6.89user 1.56system 1:16.90elapsed 10%CPU (0avgtext+0avgdata 198500maxresident)k 5296inputs+121880outputs (10major+143799minor)pagefaults 0swaps