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 : 3953004 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 : 8012>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/3953004/ 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.498878002166748 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 01:07: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/1754003247_3953004_1374695793_8e91cc3c9a900207330269fa66d85a70.jpg resize: (1080, 1632) 1374695793 -4.717953977736308 treat image : temp/1754003247_3953004_1374695791_d246c44a70f2483a161e4b916c240cde.jpg resize: (1080, 1632) 1374695791 -2.9977042432998555 treat image : temp/1754003247_3953004_1374695789_6707a0d84af07f5fc5a7849050af2285.jpg resize: (1080, 1632) 1374695789 -4.299008503293544 treat image : temp/1754003247_3953004_1374695787_fb44ae796a3db7f2f8257d216d900a68.jpg resize: (1080, 1632) 1374695787 -1.7993937838810312 treat image : temp/1754003247_3953004_1374695782_29d9e658e1a6e043ebde19fb8c477094.jpg resize: (1080, 1632) 1374695782 -2.7199580284828726 treat image : temp/1754003247_3953004_1374695771_ef33656e3b18a2d06562e8617f4afd76.jpg resize: (1080, 1632) 1374695771 -5.219661124862361 treat image : temp/1754003247_3953004_1374695709_44c1bd8007afeab838e5a30a33bded56.jpg resize: (1080, 1632) 1374695709 -4.752645837462163 treat image : temp/1754003247_3953004_1374695707_b4301465f044e8d3334e369d257b244d.jpg resize: (1080, 1632) 1374695707 -4.351196593199955 treat image : temp/1754003247_3953004_1374695695_5ec99e53d0fae4931406e2b2eacf2cc7.jpg resize: (1080, 1632) 1374695695 -5.338616054188569 treat image : temp/1754003247_3953004_1374695666_eeba7b2ec346cdb6b328a38622caa21d.jpg resize: (1080, 1632) 1374695666 -5.131398152287159 treat image : temp/1754003247_3953004_1374695657_350ed07af55c9a07e9bdcb6628795cb0.jpg resize: (1080, 1632) 1374695657 -4.851356139354243 treat image : temp/1754003247_3953004_1374695656_94c7d35981bcf28ad6cd22d5b8d95a72.jpg resize: (1080, 1632) 1374695656 -3.5520948017830754 treat image : temp/1754003247_3953004_1374694046_cd60e3df1ca1e4b2d5472147915ed6c1.jpg resize: (1080, 1632) 1374694046 -5.929224438434799 treat image : temp/1754003247_3953004_1374694042_38220df245041c7929c7688f4b21f39c.jpg resize: (1080, 1632) 1374694042 -5.722369294436374 treat image : temp/1754003247_3953004_1374693938_76cce6166b7f72226056f53f70f014dc.jpg resize: (1080, 1632) 1374693938 -4.665912559856198 treat image : temp/1754003247_3953004_1374693917_bb077ff7b8b13c2ef14e87cd878acbaa.jpg resize: (1080, 1632) 1374693917 -2.2673723834028356 treat image : temp/1754003247_3953004_1374693894_15737d19744eeb329e3ecd177b71dd81.jpg resize: (1080, 1632) 1374693894 -1.9374408925825088 treat image : temp/1754003247_3953004_1374693868_0967fa4bf24bbdf5a67494aad5f4087d.jpg resize: (1080, 1632) 1374693868 -3.514758865346646 treat image : temp/1754003247_3953004_1374693843_259913a1e8720e20cf34760b575586c8.jpg resize: (1080, 1632) 1374693843 -4.747235263334546 treat image : temp/1754003247_3953004_1374693819_74f11471be1e49d5bc72599b0028da5f.jpg resize: (1080, 1632) 1374693819 -3.3912835167990805 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.01270437240600586 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.01212930679321289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014800071716308594 save missing photos in datou_result : time spend for datou_step_exec : 13.886751890182495 time spend to save output : 0.044669389724731445 total time spend for step 1 : 13.931421279907227 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.69user 1.65system 0:19.51elapsed 83%CPU (0avgtext+0avgdata 138432maxresident)k 136inputs+9056outputs (0major+133495minor)pagefaults 0swaps