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 : 3870765 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 : 7802>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/3870765/ 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.359191656112671 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 00:12:30 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/1753999948_3870765_1374685948_5ac80299a0cee503f3c9301e2526c0f1.jpg resize: (1080, 1632) 1374685948 -1.641576622996252 treat image : temp/1753999948_3870765_1374685945_054caa802a2855cb4ff82ac3c9bbf428.jpg resize: (1080, 1632) 1374685945 -5.058530633194483 treat image : temp/1753999948_3870765_1374685942_024958e00f46af308c7f86b9608d0738.jpg resize: (1080, 1632) 1374685942 -5.349959002164656 treat image : temp/1753999948_3870765_1374685940_5c107702585adcdd4a87d7cea8407908.jpg resize: (1080, 1632) 1374685940 -4.736612719466104 treat image : temp/1753999948_3870765_1374685937_2f51be95ca9744981b6be74c2d382322.jpg resize: (1080, 1632) 1374685937 -5.561348112181955 treat image : temp/1753999948_3870765_1374685934_5e380619580cc8541e8783d957b080d1.jpg resize: (1080, 1632) 1374685934 -3.431163039777519 treat image : temp/1753999948_3870765_1374685331_fdb67d9fac7f1e8d9deeb3a010f0b624.jpg resize: (1080, 1632) 1374685331 -1.7157200035728446 treat image : temp/1753999948_3870765_1374685330_c1ebabb60ad98440d9f0dbbd81cbfa65.jpg resize: (1080, 1632) 1374685330 -0.571087013253806 treat image : temp/1753999948_3870765_1374685327_4165f656347b7febc776cc4b785a89d0.jpg resize: (1080, 1632) 1374685327 -6.183609496524707 treat image : temp/1753999948_3870765_1374685326_a3321a79c0d3d7bb31531fce22b49c12.jpg resize: (1080, 1632) 1374685326 -4.423319371190297 treat image : temp/1753999948_3870765_1374685325_e05fbc045ba4416666e9f74066eca1c1.jpg resize: (1080, 1632) 1374685325 -5.591551586005468 treat image : temp/1753999948_3870765_1374685324_6f8dffe6f9c1724f0cf985e1b0ead8a6.jpg resize: (1080, 1632) 1374685324 -5.516791415249094 treat image : temp/1753999948_3870765_1374685306_846a4f6d8cbf4388f493d66c94d996fe.jpg resize: (1080, 1632) 1374685306 -3.717791046522268 treat image : temp/1753999948_3870765_1374685304_bf4478b34f19134c39daae1f353076cc.jpg resize: (1080, 1632) 1374685304 -5.017731494123054 treat image : temp/1753999948_3870765_1374685301_fcb589297ab3a7445f46c9d8fbf7ba42.jpg resize: (1080, 1632) 1374685301 -5.41278144609178 treat image : temp/1753999948_3870765_1374685298_44d32453cb2e4fcafc81341357cebb33.jpg resize: (1080, 1632) 1374685298 -3.213462271469723 treat image : temp/1753999948_3870765_1374685271_4e15bed91855c60c15c2ac4700142d1c.jpg resize: (1080, 1632) 1374685271 -5.513873273216909 treat image : temp/1753999948_3870765_1374685242_2a62b50347aad8b8792a793cc766993f.jpg resize: (1080, 1632) 1374685242 -3.3006848139923295 treat image : temp/1753999948_3870765_1374684919_ceb10b59908e9e212b588f1243c61892.jpg resize: (1080, 1632) 1374684919 -5.754857974306772 treat image : temp/1753999948_3870765_1374684915_b52069739eaac14f8378322a61b15025.jpg resize: (1080, 1632) 1374684915 -5.432165294626594 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.012613534927368164 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.05284404754638672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04197382926940918 save missing photos in datou_result : time spend for datou_step_exec : 14.508233547210693 time spend to save output : 0.11251282691955566 total time spend for step 1 : 14.620746374130249 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.91user 3.41system 0:19.64elapsed 88%CPU (0avgtext+0avgdata 138064maxresident)k 168inputs+9864outputs (2major+231377minor)pagefaults 0swaps