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 : 1660447 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 : 507>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1660447/ 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.592968225479126 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 Wed May 14 07:07: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/1747199247_1660447_1358096723_d49680a42bafd4f2d17d03d2e345ed05.jpg resize: (1080, 1632) 1358096723 -3.159040497061152 treat image : temp/1747199247_1660447_1358096720_75eba88c89d7074afa8e7daa5ea741cf.jpg resize: (1080, 1632) 1358096720 -6.31329134740714 treat image : temp/1747199247_1660447_1358096717_6c17d815a3fbfb9dd2ad477f2262e1b6.jpg resize: (1080, 1632) 1358096717 -4.307476758254085 treat image : temp/1747199247_1660447_1358096693_8d46d32337cc57436bd7520281b1e156.jpg resize: (1080, 1632) 1358096693 -3.9985806722138646 treat image : temp/1747199247_1660447_1358096690_07a8b75ada3134e0e7993e191694a7eb.jpg resize: (1080, 1632) 1358096690 -6.00513644266769 treat image : temp/1747199247_1660447_1358096687_1493766061353add02aed0a86f616a68.jpg resize: (1080, 1632) 1358096687 -6.114229512694937 treat image : temp/1747199247_1660447_1358096683_928d823515cf2a4178ce99237147b5ac.jpg resize: (1080, 1632) 1358096683 -6.134627958410176 treat image : temp/1747199247_1660447_1358096679_bee1455e3b0ea2b1fcd8a897d70d6713.jpg resize: (1080, 1632) 1358096679 -6.52542222992147 treat image : temp/1747199247_1660447_1358096675_fc583948710a46e4739341a5264c5738.jpg resize: (1080, 1632) 1358096675 -3.1849106638430085 treat image : temp/1747199247_1660447_1358096645_eec72e6bcbb2e97942a5287b4401a5f0.jpg resize: (1080, 1632) 1358096645 -1.969128939570372 treat image : temp/1747199247_1660447_1358096643_1c4b87d50c5eb48a70294e0576e2d379.jpg resize: (1080, 1632) 1358096643 -5.37836706643179 treat image : temp/1747199247_1660447_1358096639_d97a999ff9d533db97f93155cc925117.jpg resize: (1080, 1632) 1358096639 -6.212286076743049 treat image : temp/1747199247_1660447_1358096613_6613a0653fee81f0fe26389b7ee25f3a.jpg resize: (1080, 1632) 1358096613 -5.819929890733104 treat image : temp/1747199247_1660447_1358096610_f3deb488f77de304f2661419c5a9b780.jpg resize: (1080, 1632) 1358096610 -5.714584925482399 treat image : temp/1747199247_1660447_1358096607_fe7dfb269a9280ccf876de60dc5136e4.jpg resize: (1080, 1632) 1358096607 -6.438653170288562 treat image : temp/1747199247_1660447_1358096603_a45f106221312e6b01600159e0b545b4.jpg resize: (1080, 1632) 1358096603 -6.36841923206723 treat image : temp/1747199247_1660447_1358096601_8587155e0dc5ed57773bb6e56cc56f0f.jpg resize: (1080, 1632) 1358096601 -6.008449622533061 treat image : temp/1747199247_1660447_1358096588_6b98ac13ad2c69efafc1eb069043fa56.jpg resize: (1080, 1632) 1358096588 -5.806019712052303 treat image : temp/1747199247_1660447_1358096565_da4b1e2c4b505873112bef0fb9ee5fde.jpg resize: (1080, 1632) 1358096565 -3.479626963180225 treat image : temp/1747199247_1660447_1358096562_09cf78908606274acca538fb53735844.jpg resize: (1080, 1632) 1358096562 -5.479157578512208 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.012366771697998047 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.17514681816101074 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.3168060779571533 save missing photos in datou_result : time spend for datou_step_exec : 15.66862964630127 time spend to save output : 0.5089292526245117 total time spend for step 1 : 16.17755889892578 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.44user 3.55system 0:21.03elapsed 85%CPU (0avgtext+0avgdata 140548maxresident)k 136inputs+11040outputs (11major+260898minor)pagefaults 0swaps