python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -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 : 1595333 load datou : 4871 # 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) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! 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 : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) 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 we have a portfolio with more photos than limit : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1595333/ 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) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 3.4332900047302246 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 : 1 step1:blur_detection Thu Jul 17 22:12:31 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 inside step blur_detection methode: ratio et variance treat image : temp/1752783148_1595333_1372332823_dab6be9c087df8135bfe4ff251a23434.jpg resize: (1080, 1632) 1372332823 -4.754055685189573 treat image : temp/1752783148_1595333_1372332822_5e6665d39b025fce052430d6bfb982b7.jpg resize: (1080, 1632) 1372332822 -4.767350123919484 treat image : temp/1752783148_1595333_1372332820_78f2606e890a0e069af939a6ededd875.jpg resize: (1080, 1632) 1372332820 -4.752975265524156 treat image : temp/1752783148_1595333_1372332818_0c7fb940de2ebe613f827fa77e59451e.jpg resize: (1080, 1632) 1372332818 -4.754919442724251 treat image : temp/1752783148_1595333_1372332816_1473d35326223014639508a903868d10.jpg resize: (1080, 1632) 1372332816 -4.748735356360627 treat image : temp/1752783148_1595333_1372332796_c54fd931f28f5047b00f7f4ea6fd4dba.jpg resize: (1080, 1632) 1372332796 -4.745953052603534 treat image : temp/1752783148_1595333_1372332794_0587ed2ab8ed9c45e4c589570341a658.jpg resize: (1080, 1632) 1372332794 -4.770337726731123 treat image : temp/1752783148_1595333_1372332791_894d9cc0fcd089ba924699fb8b2ee45d.jpg resize: (1080, 1632) 1372332791 -4.768754148553027 treat image : temp/1752783148_1595333_1372332789_fce5900e659c645991d6416fa4451722.jpg resize: (1080, 1632) 1372332789 -4.7558113868229155 treat image : temp/1752783148_1595333_1372332788_5d3f3d8454323c22d5b6096584082a02.jpg resize: (1080, 1632) 1372332788 -4.74334569301759 treat image : temp/1752783148_1595333_1372332786_e88bb12c9eb10c28f544c7a313b3df7a.jpg resize: (1080, 1632) 1372332786 -4.7751072872405 treat image : temp/1752783148_1595333_1372332769_900fb306c794c3d75ee46a934bed7425.jpg resize: (1080, 1632) 1372332769 -4.3591701503929325 treat image : temp/1752783148_1595333_1372332767_a296587b50180056ea544ce1e6631317.jpg resize: (1080, 1632) 1372332767 -4.348869367486722 treat image : temp/1752783148_1595333_1372332765_3367bd4475169989231343115fd918fa.jpg resize: (1080, 1632) 1372332765 -4.328182245131136 treat image : temp/1752783148_1595333_1372332763_1060abb997a54b5b564b7656f107f9fd.jpg resize: (1080, 1632) 1372332763 -4.371448464283542 treat image : temp/1752783148_1595333_1372332759_7eb2c6e70f6c2286c5667540a92ceeda.jpg resize: (1080, 1632) 1372332759 -4.361803825559873 treat image : temp/1752783148_1595333_1372332754_308d37f33066e6f43ed747755ba9bf95.jpg resize: (1080, 1632) 1372332754 -4.7779123597068915 treat image : temp/1752783148_1595333_1372332728_f0cf565e6f41061958b1c6bfc76a7bff.jpg resize: (1080, 1632) 1372332728 -4.3569545397706815 treat image : temp/1752783148_1595333_1372332726_a273a18f5f39063f0915b9797ab9284a.jpg resize: (1080, 1632) 1372332726 -4.37481552685759 treat image : temp/1752783148_1595333_1372332725_3af652f9ab0d9409a3b80b2625e311e1.jpg resize: (1080, 1632) 1372332725 -4.361375591391717 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.011768579483032227 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.014078378677368164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016900300979614258 save missing photos in datou_result : time spend for datou_step_exec : 18.32839035987854 time spend to save output : 0.04730367660522461 total time spend for step 1 : 18.375694036483765 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.18user 6.51system 0:24.57elapsed 84%CPU (0avgtext+0avgdata 138432maxresident)k 0inputs+8600outputs (6major+256193minor)pagefaults 0swaps