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 : 146297 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 : 8476>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/146297/ 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.2159552574157715 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 Jul 5 16:32: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/1751725949_146297_1370805923_b6b49f291df1f12252ed1c6b18776f7f.jpg resize: (1080, 1632) 1370805923 -5.641114126269979 treat image : temp/1751725949_146297_1370805921_c4277c145bb2c05b8320ac74d1f29fff.jpg resize: (1080, 1632) 1370805921 -5.647916117910899 treat image : temp/1751725949_146297_1370805918_4f0ed636647cbb7ab7c76a6396fed1fc.jpg resize: (1080, 1632) 1370805918 -5.545723949561049 treat image : temp/1751725949_146297_1370805916_dc7a85248a3a6fb447cdd5bf2fe7af76.jpg resize: (1080, 1632) 1370805916 -5.57423175842391 treat image : temp/1751725949_146297_1370805914_0c06661d92f3414faed896d0143f7342.jpg resize: (1080, 1632) 1370805914 -5.542071547582587 treat image : temp/1751725949_146297_1370805912_0b86933308fedf8d7d5b1454ec57b5fe.jpg resize: (1080, 1632) 1370805912 -5.660993786389475 treat image : temp/1751725949_146297_1370805885_032aac891f545487378d4ea1aac8cde7.jpg resize: (1080, 1632) 1370805885 -0.8058095005624165 treat image : temp/1751725949_146297_1370805877_125d00d31c6ca0be490f273737c3f4be.jpg resize: (1080, 1632) 1370805877 -1.8104003914568716 treat image : temp/1751725949_146297_1370805861_2c422f4619bbc5da2c1b8f3cc84cedda.jpg resize: (1080, 1632) 1370805861 -2.78418784805942 treat image : temp/1751725949_146297_1370805858_c37f19b98957ed82389e934bc73076c1.jpg resize: (1080, 1632) 1370805858 -2.7247054328469362 treat image : temp/1751725949_146297_1370805840_98698a6e650231be1a0f9f2d751235cb.jpg resize: (1080, 1632) 1370805840 -1.7472995439400283 treat image : temp/1751725949_146297_1370805835_78b9248d5b8d9049540ac8002bd1adb1.jpg resize: (1080, 1632) 1370805835 -2.145981557646088 treat image : temp/1751725949_146297_1370805795_dec34f5117e2b15ef24bcc5601582a6a.jpg resize: (1080, 1632) 1370805795 -5.905471449736592 treat image : temp/1751725949_146297_1370805792_3ec4ba41e730f3dda7fef0e8b214791b.jpg resize: (1080, 1632) 1370805792 -4.699358050049568 treat image : temp/1751725949_146297_1370805788_e488a3a3f88203cb895b2f7823e0e949.jpg resize: (1080, 1632) 1370805788 -5.249353881371752 treat image : temp/1751725949_146297_1370805784_b02d31435788cb53155b47b858b1c272.jpg resize: (1080, 1632) 1370805784 -5.196809586237962 treat image : temp/1751725949_146297_1370805781_638396630c8fe3fb6ee86f525cb68256.jpg resize: (1080, 1632) 1370805781 -5.213791806219858 treat image : temp/1751725949_146297_1370805777_c0816d6ce2228a54b5819508eded5b83.jpg resize: (1080, 1632) 1370805777 -4.811035151927552 treat image : temp/1751725949_146297_1370805718_534305db3713b54841e1ca69b764fd6c.jpg resize: (1080, 1632) 1370805718 -5.82149076120026 treat image : temp/1751725949_146297_1370805717_75ddb97db4684b86acb6ce9c3e5a6048.jpg resize: (1080, 1632) 1370805717 -5.82149076120026 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.014089584350585938 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.011364221572875977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016140460968017578 save missing photos in datou_result : time spend for datou_step_exec : 14.981672525405884 time spend to save output : 0.04673933982849121 total time spend for step 1 : 15.028411865234375 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.70user 3.64system 0:20.58elapsed 84%CPU (0avgtext+0avgdata 138456maxresident)k 0inputs+9088outputs (12major+259794minor)pagefaults 0swaps