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 : 2702603 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 : 1998>100 please execute split_portfolio.py -i 20278395 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/2702603/ 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.2643215656280518 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 Feb 6 08:27: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/1738826848_2702603_1335157893_ea152c4e6b2d2e4e273f4a035ce80930.jpg resize: (1080, 1632) 1335157893 -5.595441676859334 treat image : temp/1738826848_2702603_1335157829_8505ec92b85e80aea4466c89102cdfdf.jpg resize: (1080, 1632) 1335157829 -4.438105868202486 treat image : temp/1738826848_2702603_1335157780_dbc172923f4cb58f11b43f7639f9b0dc.jpg resize: (1080, 1632) 1335157780 -6.039012670477702 treat image : temp/1738826848_2702603_1335157749_cef5eb1f2d3de024357c98ad83010b3f.jpg resize: (1080, 1632) 1335157749 -6.642677074840173 treat image : temp/1738826848_2702603_1335157693_eab55eddddec20a3b6fa89edff72f9fd.jpg resize: (1080, 1632) 1335157693 -3.3969834950260323 treat image : temp/1738826848_2702603_1335157231_d9c691721da47912d06c12175632ff36.jpg resize: (1080, 1632) 1335157231 -2.3897631312027534 treat image : temp/1738826848_2702603_1335157220_d20143eeb8c2165429bda684598ff46a.jpg resize: (1080, 1632) 1335157220 -3.8752053804839717 treat image : temp/1738826848_2702603_1335157215_49bfe6e18f634fc941d785ade135bf5c.jpg resize: (1080, 1632) 1335157215 -5.888661845756573 treat image : temp/1738826848_2702603_1335157211_fb529e633e4e0778c53dd1194901a8e4.jpg resize: (1080, 1632) 1335157211 -6.071375038242644 treat image : temp/1738826848_2702603_1335157209_0b1a8c1f5f4edc402853cd7f8e14ec45.jpg resize: (1080, 1632) 1335157209 -6.201986106773729 treat image : temp/1738826848_2702603_1335157200_1738d1f60a6aa0995108f9f5a17db184.jpg resize: (1080, 1632) 1335157200 -5.632622299852318 treat image : temp/1738826848_2702603_1335157172_3a4aa12b71cf1e141c2d995d1c39373e.jpg resize: (1080, 1632) 1335157172 -5.7275375797494075 treat image : temp/1738826848_2702603_1335157159_dd80641233b03edc56c3b8c753ba2a0b.jpg resize: (1080, 1632) 1335157159 -6.282561907352113 treat image : temp/1738826848_2702603_1335157092_a8b541f2e27a419bf2baa12a8483dfcc.jpg resize: (1080, 1632) 1335157092 -6.188540543277697 treat image : temp/1738826848_2702603_1335157050_0fa64addbf39f480b9686a8b7f1cc4e4.jpg resize: (1080, 1632) 1335157050 -3.605568964161277 treat image : temp/1738826848_2702603_1335156485_8e6ca2ef7ecc9844bfe1add730b73cfa.jpg resize: (1080, 1632) 1335156485 -2.4670682921511644 treat image : temp/1738826848_2702603_1335156413_1c58489764982aaa089137dd290b9cdf.jpg resize: (1080, 1632) 1335156413 -2.4367368781852154 treat image : temp/1738826848_2702603_1335156336_dc1f7ec066a94e6c75cb302e9e8a89f5.jpg resize: (1080, 1632) 1335156336 -6.568647195942936 treat image : temp/1738826848_2702603_1335156266_cca0b0cbcd69e6427f2b6868c26a3a0e.jpg resize: (1080, 1632) 1335156266 -4.472886116003603 treat image : temp/1738826848_2702603_1335156181_e8168a9881f8c3e60cf591744ce3c1c7.jpg resize: (1080, 1632) 1335156181 -6.40433935019402 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.19809627532958984 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.01288151741027832 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014196395874023438 save missing photos in datou_result : time spend for datou_step_exec : 13.084940910339355 time spend to save output : 0.22986865043640137 total time spend for step 1 : 13.314809560775757 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.88user 1.73system 0:19.84elapsed 78%CPU (0avgtext+0avgdata 140176maxresident)k 16inputs+11008outputs (3major+119430minor)pagefaults 0swaps