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 : 1072888 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 updating current state to 1 we have a portfolio with more photos than limit : 1131>100 please execute split_portfolio.py -i 26463903 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3655228'] with mtr_portfolio_ids : ['26463903'] and first list_photo_ids : [] new path : /proc/1072888/ 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.4551563262939453 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 Sep 3 05:47:28 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/1756871246_1072888_1381022120_be831b9b9df636c8d90371bcb333116f_44836597.jpg resize: (1080, 1632) 1381022120 -4.997604598050974 treat image : temp/1756871246_1072888_1381022119_c879bb141dac8a2bd3859baa25322684_37432041.jpg resize: (1080, 1632) 1381022119 -5.713070526676428 treat image : temp/1756871246_1072888_1381022118_217361de31d91bcd39c461c3b8bffa8a_6013242.jpg resize: (1080, 1632) 1381022118 -5.484896728710035 treat image : temp/1756871246_1072888_1381022117_f3248c65932a155c17d7d9bba388c60a_11191287.jpg resize: (1080, 1632) 1381022117 -5.552424349643058 treat image : temp/1756871246_1072888_1381022116_b3ed7099b26c90a335780ee7a7ab8ed0_46234670.jpg resize: (1080, 1632) 1381022116 -3.995207589607502 treat image : temp/1756871246_1072888_1381022095_0778cef0aac5f61d37cc20e124bf4c47_77536185.jpg resize: (1080, 1632) 1381022095 -6.413564928372925 treat image : temp/1756871246_1072888_1381022094_02296aad066e9942032e70e23767d4a2_94564977.jpg resize: (1080, 1632) 1381022094 -6.08642812603598 treat image : temp/1756871246_1072888_1381022093_a21ec1d808097c508de3cc2b641fe083_40621418.jpg resize: (1080, 1632) 1381022093 -4.947751739959031 treat image : temp/1756871246_1072888_1381022092_e29836407bea9f1881132e78ca890c4a_29478515.jpg resize: (1080, 1632) 1381022092 -5.310914104253615 treat image : temp/1756871246_1072888_1381022091_a374638e2d8cc56cfb792835e0a71479_39400552.jpg resize: (1080, 1632) 1381022091 -5.46282869282909 treat image : temp/1756871246_1072888_1381022090_b2d4e984578622cc414f2205dd3d12d8_96384997.jpg resize: (1080, 1632) 1381022090 -5.809000416207859 treat image : temp/1756871246_1072888_1381022083_401109531496f5412d565b0f8e38d7fa_8944857.jpg resize: (1080, 1632) 1381022083 -5.678620023518253 treat image : temp/1756871246_1072888_1381022081_da175f85fafcfaae6ece689f575c34ba_11608691.jpg resize: (1080, 1632) 1381022081 -5.622232266971898 treat image : temp/1756871246_1072888_1381022080_fc80161abe327ba9685a98fb8dee4518_69321722.jpg resize: (1080, 1632) 1381022080 -4.1480246407104655 treat image : temp/1756871246_1072888_1381022079_8ddeb2febe06b4c0a30ad148bfc48770_61058290.jpg resize: (1080, 1632) 1381022079 -5.959668584838199 treat image : temp/1756871246_1072888_1381022078_8fdde10424ec1ba09b6796b557a04b26_76205163.jpg resize: (1080, 1632) 1381022078 -5.484633914117727 treat image : temp/1756871246_1072888_1381022077_3affa4dd74f9b2fafb9de2289a664df5_91556593.jpg resize: (1080, 1632) 1381022077 -5.095511710633765 treat image : temp/1756871246_1072888_1381022039_0778cef0aac5f61d37cc20e124bf4c47_44763951.jpg resize: (1080, 1632) 1381022039 -6.413564928372925 treat image : temp/1756871246_1072888_1381022038_02296aad066e9942032e70e23767d4a2_33320205.jpg resize: (1080, 1632) 1381022038 -6.08642812603598 treat image : temp/1756871246_1072888_1381022037_a21ec1d808097c508de3cc2b641fe083_96488877.jpg resize: (1080, 1632) 1381022037 -4.947751739959031 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.012776374816894531 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.04802370071411133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05575823783874512 save missing photos in datou_result : time spend for datou_step_exec : 14.852443218231201 time spend to save output : 0.12125968933105469 total time spend for step 1 : 14.973702907562256 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.05user 3.21system 0:18.74elapsed 92%CPU (0avgtext+0avgdata 139320maxresident)k 192inputs+10952outputs (10major+255968minor)pagefaults 0swaps