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 : 2903236 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 : 706>100 please execute split_portfolio.py -i 26552212 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3666578'] with mtr_portfolio_ids : ['26552212'] and first list_photo_ids : [] new path : /proc/2903236/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 2.093223810195923 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 Sep 5 03:32: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/1757035947_2903236_1381611631_5760a29cf1823bdca9b3d11fd3620bbd_95494177.jpg resize: (1080, 1632) 1381611631 -1.4577356437692208 treat image : temp/1757035947_2903236_1381611630_1ee305498328abfa4e2c366c46fa637f_61095104.jpg resize: (1080, 1632) 1381611630 -2.300406797303014 treat image : temp/1757035947_2903236_1381611629_364e90454d91fad58670cb77fc7cff7c_65094392.jpg resize: (1080, 1632) 1381611629 -4.9897154456745465 treat image : temp/1757035947_2903236_1381611628_9a98819807df4066dc9b576b5ce44707_33633571.jpg resize: (1080, 1632) 1381611628 -4.153970971414192 treat image : temp/1757035947_2903236_1381611627_a5779357e935e2cdbe4a00c50fbf02cf_33021629.jpg resize: (1080, 1632) 1381611627 -5.954891698211567 treat image : temp/1757035947_2903236_1381611626_f97e9801a018e04582a5a2c6999f9c61_20210446.jpg resize: (1080, 1632) 1381611626 -5.988051878975392 treat image : temp/1757035947_2903236_1381611578_898e2351066d988c913026e122feece0_65565795.jpg resize: (1080, 1632) 1381611578 -4.1254685985436526 treat image : temp/1757035947_2903236_1381611577_31cfbafa332f14f752c155ce4fe864e4_5579242.jpg resize: (1080, 1632) 1381611577 -3.7044083510537207 treat image : temp/1757035947_2903236_1381611576_eb4c453f364aa361de4aa7813977c3c5_68290003.jpg resize: (1080, 1632) 1381611576 -4.829753408650998 treat image : temp/1757035947_2903236_1381611575_25981ebc381c43075d06dd9a38b559a1_49647483.jpg resize: (1080, 1632) 1381611575 -4.486346607337364 treat image : temp/1757035947_2903236_1381611574_b13b8b2112559e36c6b068ab1ae09d99_458662.jpg resize: (1080, 1632) 1381611574 -1.073548844068733 treat image : temp/1757035947_2903236_1381611534_4d17dc80c9baffbe2e3d76c9aafaff9e_37836021.jpg resize: (1080, 1632) 1381611534 -4.859831365589855 treat image : temp/1757035947_2903236_1381611532_d7cd275beb328b99ff76dd24e24e958e_17335128.jpg resize: (1080, 1632) 1381611532 -4.307267446775207 treat image : temp/1757035947_2903236_1381611531_7209d8a28343593d9805e0f16986ad42_3976761.jpg resize: (1080, 1632) 1381611531 -4.442825303936283 treat image : temp/1757035947_2903236_1381611530_71b756bc4dedcfbaab7f14d7ab54e465_37520779.jpg resize: (1080, 1632) 1381611530 -5.578942655554045 treat image : temp/1757035947_2903236_1381611529_062b4128bdfd6fcb085cda856ba6ab72_98574300.jpg resize: (1080, 1632) 1381611529 -5.510613767510055 treat image : temp/1757035947_2903236_1381611528_6fff0155d13301b5d541efa47c3aad63_22958467.jpg resize: (1080, 1632) 1381611528 -5.24349496444752 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 : 17 time used for this insertion : 0.014795064926147461 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.011905908584594727 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.01620626449584961 save missing photos in datou_result : time spend for datou_step_exec : 13.703539371490479 time spend to save output : 0.04798436164855957 total time spend for step 1 : 13.751523733139038 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 12.38user 4.08system 0:17.37elapsed 94%CPU (0avgtext+0avgdata 140012maxresident)k 360inputs+8216outputs (0major+230413minor)pagefaults 0swaps