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 : 3076559 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 : 1337>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/3076559/ 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.467527151107788 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 Feb 7 10:42:29 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/1738921347_3076559_1335475269_e34ee75443719cf6e827ea50e6616a54.jpg resize: (1080, 1632) 1335475269 0.7262296530406338 treat image : temp/1738921347_3076559_1335475265_2eda9d74d10dd8e5035258037a0e1be7.jpg resize: (1080, 1632) 1335475265 -4.785829630221514 treat image : temp/1738921347_3076559_1335475260_4cf52439fb59ade270f8612ebcc1af0b.jpg resize: (1080, 1632) 1335475260 -5.866917471766709 treat image : temp/1738921347_3076559_1335475217_3767458846dbeeb92b4e2bbec0a78671.jpg resize: (1080, 1632) 1335475217 -4.969647466528266 treat image : temp/1738921347_3076559_1335474414_bc629f60bba3fe82cc6d566a2b7409db.jpg resize: (1080, 1632) 1335474414 -6.53647678723816 treat image : temp/1738921347_3076559_1335474408_9388976e0770b69c3c89e8a8ce048d8e.jpg resize: (1080, 1632) 1335474408 -6.318643203420382 treat image : temp/1738921347_3076559_1335474375_f117a015f7943d065a080a242435478a.jpg resize: (1080, 1632) 1335474375 -6.613766246403652 treat image : temp/1738921347_3076559_1335474372_35c873e569b0c157653ce15a525dda01.jpg resize: (1080, 1632) 1335474372 -6.493109921907131 treat image : temp/1738921347_3076559_1335474367_4e4b301d67eaa615f0e39329917d906a.jpg resize: (1080, 1632) 1335474367 -4.604688897605961 treat image : temp/1738921347_3076559_1335474352_8e65c82809444adc60beb0408ee20ccb.jpg resize: (1080, 1632) 1335474352 -6.316806723800983 treat image : temp/1738921347_3076559_1335474304_ffc64ec7d197f2399259e1c3c330cc66.jpg resize: (1080, 1632) 1335474304 -4.911245044443402 treat image : temp/1738921347_3076559_1335474298_96cb1705c91785e28ebfe0d5e5b4ef9c.jpg resize: (1080, 1632) 1335474298 -6.597876291344488 treat image : temp/1738921347_3076559_1335474293_2bf3ac4a0bc38ee3e230ad2076c41ffd.jpg resize: (1080, 1632) 1335474293 -6.498943512968884 treat image : temp/1738921347_3076559_1335474288_6e57e53e3a6582b37c8091e03c5a563f.jpg resize: (1080, 1632) 1335474288 -5.637513074219798 treat image : temp/1738921347_3076559_1335474285_611eba1e5f1976f4675c21b2cade46a6.jpg resize: (1080, 1632) 1335474285 -6.480541745741042 treat image : temp/1738921347_3076559_1335473685_12658475c344fc48d8054f5d6621012c.jpg resize: (1080, 1632) 1335473685 -6.382965693739608 treat image : temp/1738921347_3076559_1335473331_fe6695519f3b4be8666306962f72dde6.jpg resize: (1080, 1632) 1335473331 -6.47446127810997 treat image : temp/1738921347_3076559_1335473327_f73be08edc2c71ede0036568cac31c5f.jpg resize: (1080, 1632) 1335473327 -3.4994136035050767 treat image : temp/1738921347_3076559_1335473322_9f6451ea012f04982773a984ebb1fc49.jpg resize: (1080, 1632) 1335473322 -6.2747404914631595 treat image : temp/1738921347_3076559_1335473318_7eaa410930333991eb42ca6793d3d0f9.jpg resize: (1080, 1632) 1335473318 -5.908947508518997 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.019977092742919922 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.014769315719604492 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018381118774414062 save missing photos in datou_result : time spend for datou_step_exec : 13.474511861801147 time spend to save output : 0.05758500099182129 total time spend for step 1 : 13.532096862792969 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 1.52system 0:18.39elapsed 86%CPU (0avgtext+0avgdata 141248maxresident)k 3352inputs+12128outputs (46major+129136minor)pagefaults 0swaps