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 : 664443 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 : 9713>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/664443/ 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.1964547634124756 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 23:22:29 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/1752268947_664443_1371734250_7347b4b47ede965c838e80648309d6da.jpg resize: (1080, 1632) 1371734250 -5.326441136351064 treat image : temp/1752268947_664443_1371734248_46356c922f9d94b336a98a346425828b.jpg resize: (1080, 1632) 1371734248 -5.332510665444526 treat image : temp/1752268947_664443_1371734245_733fecfc9f8c4a716f101ec5142eb23e.jpg resize: (1080, 1632) 1371734245 -5.3432601629491225 treat image : temp/1752268947_664443_1371734224_cb3034b44cf24ebcaa1e0d06b0f1f989.jpg resize: (1080, 1632) 1371734224 -5.339658630362216 treat image : temp/1752268947_664443_1371734194_bbaad485e8ed2e23bc22cdebcd209e60.jpg resize: (1080, 1632) 1371734194 -5.337901702343447 treat image : temp/1752268947_664443_1371734163_c8825424d3495601392f1e7a661c83d0.jpg resize: (1080, 1632) 1371734163 -5.336253630562115 treat image : temp/1752268947_664443_1371734052_0b3905f9709627b38882125431a1355c.jpg resize: (1080, 1632) 1371734052 -2.3459309489085833 treat image : temp/1752268947_664443_1371734028_d1ad2459a497f21d0c7d8cf1b87ae775.jpg resize: (1080, 1632) 1371734028 -2.331259746195689 treat image : temp/1752268947_664443_1371734005_297870bf270c1a621f73b392a018e2db.jpg resize: (1080, 1632) 1371734005 -1.9124470873137964 treat image : temp/1752268947_664443_1371733979_d261905e569e9646ffcabcaa3a5e8bd0.jpg resize: (1080, 1632) 1371733979 -3.558698143551333 treat image : temp/1752268947_664443_1371733953_f619c03017024780d4726da45be4bcf5.jpg resize: (1080, 1632) 1371733953 -3.5864698632267817 treat image : temp/1752268947_664443_1371733920_a87547856c04335e10fc5f90f11b9fad.jpg resize: (1080, 1632) 1371733920 -3.6051093107263568 treat image : temp/1752268947_664443_1371733261_805ba48d92124166a1141f78720df925.jpg resize: (1080, 1632) 1371733261 -4.770495288440024 treat image : temp/1752268947_664443_1371733241_155b6b2395cd453438f78ef3856e3126.jpg resize: (1080, 1632) 1371733241 -5.338075722606486 treat image : temp/1752268947_664443_1371733213_6a5b034451ba93ad0a9e581872868aac.jpg resize: (1080, 1632) 1371733213 -5.344831053973778 treat image : temp/1752268947_664443_1371733194_8b4b42c8203614a910c743bb75eeea1d.jpg resize: (1080, 1632) 1371733194 -6.3902138299455435 treat image : temp/1752268947_664443_1371733143_16df8f11e226f907b1f053868acaf691.jpg resize: (1080, 1632) 1371733143 -4.394326041053881 treat image : temp/1752268947_664443_1371733115_c6ef165bf3df0be145089bb860b3da77.jpg resize: (1080, 1632) 1371733115 -1.9601170974421818 treat image : temp/1752268947_664443_1371733088_3f2209877eabd0c854df45dc9835309e.jpg resize: (1080, 1632) 1371733088 -3.257261559136906 treat image : temp/1752268947_664443_1371733063_14c3b57805a65b06e8f8460f8714f357.jpg resize: (1080, 1632) 1371733063 -3.2966412287494733 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.014548063278198242 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.014261722564697266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018570899963378906 save missing photos in datou_result : time spend for datou_step_exec : 16.0384681224823 time spend to save output : 0.05290842056274414 total time spend for step 1 : 16.091376543045044 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.28user 4.05system 0:20.58elapsed 89%CPU (0avgtext+0avgdata 139732maxresident)k 16inputs+8960outputs (10major+249806minor)pagefaults 0swaps