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 : 3027466 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 : 5222>100 please execute split_portfolio.py -i 25516015 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3403011'] with mtr_portfolio_ids : ['25516015'] and first list_photo_ids : [] new path : /proc/3027466/ 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.348036766052246 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 Thu Jul 31 16:37: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/1753972646_3027466_1374615571_59cd92b8bb8f056e3b44b57f6bea25b4.jpg resize: (1080, 1632) 1374615571 -0.7392102400794768 treat image : temp/1753972646_3027466_1374615563_290ea4c97a6df887560a326ab1b12511.jpg resize: (1080, 1632) 1374615563 -1.4401128730203845 treat image : temp/1753972646_3027466_1374615560_5abc0af5a6df07fe89c404213707814e.jpg resize: (1080, 1632) 1374615560 -2.656092436887138 treat image : temp/1753972646_3027466_1374615558_a9c1992b06f3cf546842f7ec77f4ac2f.jpg resize: (1080, 1632) 1374615558 -3.1830379948861807 treat image : temp/1753972646_3027466_1374615554_350417b94dae5b401ccfab600f025e48.jpg resize: (1080, 1632) 1374615554 -4.148721922796848 treat image : temp/1753972646_3027466_1374615551_b655f4e9ced6c061baaea9dbc6c39671.jpg resize: (1080, 1632) 1374615551 -4.924832726891729 treat image : temp/1753972646_3027466_1374615544_682817771dd2e48dd43259caee112cd7.jpg resize: (1080, 1632) 1374615544 -1.4549462777658206 treat image : temp/1753972646_3027466_1374615541_d290dffbe51994aee63506afb0b872fb.jpg resize: (1080, 1632) 1374615541 -2.0246948863198138 treat image : temp/1753972646_3027466_1374615539_31ac8961d3a41f73784e26fd698b5c07.jpg resize: (1080, 1632) 1374615539 -3.6837544190924674 treat image : temp/1753972646_3027466_1374615537_b499ef066217b4d8a59acd76fd264341.jpg resize: (1080, 1632) 1374615537 -5.166017245104632 treat image : temp/1753972646_3027466_1374615535_a6f9c8e10af3ed0c4e8969b0bce196a3.jpg resize: (1080, 1632) 1374615535 -4.3364598773549075 treat image : temp/1753972646_3027466_1374615533_e9f81c783188d59881a8f832385833de.jpg resize: (1080, 1632) 1374615533 -4.095953390823843 treat image : temp/1753972646_3027466_1374615453_60e14bc7c65fce79bcd1715cc3f7c1a3.jpg resize: (1080, 1632) 1374615453 -4.958620253481273 treat image : temp/1753972646_3027466_1374615449_ed3587372b1475a9c77d6c838edc9f03.jpg resize: (1080, 1632) 1374615449 -2.2516129840406647 treat image : temp/1753972646_3027466_1374615442_2d0f53459c49b0c7ce63a987b4f9f868.jpg resize: (1080, 1632) 1374615442 -4.178748296866969 treat image : temp/1753972646_3027466_1374615436_e81c3d4af0885b7306fb365ff3c35bce.jpg resize: (1080, 1632) 1374615436 -5.33408277111668 treat image : temp/1753972646_3027466_1374615399_a81f6db613cf0a00dd03c36ae6936cad.jpg resize: (1080, 1632) 1374615399 -1.3680140598476622 treat image : temp/1753972646_3027466_1374615393_420fb05159b8f539399ad4423836cea2.jpg resize: (1080, 1632) 1374615393 -1.2764044446022142 treat image : temp/1753972646_3027466_1374615386_274b87a5f3ad14a17ce2f5bad6a972ed.jpg resize: (1080, 1632) 1374615386 -5.297641039394245 treat image : temp/1753972646_3027466_1374615378_0e14fafc5f83f47894eed41cc517ab4b.jpg resize: (1080, 1632) 1374615378 -5.718815674457755 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.013939619064331055 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.012689590454101562 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014208793640136719 save missing photos in datou_result : time spend for datou_step_exec : 18.90759515762329 time spend to save output : 0.04614615440368652 total time spend for step 1 : 18.953741312026978 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.56user 5.90system 0:23.61elapsed 90%CPU (0avgtext+0avgdata 138828maxresident)k 240inputs+8088outputs (33major+264238minor)pagefaults 0swaps