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 : 2836006 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 : 1729>100 please execute split_portfolio.py -i 20423330 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2574214'] with mtr_portfolio_ids : ['20423330'] and first list_photo_ids : [] new path : /proc/2836006/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 1.6534888744354248 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 Tue Feb 11 14:32:29 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/1739280748_2836006_1336833216_d39e8c199dee5e2f7b71c9b37626ec1f.jpg resize: (1080, 1632) 1336833216 -6.796513214550492 treat image : temp/1739280748_2836006_1336833212_1e7d6021dc5d03bc7d5ab81ed88ef011.jpg resize: (1080, 1632) 1336833212 -5.679127641840071 treat image : temp/1739280748_2836006_1336833208_5c050080103db0f2a1fa0bc9c118e54e.jpg resize: (1080, 1632) 1336833208 -3.073003764371632 treat image : temp/1739280748_2836006_1336833204_e9177435a401a53097bd019036b33819.jpg resize: (1080, 1632) 1336833204 -2.036125121871157 treat image : temp/1739280748_2836006_1336833180_0093952fa8afa68c94b91e57d0295227.jpg resize: (1080, 1632) 1336833180 -6.499523509805288 treat image : temp/1739280748_2836006_1336833176_178cace0abd4335cabd425a96979a0e0.jpg resize: (1080, 1632) 1336833176 -6.341214397678017 treat image : temp/1739280748_2836006_1336833162_2c47265fdaa9398f0f55fc6ab96820e2.jpg resize: (1080, 1632) 1336833162 -6.065480460615706 treat image : temp/1739280748_2836006_1336833158_daa59e0aec6a598aeef34d09a9cf1311.jpg resize: (1080, 1632) 1336833158 -6.196437040325393 treat image : temp/1739280748_2836006_1336833153_f5e3a950f58528b37feb3ca793ad3b93.jpg resize: (1080, 1632) 1336833153 -4.945817859848866 treat image : temp/1739280748_2836006_1336833129_541bd7269c6ac6aab9b27a05a3818cef.jpg resize: (1080, 1632) 1336833129 -6.688551532600212 treat image : temp/1739280748_2836006_1336832933_eadab0d6538942cffed2051d75033868.jpg resize: (1080, 1632) 1336832933 -2.072558992448561 treat image : temp/1739280748_2836006_1336832929_06a6a2164f2c22272ca6fc4bc6591060.jpg resize: (1080, 1632) 1336832929 -5.1046106689966555 treat image : temp/1739280748_2836006_1336832924_5d7541734c1631f52ea0bbdaac7ab5f2.jpg resize: (1080, 1632) 1336832924 -6.749955283478683 treat image : temp/1739280748_2836006_1336832866_9401fa415e3151fa6027b88c7c0ef637.jpg resize: (1080, 1632) 1336832866 -7.205680739773674 treat image : temp/1739280748_2836006_1336832862_7d60dbc1b2840a9936572c8a3afc4efb.jpg resize: (1080, 1632) 1336832862 -5.1781955374383655 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 : 15 time used for this insertion : 0.013202190399169922 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.011649847030639648 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.013979911804199219 save missing photos in datou_result : time spend for datou_step_exec : 10.360422849655151 time spend to save output : 0.0435490608215332 total time spend for step 1 : 10.403971910476685 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 11.31user 1.56system 0:14.95elapsed 86%CPU (0avgtext+0avgdata 138612maxresident)k 80inputs+8720outputs (17major+106906minor)pagefaults 0swaps