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 : 3865920 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 : 1464>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/3865920/ 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 : 5.651179552078247 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 Mar 21 14:07:34 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/1742562449_3865920_1345996684_8d7e19987584983c43750432072b7766.jpg resize: (1080, 1632) 1345996684 -5.00511821788344 treat image : temp/1742562449_3865920_1345996645_19147984d6fbaa73457b7c9a77914bab.jpg resize: (1080, 1632) 1345996645 -6.562090689761627 treat image : temp/1742562449_3865920_1345996600_7be7ad04d98b9044ed5d5cf9c8814814.jpg resize: (1080, 1632) 1345996600 -6.0969960231991225 treat image : temp/1742562449_3865920_1345996596_c0c455f9651a2fc714293e523222df50.jpg resize: (1080, 1632) 1345996596 -5.824867827151876 treat image : temp/1742562449_3865920_1345996595_075853e927565584be2686f09c2c746e.jpg resize: (1080, 1632) 1345996595 -6.008023192586454 treat image : temp/1742562449_3865920_1345996593_86693eccc0f9398ed7e1954972525753.jpg resize: (1080, 1632) 1345996593 -5.570271562883274 treat image : temp/1742562449_3865920_1345996532_ec632bb0795e6ee1d509545cc73f2d33.jpg resize: (1080, 1632) 1345996532 -2.9731627748011045 treat image : temp/1742562449_3865920_1345996515_d06ba840080e47a5031aa59bc025f224.jpg resize: (1080, 1632) 1345996515 -5.697755636452828 treat image : temp/1742562449_3865920_1345996509_55ef0402cd9fcf0a5f7181db12fd039b.jpg resize: (1080, 1632) 1345996509 -3.9872674854957477 treat image : temp/1742562449_3865920_1345996503_b13853efc655a5bbb4a810bc0a8de3bc.jpg resize: (1080, 1632) 1345996503 -3.735964215141378 treat image : temp/1742562449_3865920_1345996494_64f420de1604ac5782e01b1525fde93c.jpg resize: (1080, 1632) 1345996494 -3.0879076787889157 treat image : temp/1742562449_3865920_1345996468_5edaa5f386170d19a9071c08c7a50816.jpg resize: (1080, 1632) 1345996468 -5.570881681308211 treat image : temp/1742562449_3865920_1345995684_52a2e82f4d7a0d556599b33c58f30473.jpg resize: (1080, 1632) 1345995684 -6.29306588188976 treat image : temp/1742562449_3865920_1345995682_760f4e33bdbbe9ae809cdb9ee0c5a418.jpg resize: (1080, 1632) 1345995682 -6.29306588188976 treat image : temp/1742562449_3865920_1345995643_4cc9c2ebb633cf56d7bed52deac439e4.jpg resize: (1080, 1632) 1345995643 -6.5147301744024295 treat image : temp/1742562449_3865920_1345995640_2dde9049f62c55fb89c2a723a27b8cfa.jpg resize: (1080, 1632) 1345995640 -6.5147301744024295 treat image : temp/1742562449_3865920_1345995443_06d311e07bd63d3b4a99e212082eb3ac.jpg resize: (1080, 1632) 1345995443 -6.06379238027361 treat image : temp/1742562449_3865920_1345995383_02a5cefa62ddafb93825cf6a7fc12973.jpg resize: (1080, 1632) 1345995383 -6.007320138597496 treat image : temp/1742562449_3865920_1345995337_f52a7b8ef929db27bb32ea4145b8c5f2.jpg resize: (1080, 1632) 1345995337 -4.737802569026331 treat image : temp/1742562449_3865920_1345995285_0a184c52dfe7022a9886e6768a039910.jpg resize: (1080, 1632) 1345995285 -3.9740059765954356 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.012784004211425781 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.011935234069824219 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015865087509155273 save missing photos in datou_result : time spend for datou_step_exec : 18.402010440826416 time spend to save output : 0.045693159103393555 total time spend for step 1 : 18.44770359992981 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 6.33system 0:28.43elapsed 72%CPU (0avgtext+0avgdata 140516maxresident)k 0inputs+11384outputs (9major+262777minor)pagefaults 0swaps