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 : 3360570 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 : 2405>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3360570/ 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.2101967334747314 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 Tue May 13 16:17: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/1747145848_3360570_1357861941_df1b48d521e0144ec45d54dbc5d0eaa8.jpg resize: (1080, 1632) 1357861941 -5.968726307715173 treat image : temp/1747145848_3360570_1357861931_da15ac6bbe298966c7c7ae75c5d55072.jpg resize: (1080, 1632) 1357861931 -4.033739470531325 treat image : temp/1747145848_3360570_1357861927_196672d4d59f492eeba6f37f7c3cc240.jpg resize: (1080, 1632) 1357861927 -3.779219835157932 treat image : temp/1747145848_3360570_1357861917_e08c1a0ece7266c229e7e050ed7a226b.jpg resize: (1080, 1632) 1357861917 -4.909321638182658 treat image : temp/1747145848_3360570_1357861900_50826f14ad9d22654dee974389014036.jpg resize: (1080, 1632) 1357861900 -4.437501084475065 treat image : temp/1747145848_3360570_1357861895_ea4f1c1d062bd50ba96456f0c5cb112b.jpg resize: (1080, 1632) 1357861895 -5.511169226873985 treat image : temp/1747145848_3360570_1357861863_c1c901ed6dda09d89b116058b8da11d4.jpg resize: (1080, 1632) 1357861863 -5.687850775790108 treat image : temp/1747145848_3360570_1357861857_732d34bb1d2411e53e9c7cab607e4e62.jpg resize: (1080, 1632) 1357861857 -1.2415205307185355 treat image : temp/1747145848_3360570_1357861813_7e4bbc1fe707d3ee12c7b64be6859a42.jpg resize: (1080, 1632) 1357861813 -6.022788661002706 treat image : temp/1747145848_3360570_1357861768_eefd987feeacb854ee9e59cedda0b2ca.jpg resize: (1080, 1632) 1357861768 -3.540573046007629 treat image : temp/1747145848_3360570_1357861765_c6c0e3312755a59fd6399c6b545403bd.jpg resize: (1080, 1632) 1357861765 -6.186510758760917 treat image : temp/1747145848_3360570_1357861761_0c409a65349eff0c0c341c2b07dee851.jpg resize: (1080, 1632) 1357861761 -5.884065632133117 treat image : temp/1747145848_3360570_1357861758_c2622a26a2a45e97e46a9646c607f7d8.jpg resize: (1080, 1632) 1357861758 -5.027503939112012 treat image : temp/1747145848_3360570_1357861754_7015212f009862dac99e87ae755037cd.jpg resize: (1080, 1632) 1357861754 -6.025007400478486 treat image : temp/1747145848_3360570_1357861751_4e0cea418e18f3327de30563e8098dd7.jpg resize: (1080, 1632) 1357861751 -5.645016429463131 treat image : temp/1747145848_3360570_1357861718_69d3ffecb37c39723ab7d951699e6d2a.jpg resize: (1080, 1632) 1357861718 -1.7191438935419372 treat image : temp/1747145848_3360570_1357861713_1e415d0acbb32f50f0a8238b47716f8d.jpg resize: (1080, 1632) 1357861713 -3.7898886711828963 treat image : temp/1747145848_3360570_1357861710_b835af5b3979bf12f85ae52544ba31c7.jpg resize: (1080, 1632) 1357861710 -5.402724522872052 treat image : temp/1747145848_3360570_1357861706_c7f3b30c291f71ee47324793df516bc6.jpg resize: (1080, 1632) 1357861706 -5.480770560890148 treat image : temp/1747145848_3360570_1357861702_b6d572c911eeccf12bc571629402bfb3.jpg resize: (1080, 1632) 1357861702 -5.2707663070012885 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.014183521270751953 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.013639688491821289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017055511474609375 save missing photos in datou_result : time spend for datou_step_exec : 16.92327094078064 time spend to save output : 0.05006003379821777 total time spend for step 1 : 16.973330974578857 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.30user 5.15system 0:21.58elapsed 90%CPU (0avgtext+0avgdata 138448maxresident)k 336inputs+10112outputs (8major+257030minor)pagefaults 0swaps