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 : 2319803 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 : 1137>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2319803/ 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.2582015991210938 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 Fri May 16 05:57: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/1747367849_2319803_1358809644_7bba72513df7ee800f116a77926f6a5a.jpg resize: (1080, 1632) 1358809644 -3.393856646953943 treat image : temp/1747367849_2319803_1358809643_afd66a742357acb44ec57ada3c2b3797.jpg resize: (1080, 1632) 1358809643 -2.954622202610283 treat image : temp/1747367849_2319803_1358809642_3b4492d7ce20d2ee94dfbec7cd414e12.jpg resize: (1080, 1632) 1358809642 -2.2994830398185475 treat image : temp/1747367849_2319803_1358809640_1915613ae045d4c6efb38ed33478938a.jpg resize: (1080, 1632) 1358809640 -4.633730050441463 treat image : temp/1747367849_2319803_1358809638_6cac5cb33f8828c823e2fd06cbfc6299.jpg resize: (1080, 1632) 1358809638 -1.2405492307349666 treat image : temp/1747367849_2319803_1358809464_24a02e496a6842c6fa89a5fb5fad6c3e.jpg resize: (1080, 1632) 1358809464 -5.805897800742234 treat image : temp/1747367849_2319803_1358809455_ae2f123c5fde32815e54885ed50584de.jpg resize: (1080, 1632) 1358809455 -3.3539102219155996 treat image : temp/1747367849_2319803_1358809430_f3bdcbef7a374d4f7dacc3eacd16b32a.jpg resize: (1080, 1632) 1358809430 -4.969719018048519 treat image : temp/1747367849_2319803_1358809405_c96a21d38101f2629852e7b0427c4717.jpg resize: (1080, 1632) 1358809405 -4.7872441386642075 treat image : temp/1747367849_2319803_1358809379_9ad37ebf67386f4f10e013a29922218d.jpg resize: (1080, 1632) 1358809379 -5.600520301938071 treat image : temp/1747367849_2319803_1358809355_061f7a65aa25d5a3118a3f676b1291ce.jpg resize: (1080, 1632) 1358809355 -5.500380150583819 treat image : temp/1747367849_2319803_1358809321_51a5fac0af65f07ddc8557570a2c6cea.jpg resize: (1080, 1632) 1358809321 -5.776459420848378 treat image : temp/1747367849_2319803_1358809318_074d2c3cd6e78e135d47ddd772096b85.jpg resize: (1080, 1632) 1358809318 -3.862841124083004 treat image : temp/1747367849_2319803_1358808834_166009b3cacc60034864537e96d32dbe.jpg resize: (1080, 1632) 1358808834 -3.7346979446783015 treat image : temp/1747367849_2319803_1358808832_d80db6e4ea048a46570d21bf1a6f6753.jpg resize: (1080, 1632) 1358808832 -2.228975926876465 treat image : temp/1747367849_2319803_1358804878_1ea8d42a3f0af9062e1211363b98def1.jpg resize: (1080, 1632) 1358804878 -5.155823803437918 treat image : temp/1747367849_2319803_1358804875_11d52b5c94da5f4f11b12b603dacb16c.jpg resize: (1080, 1632) 1358804875 -5.866031358529854 treat image : temp/1747367849_2319803_1358804870_4d055810f8a4a7a3b51d078a3b38d039.jpg resize: (1080, 1632) 1358804870 -4.182149543123545 treat image : temp/1747367849_2319803_1358804865_cc07089934de6f11a3b017bc280378f7.jpg resize: (1080, 1632) 1358804865 -5.003424448483947 treat image : temp/1747367849_2319803_1358804860_4185957bfeae4c9fcbe5e27377236fe0.jpg resize: (1080, 1632) 1358804860 -5.529689140262382 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.013169527053833008 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.1347949504852295 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.07202839851379395 save missing photos in datou_result : time spend for datou_step_exec : 15.703185796737671 time spend to save output : 0.2255868911743164 total time spend for step 1 : 15.928772687911987 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 4.06system 0:22.39elapsed 82%CPU (0avgtext+0avgdata 142112maxresident)k 80inputs+9360outputs (15major+259701minor)pagefaults 0swaps