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 : 2531740 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 : 3941>100 please execute split_portfolio.py -i 25516015 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3403011'] with mtr_portfolio_ids : ['25516015'] and first list_photo_ids : [] new path : /proc/2531740/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.3268320560455322 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 31 12:47: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/1753958848_2531740_1374585001_8d3e9e565225084cd0fc67aedc9f6236.jpg resize: (1080, 1632) 1374585001 -3.3953245408011425 treat image : temp/1753958848_2531740_1374584997_d275090aa2d14efbb1261762dc151c75.jpg resize: (1080, 1632) 1374584997 -1.3617775175999078 treat image : temp/1753958848_2531740_1374584995_e9a63dbe0808da82dfb4bf375a269a6b.jpg resize: (1080, 1632) 1374584995 -1.7243953659780848 treat image : temp/1753958848_2531740_1374584981_e60f6e3f7af307e14c72771b33efed16.jpg resize: (1080, 1632) 1374584981 -2.1590015481005196 treat image : temp/1753958848_2531740_1374584979_879f96258509c81fdd9db17481ffe829.jpg resize: (1080, 1632) 1374584979 -2.4908129415916878 treat image : temp/1753958848_2531740_1374584977_1ddab6e5b990027dbeb808acc07caceb.jpg resize: (1080, 1632) 1374584977 -3.298528350583942 treat image : temp/1753958848_2531740_1374584970_b9751a5db755df82e271505a504f0d75.jpg resize: (1080, 1632) 1374584970 -5.443683801126093 treat image : temp/1753958848_2531740_1374584967_38cccf09545c54a3473c97448fae0d3a.jpg resize: (1080, 1632) 1374584967 -4.188212265215911 treat image : temp/1753958848_2531740_1374584965_f4e7bb3af7a899ab97a8063f7efcaa4c.jpg resize: (1080, 1632) 1374584965 -6.258909933145279 treat image : temp/1753958848_2531740_1374584959_6a92b15639208ff12eb4b3d68af82501.jpg resize: (1080, 1632) 1374584959 -5.549922919979822 treat image : temp/1753958848_2531740_1374584953_0d4b1472f00fa0ee86f03f5b51c3f948.jpg resize: (1080, 1632) 1374584953 -5.1714677782941365 treat image : temp/1753958848_2531740_1374584948_fe0a31d53ea93abc31ba9f7ce14c1a75.jpg resize: (1080, 1632) 1374584948 -4.816235972082714 treat image : temp/1753958848_2531740_1374584936_1dfef2f1765555f049e5e20be22655aa.jpg resize: (1080, 1632) 1374584936 -5.391345109613317 treat image : temp/1753958848_2531740_1374584932_7444abfea1f3ea1a402cdf1b9e83f73f.jpg resize: (1080, 1632) 1374584932 -5.414250504525778 treat image : temp/1753958848_2531740_1374584930_d721cf4913771f79a868df9ba59fd05e.jpg resize: (1080, 1632) 1374584930 -5.427719127646779 treat image : temp/1753958848_2531740_1374584929_26fb76c83123e44cf4f8f6ebabe92373.jpg resize: (1080, 1632) 1374584929 -5.433243350221943 treat image : temp/1753958848_2531740_1374584927_41532cf4ff845045dc9a02bd9eb3d748.jpg resize: (1080, 1632) 1374584927 -5.432199284391244 treat image : temp/1753958848_2531740_1374584924_181f311ecd49f6cda78ae462059449e1.jpg resize: (1080, 1632) 1374584924 -5.4383902776718465 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 : 18 time used for this insertion : 0.014201879501342773 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.015424728393554688 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01718759536743164 save missing photos in datou_result : time spend for datou_step_exec : 12.420237064361572 time spend to save output : 0.05097365379333496 total time spend for step 1 : 12.471210718154907 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.63user 2.00system 0:16.81elapsed 87%CPU (0avgtext+0avgdata 139452maxresident)k 120inputs+8512outputs (19major+139545minor)pagefaults 0swaps