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 : 2870100 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 : 2285>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/2870100/ 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.764739990234375 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 Jul 11 07:32: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/1752211948_2870100_1371555806_91cef27727df8ffeea5de4d363ec5d7d.jpg resize: (1080, 1632) 1371555806 -5.3496631966359285 treat image : temp/1752211948_2870100_1371555805_21539452b5454190911d74f942317450.jpg resize: (1080, 1632) 1371555805 -5.348623084207915 treat image : temp/1752211948_2870100_1371555764_8b3ed4e99498972ebbb8f9fb2219169d.jpg resize: (1080, 1632) 1371555764 -5.339263840987066 treat image : temp/1752211948_2870100_1371555763_4f5a5912ebbdf38ba6641d3dca96fd5c.jpg resize: (1080, 1632) 1371555763 -5.34810271489056 treat image : temp/1752211948_2870100_1371555707_51baf8f425b548c337c28ca11c6fee31.jpg resize: (1080, 1632) 1371555707 -5.336939341408019 treat image : temp/1752211948_2870100_1371555442_4cf44fa18f587ee3979bf9f8907dfc67.jpg resize: (1080, 1632) 1371555442 -5.345078885556665 treat image : temp/1752211948_2870100_1371555441_b1f8cd99853cd48f6f36c780d4ef8564.jpg resize: (1080, 1632) 1371555441 -5.344460903124071 treat image : temp/1752211948_2870100_1371555425_d333724b57dd62e0eab4a05815e33544.jpg resize: (1080, 1632) 1371555425 -5.346736835222583 treat image : temp/1752211948_2870100_1371555389_7638bfa8e167726b11576d2fc4ea492c.jpg resize: (1080, 1632) 1371555389 -5.357315056538397 treat image : temp/1752211948_2870100_1371555388_eeb2738e25046d89a33d1d8397a19a2b.jpg resize: (1080, 1632) 1371555388 -5.335691949770264 treat image : temp/1752211948_2870100_1371555095_a5d43325a69496deed68ca3618ee9a29.jpg resize: (1080, 1632) 1371555095 -5.337887969312808 treat image : temp/1752211948_2870100_1371555001_2004bbc427d4c0df48d13d72ed79b98c.jpg resize: (1080, 1632) 1371555001 -5.351641385671917 treat image : temp/1752211948_2870100_1371555000_27b5dd709bb5cd571ec1002660462ea2.jpg resize: (1080, 1632) 1371555000 -5.3420655667494845 treat image : temp/1752211948_2870100_1371554994_e52791bb08b265a914bbd21cd218744c.jpg resize: (1080, 1632) 1371554994 -5.345101346143826 treat image : temp/1752211948_2870100_1371554921_d866336e8495569ddadf2dbbd16b79a1.jpg resize: (1080, 1632) 1371554921 -5.337820990166174 treat image : temp/1752211948_2870100_1371554667_d12c38b0ed3fbf122a49114308daf13d.jpg resize: (1080, 1632) 1371554667 -5.341618463599792 treat image : temp/1752211948_2870100_1371554619_f789a1543c6611f88b15f4e1fdc4e89a.jpg resize: (1080, 1632) 1371554619 -5.354381739129186 treat image : temp/1752211948_2870100_1371554541_878615416847aa8260297c40edd9fae9.jpg resize: (1080, 1632) 1371554541 -5.344541262115788 treat image : temp/1752211948_2870100_1371554520_f41ea1738e3b8590aaa6390fc469f3fa.jpg resize: (1080, 1632) 1371554520 -5.3363086320553395 treat image : temp/1752211948_2870100_1371554465_b144bb0aa7fa5eeb8ea89b4b0e226890.jpg resize: (1080, 1632) 1371554465 -5.335651964414591 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.013664007186889648 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.036949872970581055 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06796383857727051 save missing photos in datou_result : time spend for datou_step_exec : 15.040034055709839 time spend to save output : 0.12331581115722656 total time spend for step 1 : 15.163349866867065 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.65user 3.71system 0:19.96elapsed 86%CPU (0avgtext+0avgdata 139872maxresident)k 96inputs+10416outputs (22major+250870minor)pagefaults 0swaps