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 : 1932239 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 : 2866>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/1932239/ 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.020366668701172 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 Fri Mar 21 22:27: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/1742592449_1932239_1346251892_0a3aa6829a135558c585f727d9fd123b.jpg resize: (1080, 1632) 1346251892 -4.740169437035675 treat image : temp/1742592449_1932239_1346251866_bd4d33545967a46f3ae5130650fae172.jpg resize: (1080, 1632) 1346251866 -5.737034666178307 treat image : temp/1742592449_1932239_1346251808_d17913ed7abdf2692a0d7d9a3c4d3c56.jpg resize: (1080, 1632) 1346251808 -6.31310436277634 treat image : temp/1742592449_1932239_1346251759_24471633b298f9a7ee2b5fcb29d65884.jpg resize: (1080, 1632) 1346251759 -6.256113560868732 treat image : temp/1742592449_1932239_1346251749_be5f4b72fe223e493f4531718d307640.jpg resize: (1080, 1632) 1346251749 -5.888046199190968 treat image : temp/1742592449_1932239_1346251720_d864125fbcc4a1e237d8be1b65a99225.jpg resize: (1080, 1632) 1346251720 -2.4161644083826275 treat image : temp/1742592449_1932239_1346251643_1623c5bcfed695c50c684a3b35a71cf7.jpg resize: (1080, 1632) 1346251643 -2.438326739561705 treat image : temp/1742592449_1932239_1346251605_7cb79b5430680862846b58b59ec4c5c7.jpg resize: (1080, 1632) 1346251605 -2.0343652524718525 treat image : temp/1742592449_1932239_1346251564_76b7988a87e8e4ffcbf5d3d4858c8da2.jpg resize: (1080, 1632) 1346251564 -5.536922510345479 treat image : temp/1742592449_1932239_1346251538_a1f32c884d4d83db88fb6d71dfe6364b.jpg resize: (1080, 1632) 1346251538 -6.720223899389696 treat image : temp/1742592449_1932239_1346251513_b307bd38788e2e0f3094131a3aaceeb9.jpg resize: (1080, 1632) 1346251513 -4.222565753215175 treat image : temp/1742592449_1932239_1346251493_3f6c0c9f1b79c6dab75110b0373c59bb.jpg resize: (1080, 1632) 1346251493 -5.840226244932478 treat image : temp/1742592449_1932239_1346251384_7733909650cf1dddc0129a6f15078c19.jpg resize: (1080, 1632) 1346251384 -4.836872861501003 treat image : temp/1742592449_1932239_1346251360_168e450fda1788b93d4a72a891678000.jpg resize: (1080, 1632) 1346251360 -6.602239031523598 treat image : temp/1742592449_1932239_1346251345_820555c040273fd1e4839d37bfeedd85.jpg resize: (1080, 1632) 1346251345 -4.5772616736700815 treat image : temp/1742592449_1932239_1346251327_76514232ba30fec420af1dbdaee34155.jpg resize: (1080, 1632) 1346251327 -6.116755701886515 treat image : temp/1742592449_1932239_1346251294_dbcf34a4e1055b95dac7b523e736a7c2.jpg resize: (1080, 1632) 1346251294 -6.02342894557971 treat image : temp/1742592449_1932239_1346251259_0a93e5357adc4052d69413a8573fcc75.jpg resize: (1080, 1632) 1346251259 -5.610295488591894 treat image : temp/1742592449_1932239_1346251094_63be0f2ae7ee7c2677b75e5033eaeba5.jpg resize: (1080, 1632) 1346251094 -5.535901082558247 treat image : temp/1742592449_1932239_1346251087_6403f7d2c5eda650b02d1eb067c9bbe8.jpg resize: (1080, 1632) 1346251087 -4.686721806300069 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.013141870498657227 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.013519525527954102 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018449068069458008 save missing photos in datou_result : time spend for datou_step_exec : 17.377687692642212 time spend to save output : 0.04990243911743164 total time spend for step 1 : 17.427590131759644 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.74user 5.18system 0:22.68elapsed 87%CPU (0avgtext+0avgdata 137108maxresident)k 0inputs+11128outputs (8major+259942minor)pagefaults 0swaps