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 : 636197 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 : 5397>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/636197/ 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.7750768661499023 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 17 16:07: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/1752761247_636197_1372454813_283ac2f3067c16407fde63174008fc77.jpg resize: (1080, 1632) 1372454813 -3.015585079770433 treat image : temp/1752761247_636197_1372454795_42bb22fd63c5adbed24469e64390d6ac.jpg resize: (1080, 1632) 1372454795 -4.570709314191712 treat image : temp/1752761247_636197_1372454760_b87176d74376d8d24db55560ff5ba544.jpg resize: (1080, 1632) 1372454760 -4.632735011417088 treat image : temp/1752761247_636197_1372454718_6d186c4b84786d3771450da20e740b33.jpg resize: (1080, 1632) 1372454718 0.11220571766281276 treat image : temp/1752761247_636197_1372454659_bb0f813443da82a76fb15551dea6327d.jpg resize: (1080, 1632) 1372454659 -2.392509040030138 treat image : temp/1752761247_636197_1372454621_0ea51a8a42de6bba48ee0f44c6f97356.jpg resize: (1080, 1632) 1372454621 -2.408822972404243 treat image : temp/1752761247_636197_1372339180_4da4156fbe9ff2ee86872a962b2fec8a.jpg resize: (1080, 1632) 1372339180 -5.8702972565420435 treat image : temp/1752761247_636197_1372339166_910ace1b1713d0b9d1856bfaba7168ee.jpg resize: (1080, 1632) 1372339166 -5.470258733003461 treat image : temp/1752761247_636197_1372339164_cdc0750a858fce081cc91fc7750b9184.jpg resize: (1080, 1632) 1372339164 -5.489623648499105 treat image : temp/1752761247_636197_1372339162_9b54386fd7ab86b82fc81fbf4719ca6f.jpg resize: (1080, 1632) 1372339162 -5.48109510395792 treat image : temp/1752761247_636197_1372339160_687f2d34156ffc130542d46ce5c2170b.jpg resize: (1080, 1632) 1372339160 -5.481871003017947 treat image : temp/1752761247_636197_1372339159_84f2130d3f796ff98b32e7c0382fc3d6.jpg resize: (1080, 1632) 1372339159 -5.459931467463168 treat image : temp/1752761247_636197_1372339157_4b90afe69fee02aee8bf77ce0e026863.jpg resize: (1080, 1632) 1372339157 -5.468581553106418 treat image : temp/1752761247_636197_1372339127_77d16ab7711402ca98e02795eaf9d611.jpg resize: (1080, 1632) 1372339127 -3.964498785688592 treat image : temp/1752761247_636197_1372339103_1feb94310559aeb4e57df23701d1e9ff.jpg resize: (1080, 1632) 1372339103 -2.79510525048388 treat image : temp/1752761247_636197_1372339100_c25faaac795363cf0fbee94ce4b8de07.jpg resize: (1080, 1632) 1372339100 -1.8939389099400639 treat image : temp/1752761247_636197_1372339098_60111a4dcf9d5c12b080ed33e6d79067.jpg resize: (1080, 1632) 1372339098 -2.885105692173359 treat image : temp/1752761247_636197_1372339096_a5bef2c865e7c9be21670d190cc67787.jpg resize: (1080, 1632) 1372339096 -2.8885689063601863 treat image : temp/1752761247_636197_1372339093_7b4971539a257a99f7aabac458fcd4c1.jpg resize: (1080, 1632) 1372339093 -2.8667891750465757 treat image : temp/1752761247_636197_1372339092_022a2b745436ac69bc969140bf856d05.jpg resize: (1080, 1632) 1372339092 -1.9388824862529888 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.018841981887817383 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 : 7.018099069595337 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0279388427734375 save missing photos in datou_result : time spend for datou_step_exec : 16.237515687942505 time spend to save output : 7.084757566452026 total time spend for step 1 : 23.32227325439453 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 4.51system 0:29.02elapsed 64%CPU (0avgtext+0avgdata 137908maxresident)k 0inputs+8512outputs (5major+253215minor)pagefaults 0swaps