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 : 652106 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 : 8491>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/652106/ 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.900041341781616 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 Aug 1 09:17: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/1754032648_652106_1374692797_2309881877152b96cdf06a486dd0bf9f.jpg resize: (1080, 1632) 1374692797 -4.935601808132957 treat image : temp/1754032648_652106_1374692796_655c2e6df1985baa3d2656910ead9a10.jpg resize: (1080, 1632) 1374692796 -3.021001615204818 treat image : temp/1754032648_652106_1374692795_63e562eb568eb211c01bca2ae1e38001.jpg resize: (1080, 1632) 1374692795 -4.217240779631923 treat image : temp/1754032648_652106_1374692516_80be9a38edb7e4c16fd574cfb417f4f8.jpg resize: (1080, 1632) 1374692516 -4.139745272636538 treat image : temp/1754032648_652106_1374692449_e4a9b02864a2f8a8477e0f8048203ae7.jpg resize: (1080, 1632) 1374692449 -3.966120370911165 treat image : temp/1754032648_652106_1374692372_a43ec29bfc9d4dbe0278bf1537690ba2.jpg resize: (1080, 1632) 1374692372 -2.6090407918525282 treat image : temp/1754032648_652106_1374692339_4310254afcc8a2a99046189d66a5380f.jpg resize: (1080, 1632) 1374692339 -2.5901539667423754 treat image : temp/1754032648_652106_1374692310_228a6bf85568c712571fb602cb2650e7.jpg resize: (1080, 1632) 1374692310 -2.46938560664683 treat image : temp/1754032648_652106_1374692284_f67f9ce2e15c66e8af6518e37352f89c.jpg resize: (1080, 1632) 1374692284 -4.494733072178806 treat image : temp/1754032648_652106_1374690628_58ebec087de5ad42c8580d78cc57cdd0.jpg resize: (1080, 1632) 1374690628 -4.406652263677393 treat image : temp/1754032648_652106_1374690626_811c88284213008ce233d4dccd36709d.jpg resize: (1080, 1632) 1374690626 -5.198046678294812 treat image : temp/1754032648_652106_1374690624_60c217b4b22efc5f01b6bf9d5a54ec6d.jpg resize: (1080, 1632) 1374690624 -2.0026328495608623 treat image : temp/1754032648_652106_1374690622_d01944747f41c9439b50827c77713949.jpg resize: (1080, 1632) 1374690622 -4.805316121231018 treat image : temp/1754032648_652106_1374690619_98cd145a9d348b77dee763048a42755d.jpg resize: (1080, 1632) 1374690619 -3.2113884881902472 treat image : temp/1754032648_652106_1374690618_b1ef6aa7cc76fe06995d0f687719db39.jpg resize: (1080, 1632) 1374690618 -3.091599640630022 treat image : temp/1754032648_652106_1374690191_ef253549dde15414b0f4bcc5635a0bc9.jpg resize: (1080, 1632) 1374690191 -3.090918213925637 treat image : temp/1754032648_652106_1374690123_eb52f83e5abdee1740a9f3e480742d12.jpg resize: (1080, 1632) 1374690123 -1.2383421891240705 treat image : temp/1754032648_652106_1374690045_c4e7ef62f78e121b94859234a73979ad.jpg resize: (1080, 1632) 1374690045 -1.5853287857768785 treat image : temp/1754032648_652106_1374689986_a9fd906e3c5ba1850f9d96b67059b5ee.jpg resize: (1080, 1632) 1374689986 -1.4119476666106798 treat image : temp/1754032648_652106_1374689983_e794b13b2e55e839210b85d5995aab45.jpg resize: (1080, 1632) 1374689983 -2.61799585094949 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.01269984245300293 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.06508231163024902 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1198275089263916 save missing photos in datou_result : time spend for datou_step_exec : 17.160720586776733 time spend to save output : 0.2022256851196289 total time spend for step 1 : 17.362946271896362 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 4.92system 0:23.61elapsed 82%CPU (0avgtext+0avgdata 139148maxresident)k 144inputs+7720outputs (0major+259844minor)pagefaults 0swaps