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 : 1348634 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 : 171>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1348634/ 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.083218812942505 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 May 22 05:37: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/1747885049_1348634_1360394762_e474101c1283cef4d23243bdfeb6a656.jpg resize: (1080, 1632) 1360394762 -6.035076936074684 treat image : temp/1747885049_1348634_1360394760_38bbdb33dca407ca9bc313c1a9a6bf51.jpg resize: (1080, 1632) 1360394760 -2.7998411307596194 treat image : temp/1747885049_1348634_1360394757_ff5c22d1b4ebb53703430d90423a7798.jpg resize: (1080, 1632) 1360394757 -0.7427576957630269 treat image : temp/1747885049_1348634_1360394755_084f0d793f9e56a029d9ef84c91fcb8c.jpg resize: (1080, 1632) 1360394755 -1.5941113211365097 treat image : temp/1747885049_1348634_1360394550_dcba82921cbed6ff50edc09e4b26df9c.jpg resize: (1080, 1632) 1360394550 -6.161141730944316 treat image : temp/1747885049_1348634_1360394543_23208b0739edf6ce57a2485160acb918.jpg resize: (1080, 1632) 1360394543 -5.950188502969296 treat image : temp/1747885049_1348634_1360394518_b31875d0ec3fa17c690b19df44f67352.jpg resize: (1080, 1632) 1360394518 -5.645886897865382 treat image : temp/1747885049_1348634_1360394508_2c012ef7cb7f7d90721a433a1669cda0.jpg resize: (1080, 1632) 1360394508 -5.461564978151412 treat image : temp/1747885049_1348634_1360394357_1ae8691f426c970eb95da5cdf14c9e1f.jpg resize: (1080, 1632) 1360394357 -5.944848295452002 treat image : temp/1747885049_1348634_1360394355_4e436519461db6fa8d202ddfea0bff96.jpg resize: (1080, 1632) 1360394355 -6.188017185012514 treat image : temp/1747885049_1348634_1360394353_3b3aaa1ad2fb3ca2afeddaf2a6711a5d.jpg resize: (1080, 1632) 1360394353 -6.336175476407891 treat image : temp/1747885049_1348634_1360394352_b7006ce8bd213ec814e4c85f16280d27.jpg resize: (1080, 1632) 1360394352 -3.1121903267339297 treat image : temp/1747885049_1348634_1360394350_ba861125843c08ca48f269ec452a5bee.jpg resize: (1080, 1632) 1360394350 -5.593640472281753 treat image : temp/1747885049_1348634_1360394338_0db192ec3ab03216dade5423b041e4d1.jpg resize: (1080, 1632) 1360394338 -2.1854913313808093 treat image : temp/1747885049_1348634_1360394335_1435cac8e01fa6b47311a64c5969ce69.jpg resize: (1080, 1632) 1360394335 -3.4669291254679733 treat image : temp/1747885049_1348634_1360394250_03fb2ea1270776ff8e5b4bea8cb2f4ad.jpg resize: (1080, 1632) 1360394250 -5.758440932882336 treat image : temp/1747885049_1348634_1360394245_22d8e329f55b43ee823c8ec5ea159379.jpg resize: (1080, 1632) 1360394245 -5.42822297240056 treat image : temp/1747885049_1348634_1360394218_d0f343550f2f9455f299c5c21a87db5e.jpg resize: (1080, 1632) 1360394218 0.05927042195622574 treat image : temp/1747885049_1348634_1360394099_a8504d00334db0aa14a797d89eddcff4.jpg resize: (1080, 1632) 1360394099 -6.085365382995238 treat image : temp/1747885049_1348634_1360394097_f0a932e0c4f54ea26cdabe7e550fc457.jpg resize: (1080, 1632) 1360394097 -3.106586266143704 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.013594865798950195 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.28697776794433594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2919504642486572 save missing photos in datou_result : time spend for datou_step_exec : 15.170994997024536 time spend to save output : 0.5970189571380615 total time spend for step 1 : 15.768013954162598 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.78user 3.67system 0:21.79elapsed 80%CPU (0avgtext+0avgdata 140036maxresident)k 104inputs+9752outputs (4major+259837minor)pagefaults 0swaps