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 : 2972431 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 : 3352>100 please execute split_portfolio.py -i 20090623 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2531485'] with mtr_portfolio_ids : ['20090623'] and first list_photo_ids : [] new path : /proc/2972431/ 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.418046236038208 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 Sat Feb 1 03:27: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/1738376847_2972431_1333567220_f8a46ae017cedca6272267465d486d82.jpg resize: (1080, 1632) 1333567220 -6.396799825838366 treat image : temp/1738376847_2972431_1333567218_d47ed5153a6369e96044a4e0cef8e4a5.jpg resize: (1080, 1632) 1333567218 -3.7007625410614207 treat image : temp/1738376847_2972431_1333567183_5a5b3622f9bd26115724e03290037f74.jpg resize: (1080, 1632) 1333567183 -4.8637681795217835 treat image : temp/1738376847_2972431_1333567180_b6ba52c6eac5fa9842db740aff10b686.jpg resize: (1080, 1632) 1333567180 -4.428222828125191 treat image : temp/1738376847_2972431_1333567178_4690558824c67a77f0ee85be7161bd5a.jpg resize: (1080, 1632) 1333567178 -6.080320432069093 treat image : temp/1738376847_2972431_1333567175_6affb8cbdbc35e6b6d43379a8f416e7a.jpg resize: (1080, 1632) 1333567175 -4.693134579886191 treat image : temp/1738376847_2972431_1333567146_c9f0320b2193e79fe349455a1e48b1c0.jpg resize: (1080, 1632) 1333567146 -5.759380679601547 treat image : temp/1738376847_2972431_1333567127_5e888ea508cee2e9b14f13f975d4a4c9.jpg resize: (1080, 1632) 1333567127 -5.52743439587012 treat image : temp/1738376847_2972431_1333566840_97630bc4c91279d66e6b720e9499ed53.jpg resize: (1080, 1632) 1333566840 -6.484871116911715 treat image : temp/1738376847_2972431_1333566750_75af03de35c14c9c8f641e2e81ee9158.jpg resize: (1080, 1632) 1333566750 -6.318302172094359 treat image : temp/1738376847_2972431_1333566740_e0cefca3cdc6b0a3b8b2b1036e06e7ca.jpg resize: (1080, 1632) 1333566740 -4.583194828603359 treat image : temp/1738376847_2972431_1333566675_b6ee796bcc5f56ecf54ee71c2898b754.jpg resize: (1080, 1632) 1333566675 -6.230791620718246 treat image : temp/1738376847_2972431_1333566663_7a1cd14e4bfff2b4e3324052f7d4fdaf.jpg resize: (1080, 1632) 1333566663 -4.968373861542913 treat image : temp/1738376847_2972431_1333566658_8420a418b89924dd5326fded29442700.jpg resize: (1080, 1632) 1333566658 -6.486647166405672 treat image : temp/1738376847_2972431_1333566507_6e3c6dcd789f0d712d85cec3d8e4f61e.jpg resize: (1080, 1632) 1333566507 -4.840188301947183 treat image : temp/1738376847_2972431_1333566451_e041d5b125fddf6764c63c21ec127050.jpg resize: (1080, 1632) 1333566451 -1.2640872986134608 treat image : temp/1738376847_2972431_1333566450_0b1144d3fb3637b09ef0e9c2281b2f00.jpg resize: (1080, 1632) 1333566450 -3.211950426507412 treat image : temp/1738376847_2972431_1333566449_c5a57e24dbef9d9005eb48a031364a9c.jpg resize: (1080, 1632) 1333566449 -5.341966035996865 treat image : temp/1738376847_2972431_1333566448_5efae6759a13046d5ec2f9ce1fdbefec.jpg resize: (1080, 1632) 1333566448 -3.9249660088870555 treat image : temp/1738376847_2972431_1333566446_96e7bc5fbd3313867c5d4a8645ed0941.jpg resize: (1080, 1632) 1333566446 -4.752439982626582 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.014726638793945312 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.013015985488891602 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015855789184570312 save missing photos in datou_result : time spend for datou_step_exec : 15.438049554824829 time spend to save output : 0.04871511459350586 total time spend for step 1 : 15.486764669418335 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.19user 3.91system 0:19.73elapsed 91%CPU (0avgtext+0avgdata 139792maxresident)k 40inputs+11040outputs (11major+256976minor)pagefaults 0swaps