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 : 4129124 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/4129124/ 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 : 3.123387575149536 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 Jul 18 20:57: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/1752865046_4129124_1372319773_268964d274c2f83a9b6668ae3aa1f7c9.jpg resize: (1080, 1632) 1372319773 -5.065864953621883 treat image : temp/1752865046_4129124_1372319769_a11ea67e87c8e7faa0ad9a0c20dc608b.jpg resize: (1080, 1632) 1372319769 -5.047961060798688 treat image : temp/1752865046_4129124_1372319765_fe526a825c9e89da8315bfe36f7ca0f6.jpg resize: (1080, 1632) 1372319765 -4.58990762852714 treat image : temp/1752865046_4129124_1372319751_b82518be8f4c2df82f4d97e5bcdbfc6d.jpg resize: (1080, 1632) 1372319751 -5.18650131174311 treat image : temp/1752865046_4129124_1372319748_58120af6a32490889e9bd3140589204c.jpg resize: (1080, 1632) 1372319748 -3.060757967784616 treat image : temp/1752865046_4129124_1372319743_400c32a030c42d65dbee3db33f60dc78.jpg resize: (1080, 1632) 1372319743 -4.594414542059947 treat image : temp/1752865046_4129124_1372319739_fbec0bb881b0057b124d2952cdbccc7d.jpg resize: (1080, 1632) 1372319739 -5.112920092857064 treat image : temp/1752865046_4129124_1372319735_832ea45f55c23e103f421fc486f62529.jpg resize: (1080, 1632) 1372319735 -3.4096669323847597 treat image : temp/1752865046_4129124_1372319731_3d0eafadcb1097d6a122df592a46a7a3.jpg resize: (1080, 1632) 1372319731 -4.626263860723845 treat image : temp/1752865046_4129124_1372319718_cc006ba08f9b0cf59ef3d9d34ebb4138.jpg resize: (1080, 1632) 1372319718 -1.6972681986670692 treat image : temp/1752865046_4129124_1372319714_6dc5934459c15421fbe85254b54a0f33.jpg resize: (1080, 1632) 1372319714 -2.1479941212509934 treat image : temp/1752865046_4129124_1372319709_9a24036d3675a202d6c4be3c33112e2a.jpg resize: (1080, 1632) 1372319709 -1.8556045171571598 treat image : temp/1752865046_4129124_1372319705_2912b75ab75fc407d1a7bcbe300774d5.jpg resize: (1080, 1632) 1372319705 -1.831069585327385 treat image : temp/1752865046_4129124_1372319702_90d689690aeb09f714e9217eea5b0dfd.jpg resize: (1080, 1632) 1372319702 -1.3840538816367687 treat image : temp/1752865046_4129124_1372319698_bb9ed2d3fcd71473daed12d669673bbc.jpg resize: (1080, 1632) 1372319698 -1.8854123751599499 treat image : temp/1752865046_4129124_1372319682_2873bb845477f7405009994f365ac436.jpg resize: (1080, 1632) 1372319682 -4.44991152362194 treat image : temp/1752865046_4129124_1372319679_159d960db8c696775c9bf9efb2e4c690.jpg resize: (1080, 1632) 1372319679 -5.072539554107384 treat image : temp/1752865046_4129124_1372319675_fd25b5d07ce6ebd36c32bac4f710d26c.jpg resize: (1080, 1632) 1372319675 -5.072133593470181 treat image : temp/1752865046_4129124_1372319672_bc8624e38820b1b427c8bc56d859d828.jpg resize: (1080, 1632) 1372319672 -4.468187820537016 treat image : temp/1752865046_4129124_1372319669_bd2a6d4028e4fc4adb88117801f9d92f.jpg resize: (1080, 1632) 1372319669 -3.5532824014392776 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.012679338455200195 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.011946439743041992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015035629272460938 save missing photos in datou_result : time spend for datou_step_exec : 15.451592922210693 time spend to save output : 0.044115543365478516 total time spend for step 1 : 15.495708465576172 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.90user 3.92system 0:20.00elapsed 89%CPU (0avgtext+0avgdata 140408maxresident)k 80inputs+8128outputs (8major+259218minor)pagefaults 0swaps