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 : 2828096 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 : 913>100 please execute split_portfolio.py -i 20624335 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2594849'] with mtr_portfolio_ids : ['20624335'] and first list_photo_ids : [] new path : /proc/2828096/ 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 : 2.710528612136841 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 18 09:17:30 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/1739866648_2828096_1338300333_c9c95aaeef2f2d0d2d035b0b49b9c5a9.jpg resize: (1080, 1632) 1338300333 0.1211875923701757 treat image : temp/1739866648_2828096_1338300330_84797001e0aaf86b47cf0cf6f855c2a9.jpg resize: (1080, 1632) 1338300330 -3.176442188982952 treat image : temp/1739866648_2828096_1338300327_2d15ed9f286987c46e8461f4f800b80e.jpg resize: (1080, 1632) 1338300327 -2.336919929171096 treat image : temp/1739866648_2828096_1338300323_85a52fddccdda4b97a390da0f3383fbe.jpg resize: (1080, 1632) 1338300323 -4.336934439756528 treat image : temp/1739866648_2828096_1338300319_01d458497b2244f30bea1f67bfb2e81f.jpg resize: (1080, 1632) 1338300319 -4.31549326270224 treat image : temp/1739866648_2828096_1338300316_97672f3bdaed0dd3de18769963b25655.jpg resize: (1080, 1632) 1338300316 -3.9080855671230355 treat image : temp/1739866648_2828096_1338300295_952001b8f5a98c4ddb69117002261ba8.jpg resize: (1080, 1632) 1338300295 -3.807608394795725 treat image : temp/1739866648_2828096_1338300292_339e0a5cb7018e9855b41a21e7ee0593.jpg resize: (1080, 1632) 1338300292 -5.206679826371677 treat image : temp/1739866648_2828096_1338300289_7853edc9ac1a0aa8b660433f2656a87c.jpg resize: (1080, 1632) 1338300289 -5.791262498053152 treat image : temp/1739866648_2828096_1338300287_6f6056454242ea7f03a6594c6f655894.jpg resize: (1080, 1632) 1338300287 -5.883106175134628 treat image : temp/1739866648_2828096_1338300270_a910214d18e2fdcd5acad419ccca7d93.jpg resize: (1080, 1632) 1338300270 -6.374179657460913 treat image : temp/1739866648_2828096_1338300266_71b8ef657a700e9ed4a3f2339566edf2.jpg resize: (1080, 1632) 1338300266 -6.525887311825369 treat image : temp/1739866648_2828096_1338300263_fd1a94de28fc67332362c73ceb1d66f1.jpg resize: (1080, 1632) 1338300263 -4.874799674911206 treat image : temp/1739866648_2828096_1338300259_03eae4c88ecaa1d03f6a419ba79dde0e.jpg resize: (1080, 1632) 1338300259 -5.948845336115425 treat image : temp/1739866648_2828096_1338300255_229302eb12dc7cacf2e7e971642902f9.jpg resize: (1080, 1632) 1338300255 -5.455028202841104 treat image : temp/1739866648_2828096_1338300252_e38494c0d5c6ff91b6b91e04e3693019.jpg resize: (1080, 1632) 1338300252 -5.942913128164246 treat image : temp/1739866648_2828096_1338300226_d89b3e8c4dc2008ae535b61f9995ddbd.jpg resize: (1080, 1632) 1338300226 -5.051596433432883 treat image : temp/1739866648_2828096_1338300224_31dba892710510692c80cf1667982649.jpg resize: (1080, 1632) 1338300224 0.9345194720920238 treat image : temp/1739866648_2828096_1338300222_bc07039623d1a243b428dd8cf68ab449.jpg resize: (1080, 1632) 1338300222 -5.536810129451436 treat image : temp/1739866648_2828096_1338300199_78b1b382cf51df81d13d4d4746ace233.jpg resize: (1080, 1632) 1338300199 -6.37681312107388 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.012807607650756836 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.012654304504394531 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014915943145751953 save missing photos in datou_result : time spend for datou_step_exec : 16.96357250213623 time spend to save output : 0.04565930366516113 total time spend for step 1 : 17.00923180580139 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.88user 5.20system 0:22.12elapsed 90%CPU (0avgtext+0avgdata 138220maxresident)k 6624inputs+10296outputs (88major+238713minor)pagefaults 0swaps