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 : 2865012 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/2865012/ 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.0041801929473877 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 06:57: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/1752814647_2865012_1372325213_61c10cd72a3163545425e813a1657c0f.jpg resize: (1080, 1632) 1372325213 -2.2061538451989566 treat image : temp/1752814647_2865012_1372325210_d254e45e8c9bd97f5dcd7978d56b648f.jpg resize: (1080, 1632) 1372325210 -0.7915843943450538 treat image : temp/1752814647_2865012_1372325207_7a8e0de3b194f65f20a7e0e42665c0c7.jpg resize: (1080, 1632) 1372325207 -4.368301135088312 treat image : temp/1752814647_2865012_1372325206_92d3ff062376b630496cbd6d0af71406.jpg resize: (1080, 1632) 1372325206 -5.895103727110055 treat image : temp/1752814647_2865012_1372325204_1d6158d6a4e175cfe4695d190c9b5973.jpg resize: (1080, 1632) 1372325204 -5.56299427071345 treat image : temp/1752814647_2865012_1372325200_e9c5d9a18c74b76814e7f34c93889ece.jpg resize: (1080, 1632) 1372325200 -5.759867364635659 treat image : temp/1752814647_2865012_1372325175_a52d95edefd7413e997c13133f1cc5ac.jpg resize: (1080, 1632) 1372325175 -3.495626435499039 treat image : temp/1752814647_2865012_1372325173_5003ecff2df73d64551cd936c9e1e7b0.jpg resize: (1080, 1632) 1372325173 -4.5038458842550275 treat image : temp/1752814647_2865012_1372325172_16f8b75dbaa4616fc9e6bce6ca03136e.jpg resize: (1080, 1632) 1372325172 -5.945964770825952 treat image : temp/1752814647_2865012_1372325170_a938b4ebb6cacff973234a9aaa33a4db.jpg resize: (1080, 1632) 1372325170 2.313691691218278 treat image : temp/1752814647_2865012_1372325168_8ecc21428d1eb47c23cece4194157664.jpg resize: (1080, 1632) 1372325168 -1.7401244258132442 treat image : temp/1752814647_2865012_1372325166_f481c45c6a365849039467d8e36695c6.jpg resize: (1080, 1632) 1372325166 -2.6427682462242474 treat image : temp/1752814647_2865012_1372325139_000bbb67e495ba34c953981afc74b3d9.jpg resize: (1080, 1632) 1372325139 -6.058245670395373 treat image : temp/1752814647_2865012_1372325137_9e00b436f50194c52adefd24a21eeb93.jpg resize: (1080, 1632) 1372325137 -5.546941161422031 treat image : temp/1752814647_2865012_1372325135_5521a4e1d99b1244b5b0966dcf9f99b0.jpg resize: (1080, 1632) 1372325135 -6.692235899838551 treat image : temp/1752814647_2865012_1372325134_d1388af7eb48eff7aba7bef7b8206fbc.jpg resize: (1080, 1632) 1372325134 -5.889128358616865 treat image : temp/1752814647_2865012_1372325132_2c13b033d77dee0b451a6d76593c847f.jpg resize: (1080, 1632) 1372325132 -6.021204996233058 treat image : temp/1752814647_2865012_1372325131_8be5244806fefef2c7132a98a194a7ef.jpg resize: (1080, 1632) 1372325131 -5.2351027749757275 treat image : temp/1752814647_2865012_1372325115_c3129b84cda6910a3e6d1be37052b98b.jpg resize: (1080, 1632) 1372325115 -5.915698028569529 treat image : temp/1752814647_2865012_1372325112_3a5217f02ab8ef0204cd8a18e7db1ea8.jpg resize: (1080, 1632) 1372325112 -1.0573265260387374 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.01480555534362793 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.017083168029785156 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021803855895996094 save missing photos in datou_result : time spend for datou_step_exec : 17.099814414978027 time spend to save output : 0.05824160575866699 total time spend for step 1 : 17.158056020736694 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 5.72system 0:22.13elapsed 90%CPU (0avgtext+0avgdata 138224maxresident)k 56inputs+9536outputs (4major+262312minor)pagefaults 0swaps