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 : 2251482 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 : 1148>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/2251482/ 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.3209445476531982 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 10:27: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/1747211247_2251482_1358128129_dda36279fed85ce554fa8a49359f0b21.jpg resize: (1080, 1632) 1358128129 -3.9613608431083978 treat image : temp/1747211247_2251482_1358128100_e0393c1fc65b3b9963e7affd2cc3d660.jpg resize: (1080, 1632) 1358128100 -5.535008002866604 treat image : temp/1747211247_2251482_1358128074_3e8d20557c72f027f6af716b23382611.jpg resize: (1080, 1632) 1358128074 -5.959980864123382 treat image : temp/1747211247_2251482_1358128018_15d9f8b1b37f057dcc3ab247e0baf7ef.jpg resize: (1080, 1632) 1358128018 -5.673581833495486 treat image : temp/1747211247_2251482_1358127990_581a4821da52a56bde69eb35cdac1cc9.jpg resize: (1080, 1632) 1358127990 -4.801049750155507 treat image : temp/1747211247_2251482_1358127942_1bf86e4ac4e56b29d277b804e4b196e4.jpg resize: (1080, 1632) 1358127942 -5.808773006281174 treat image : temp/1747211247_2251482_1358127662_dc83b09906f51b38cc350efb6cffa4d3.jpg resize: (1080, 1632) 1358127662 -1.929900483505822 treat image : temp/1747211247_2251482_1358127623_73987e9b8f51e7b63feb8f35ad12639a.jpg resize: (1080, 1632) 1358127623 -2.227966746615147 treat image : temp/1747211247_2251482_1358127525_72d4284067599ae1283a6ea1d1de961a.jpg resize: (1080, 1632) 1358127525 -3.168115227638768 treat image : temp/1747211247_2251482_1358127204_18ae3600b873637c1ea0d47bd54ab9c4.jpg resize: (1080, 1632) 1358127204 -5.218549648788674 treat image : temp/1747211247_2251482_1358127147_7fabdbbfb2a0951414c7e06494d79b4e.jpg resize: (1080, 1632) 1358127147 -6.178034068144856 treat image : temp/1747211247_2251482_1358127099_42bfb5b7eb11a827cb990ed4ef9db2bf.jpg resize: (1080, 1632) 1358127099 -5.122560599922465 treat image : temp/1747211247_2251482_1358127041_722059880e986b1975f8c17164c5fc48.jpg resize: (1080, 1632) 1358127041 -5.4324438346086925 treat image : temp/1747211247_2251482_1358126966_773da9a32af9fbcda19d16a582447348.jpg resize: (1080, 1632) 1358126966 -5.92730913893177 treat image : temp/1747211247_2251482_1358126891_c5131268d21e8d63e23112dc55e50382.jpg resize: (1080, 1632) 1358126891 -5.743769007503559 treat image : temp/1747211247_2251482_1358126229_44fc910237744f21e2fef6f4c0800d71.jpg resize: (1080, 1632) 1358126229 -5.349257935193143 treat image : temp/1747211247_2251482_1358126179_281c16d4cbe59147b8232fa76fee0b51.jpg resize: (1080, 1632) 1358126179 -5.189273396236312 treat image : temp/1747211247_2251482_1358126117_c13f3860dc70fdbe79656986cc0f2582.jpg resize: (1080, 1632) 1358126117 -5.116675805064026 treat image : temp/1747211247_2251482_1358126021_c691dab7acd65bc9aef3bebfcb3fb9d0.jpg resize: (1080, 1632) 1358126021 -4.202226489710555 treat image : temp/1747211247_2251482_1358123366_568da6780c58bcb5c47281c76a2dac35.jpg resize: (1080, 1632) 1358123366 -5.610793167259191 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.013771533966064453 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.022766590118408203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06085681915283203 save missing photos in datou_result : time spend for datou_step_exec : 16.143616437911987 time spend to save output : 0.10257697105407715 total time spend for step 1 : 16.246193408966064 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.02user 3.99system 0:21.04elapsed 90%CPU (0avgtext+0avgdata 141164maxresident)k 152inputs+10208outputs (11major+255105minor)pagefaults 0swaps