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 : 1564897 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 updating current state to 1 we have a portfolio with more photos than limit : 2917>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1564897/ 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.546008586883545 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 Sep 4 19:02: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/1757005347_1564897_1381473820_924b35d273de5e9dbb547a25edb8d8bc_91487792.jpg resize: (1080, 1632) 1381473820 -4.711664192076412 treat image : temp/1757005347_1564897_1381473817_c03478f4b7142b9aacaba18c25c0cd79_32328581.jpg resize: (1080, 1632) 1381473817 -5.528595858042218 treat image : temp/1757005347_1564897_1381473814_cb7b819c04aec696cc7b295db9303742_56448229.jpg resize: (1080, 1632) 1381473814 -3.7199709656653543 treat image : temp/1757005347_1564897_1381473811_7137316ccee4794de1873aee1a41ed89_4232630.jpg resize: (1080, 1632) 1381473811 0.2577205532886373 treat image : temp/1757005347_1564897_1381473150_196912c56be2c29501a47cb028f405cc_89953723.jpg resize: (1080, 1632) 1381473150 -5.017173075390239 treat image : temp/1757005347_1564897_1381473146_b37e31918393363d5b1845cf4e335b56_6992705.jpg resize: (1080, 1632) 1381473146 -4.882228083156541 treat image : temp/1757005347_1564897_1381473142_7c63e47c398cf184bb5c907183252ef8_50919838.jpg resize: (1080, 1632) 1381473142 -4.33796691864737 treat image : temp/1757005347_1564897_1381473138_6e161edb57c1f58b719607598ec8b779_90168999.jpg resize: (1080, 1632) 1381473138 -5.324732285103844 treat image : temp/1757005347_1564897_1381473134_ed11650e80b8d625e7b6385430d880cf_33952721.jpg resize: (1080, 1632) 1381473134 -4.850931914684313 treat image : temp/1757005347_1564897_1381473130_911ed5bb2e8f8e8ddb03746a1d1ab8b1_1198338.jpg resize: (1080, 1632) 1381473130 -4.6604067562422316 treat image : temp/1757005347_1564897_1381472695_81060895cc2f77d609090c7057431633_58323715.jpg resize: (1080, 1632) 1381472695 -0.6986227097642532 treat image : temp/1757005347_1564897_1381472693_c7850b0888ad33e52106dbbffc84210a_79188234.jpg resize: (1080, 1632) 1381472693 -2.260091351270921 treat image : temp/1757005347_1564897_1381472691_2efc704a34964bbdca4cca6df3e540d4_42209736.jpg resize: (1080, 1632) 1381472691 -4.267362630978481 treat image : temp/1757005347_1564897_1381446022_242af4b9b97470ad74ee4c5880215672_86421864.jpg resize: (1080, 1632) 1381446022 -5.6710043828296435 treat image : temp/1757005347_1564897_1381446021_66b76e01cb8939ec19848dcef2236227_9028661.jpg resize: (1080, 1632) 1381446021 -5.543616717548618 treat image : temp/1757005347_1564897_1381446007_19ef8b5295f9a1ab85152db886597ed6_80725378.jpg resize: (1080, 1632) 1381446007 -5.455568936177312 treat image : temp/1757005347_1564897_1381446006_8dc1ce03c37a1425e2a9b402f11e1f37_41332275.jpg resize: (1080, 1632) 1381446006 -5.42559102658057 treat image : temp/1757005347_1564897_1381446005_c4ad82619501b54721a67aa19274f1e5_21950720.jpg resize: (1080, 1632) 1381446005 -3.147753456944878 treat image : temp/1757005347_1564897_1381446004_3e4b0427d7877c019bc2622d6f83efe4_54918491.jpg resize: (1080, 1632) 1381446004 -1.5379031748335115 treat image : temp/1757005347_1564897_1381446003_d02efc292de0d80382499b4529bf7df1_81909452.jpg resize: (1080, 1632) 1381446003 -1.369462649478311 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.031240224838256836 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.03160238265991211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03482961654663086 save missing photos in datou_result : time spend for datou_step_exec : 13.23459792137146 time spend to save output : 0.11248278617858887 total time spend for step 1 : 13.347080707550049 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 1.31system 0:18.35elapsed 84%CPU (0avgtext+0avgdata 140088maxresident)k 128inputs+8672outputs (17major+114366minor)pagefaults 0swaps