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 : 1192740 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 : 4490>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/1192740/ 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 : 3.430948257446289 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 Sun Apr 6 21:22: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/1743967347_1192740_1350137319_3efa321d6e2bd75d351975df0d5f6265.jpg resize: (1080, 1632) 1350137319 -5.994620642825282 treat image : temp/1743967347_1192740_1350137284_383c01eb9102ea8741ea3b3d42acaad3.jpg resize: (1080, 1632) 1350137284 -6.076725657702962 treat image : temp/1743967347_1192740_1350137280_f9686d28092b7540b9de823abfecadf5.jpg resize: (1080, 1632) 1350137280 -5.937648406775078 treat image : temp/1743967347_1192740_1350137276_96e19d1974c84a5343f8334e8cb7fb41.jpg resize: (1080, 1632) 1350137276 -3.6294210061465506 treat image : temp/1743967347_1192740_1350137272_c5fa16d55af27802e8fabf37cffad954.jpg resize: (1080, 1632) 1350137272 -1.6002361399170608 treat image : temp/1743967347_1192740_1350137238_1bc2958f0293203b7dcff19b366bf42f.jpg resize: (1080, 1632) 1350137238 -5.825121754821624 treat image : temp/1743967347_1192740_1350137234_13094ff2f13fd95ac71fd49f7a33c4bf.jpg resize: (1080, 1632) 1350137234 -6.2103301251103264 treat image : temp/1743967347_1192740_1350137231_bea3528606168d56ea6d493952805579.jpg resize: (1080, 1632) 1350137231 -5.6795054685164095 treat image : temp/1743967347_1192740_1350137229_4a0c3b5a1055c0299626a584f8d85311.jpg resize: (1080, 1632) 1350137229 -5.595609997163023 treat image : temp/1743967347_1192740_1350137226_a5781fe795d960df974d89d2e7003ca5.jpg resize: (1080, 1632) 1350137226 -5.789083434829198 treat image : temp/1743967347_1192740_1350137224_9a6603c0c6ac6be44fa7d4bf9aec656e.jpg resize: (1080, 1632) 1350137224 -5.997383795542897 treat image : temp/1743967347_1192740_1350137184_b6a59efa92daa11824376f229b27b388.jpg resize: (1080, 1632) 1350137184 -1.36750869475373 treat image : temp/1743967347_1192740_1350137182_bdd335e1f317cb16b1efbe7b53284c99.jpg resize: (1080, 1632) 1350137182 -1.7511146320083557 treat image : temp/1743967347_1192740_1350137178_204ce52e740f9648f19751bd52b95d48.jpg resize: (1080, 1632) 1350137178 -3.241424013952936 treat image : temp/1743967347_1192740_1350137174_afb40c1d36c4398e57841cb8b7bb6233.jpg resize: (1080, 1632) 1350137174 -5.5246104289980105 treat image : temp/1743967347_1192740_1350137139_7d793dec54c7c7e2ad222ad23bab77e5.jpg resize: (1080, 1632) 1350137139 -5.405480682448237 treat image : temp/1743967347_1192740_1350137136_436140972d00f6b4b63c41220680750a.jpg resize: (1080, 1632) 1350137136 -6.282666088237949 treat image : temp/1743967347_1192740_1350137133_3232c8e367ba744adf69566bec732927.jpg resize: (1080, 1632) 1350137133 -6.202740153394007 treat image : temp/1743967347_1192740_1350137100_9c68c7640489754a81e8575f11df2f22.jpg resize: (1080, 1632) 1350137100 -6.436587389512824 treat image : temp/1743967347_1192740_1350137096_7d6c5cd5b78a13ec90c992ed6fb52b7e.jpg resize: (1080, 1632) 1350137096 -5.264549919002717 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.013494014739990234 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.01190328598022461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.4879930019378662 save missing photos in datou_result : time spend for datou_step_exec : 16.14493751525879 time spend to save output : 0.5183298587799072 total time spend for step 1 : 16.663267374038696 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.71user 4.43system 0:23.04elapsed 83%CPU (0avgtext+0avgdata 140948maxresident)k 400inputs+10880outputs (9major+272656minor)pagefaults 0swaps