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 : 1406245 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 : 3076>100 please execute split_portfolio.py -i 22126404 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2730774'] with mtr_portfolio_ids : ['22126404'] and first list_photo_ids : [] new path : /proc/1406245/ 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.221957206726074 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 Apr 9 14:22:31 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/1744201347_1406245_1350663354_a202bffc64cb11c18e587cec52547817.jpg resize: (1080, 1632) 1350663354 -5.33373423163509 treat image : temp/1744201347_1406245_1350663348_c41d2c9e81ce7423d258178e86ea4522.jpg resize: (1080, 1632) 1350663348 -5.789150736408787 treat image : temp/1744201347_1406245_1350663340_acdcd85f5d2004d6746d9662910b3fd9.jpg resize: (1080, 1632) 1350663340 -5.4885697737648655 treat image : temp/1744201347_1406245_1350663277_318b1b8e8f22d46861571547012bcb6b.jpg resize: (1080, 1632) 1350663277 -1.2224974011324983 treat image : temp/1744201347_1406245_1350663272_c5efd3abddd1b3200c9f8a316ed7308f.jpg resize: (1080, 1632) 1350663272 -3.7004892842276567 treat image : temp/1744201347_1406245_1350663266_4c97519efb443fd895e2a8785955b184.jpg resize: (1080, 1632) 1350663266 -4.030822857204639 treat image : temp/1744201347_1406245_1350663244_c553092b15f7438aff9239f20751acb3.jpg resize: (1080, 1632) 1350663244 -5.393721393869445 treat image : temp/1744201347_1406245_1350663238_4f0d677dd469e8bfbd87a96884a19471.jpg resize: (1080, 1632) 1350663238 -4.919336875955052 treat image : temp/1744201347_1406245_1350663234_a047021cadf031b4bb20ba843688cd91.jpg resize: (1080, 1632) 1350663234 -2.4901061223872314 treat image : temp/1744201347_1406245_1350663231_9089b6b97f1fc43f2e65c6746f314e4c.jpg resize: (1080, 1632) 1350663231 -4.5805342490690135 treat image : temp/1744201347_1406245_1350663228_4a18c7599d2233e3cc221ff49c48fcf0.jpg resize: (1080, 1632) 1350663228 -1.8798021965098364 treat image : temp/1744201347_1406245_1350663202_4d84962bb6038d0f72c8a5c5a59211bc.jpg resize: (1080, 1632) 1350663202 -4.755553666774151 treat image : temp/1744201347_1406245_1350663199_7785ba702e13fb4e4ea16fcd4ee76a8f.jpg resize: (1080, 1632) 1350663199 -6.089535663472669 treat image : temp/1744201347_1406245_1350663196_ad60b0f6b66c07b1f5d3e2a3592fcdff.jpg resize: (1080, 1632) 1350663196 -6.136336364386406 treat image : temp/1744201347_1406245_1350663192_05317bc7e965ae3614d5a7ab5d44cc57.jpg resize: (1080, 1632) 1350663192 -4.3956684899879575 treat image : temp/1744201347_1406245_1350663187_ac20bf762f66e2e681f9896ebf1cc847.jpg resize: (1080, 1632) 1350663187 -5.1642318586972005 treat image : temp/1744201347_1406245_1350663182_66889bcf2374f30396102f4e2cba6340.jpg resize: (1080, 1632) 1350663182 -5.81792043362973 treat image : temp/1744201347_1406245_1350663159_98b0ff89ac32c7ff131c5c4380ee19db.jpg resize: (1080, 1632) 1350663159 -5.940299245605745 treat image : temp/1744201347_1406245_1350663145_63b0c5d4fed385032b25742551729a42.jpg resize: (1080, 1632) 1350663145 -1.2507620663860068 treat image : temp/1744201347_1406245_1350663141_c89157fed75bb229b347416b6a007bfd.jpg resize: (1080, 1632) 1350663141 -6.077457863485318 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.1148524284362793 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.014897584915161133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01588129997253418 save missing photos in datou_result : time spend for datou_step_exec : 18.726659774780273 time spend to save output : 0.15083718299865723 total time spend for step 1 : 18.87749695777893 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.55user 5.64system 0:24.78elapsed 85%CPU (0avgtext+0avgdata 137804maxresident)k 232inputs+9776outputs (8major+259661minor)pagefaults 0swaps