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 : 1838099 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 : 1017>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1838099/ 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.405017852783203 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 Wed May 21 09:02:28 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/1747810946_1838099_1359979232_6c10262f811ce3d125e5f2ef43a30621.jpg resize: (1080, 1632) 1359979232 -5.54545466311011 treat image : temp/1747810946_1838099_1359979176_ef05e2700e731181ee9ccd1ed9810233.jpg resize: (1080, 1632) 1359979176 -5.385643823329186 treat image : temp/1747810946_1838099_1359979168_306986f64d0b649e1d696c7060187775.jpg resize: (1080, 1632) 1359979168 -5.889304841992644 treat image : temp/1747810946_1838099_1359979160_3d17169a013e1711b161838bbf7aaa8f.jpg resize: (1080, 1632) 1359979160 -5.634577751524756 treat image : temp/1747810946_1838099_1359979154_405a9a6dcf2cc879258ea6049425c538.jpg resize: (1080, 1632) 1359979154 -5.508693439720489 treat image : temp/1747810946_1838099_1359979148_a48a79153337b300e80ecdca6013c869.jpg resize: (1080, 1632) 1359979148 -3.0050507826561303 treat image : temp/1747810946_1838099_1359979087_02bc42977b78b8aaa5d8a0211ea5c876.jpg resize: (1080, 1632) 1359979087 -3.653755073711761 treat image : temp/1747810946_1838099_1359979078_a4ba7ca3c8983cbecd04fbcf8185fb05.jpg resize: (1080, 1632) 1359979078 -5.949124412196603 treat image : temp/1747810946_1838099_1359979075_dc4f86998f8509b13768cacf50037e77.jpg resize: (1080, 1632) 1359979075 -3.3038116667546147 treat image : temp/1747810946_1838099_1359979073_9cef3292e1d4a485f5c3e4010e4bbee9.jpg resize: (1080, 1632) 1359979073 -5.563171711245407 treat image : temp/1747810946_1838099_1359979069_4fe63812f32d8bdb3ecae4e45fd4204e.jpg resize: (1080, 1632) 1359979069 -5.417533879292824 treat image : temp/1747810946_1838099_1359978973_bde98603e659b92b175a4c0f177522b2.jpg resize: (1080, 1632) 1359978973 -0.6428897425510182 treat image : temp/1747810946_1838099_1359978932_825986dc502232b961bfa9b8ca0f9b28.jpg resize: (1080, 1632) 1359978932 -2.015323059300411 treat image : temp/1747810946_1838099_1359978918_d42014fde45e84d6ffed9247e1833063.jpg resize: (1080, 1632) 1359978918 -2.990961263202403 treat image : temp/1747810946_1838099_1359978905_43fd9b018e14363e063bac1f0813f23a.jpg resize: (1080, 1632) 1359978905 -5.067117722941705 treat image : temp/1747810946_1838099_1359967622_b3f3a3efc862e73df7557f5f5c80bcf1.jpg resize: (1080, 1632) 1359967622 -6.548639032866458 treat image : temp/1747810946_1838099_1359967435_68054ede73326244783855b80923db8b.jpg resize: (1080, 1632) 1359967435 -5.562922233862339 treat image : temp/1747810946_1838099_1359967432_1b18098e69d006e5fcdbe02b2677c544.jpg resize: (1080, 1632) 1359967432 -5.338020060758977 treat image : temp/1747810946_1838099_1359967429_8d8119d15996e59f24fdb2090f9a3a91.jpg resize: (1080, 1632) 1359967429 -5.198332181196903 treat image : temp/1747810946_1838099_1359967397_e292e209b02ff0310e8fef62654cc438.jpg resize: (1080, 1632) 1359967397 -1.4578416455359104 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.01579904556274414 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.14200615882873535 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.19760966300964355 save missing photos in datou_result : time spend for datou_step_exec : 16.634568214416504 time spend to save output : 0.36006760597229004 total time spend for step 1 : 16.994635820388794 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.56user 4.52system 0:21.15elapsed 90%CPU (0avgtext+0avgdata 138836maxresident)k 0inputs+9528outputs (16major+236524minor)pagefaults 0swaps