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 : 2305511 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 : 3670>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/2305511/ 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.005925416946411 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 23:52: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/1742597548_2305511_1346279019_03d34feb91cef22e79b54f142dd9d9c7.jpg resize: (1080, 1632) 1346279019 -5.159034807558099 treat image : temp/1742597548_2305511_1346279017_fabbe27c3c8eaad62d9727bfe0147d27.jpg resize: (1080, 1632) 1346279017 -5.936124901170965 treat image : temp/1742597548_2305511_1346279013_3fdd1dde0f8b09a6266aaf0feeecaac8.jpg resize: (1080, 1632) 1346279013 -3.559979164670279 treat image : temp/1742597548_2305511_1346279009_f526acec3d6fe6362e597fa1cd3db0e7.jpg resize: (1080, 1632) 1346279009 -1.860604289676523 treat image : temp/1742597548_2305511_1346279006_f8b17ae6cdaa20a3f85341c987e3f0ff.jpg resize: (1080, 1632) 1346279006 -3.320320129281408 treat image : temp/1742597548_2305511_1346279002_46f7130d474711f7af6bb9b8122dac52.jpg resize: (1080, 1632) 1346279002 -3.985977147504686 treat image : temp/1742597548_2305511_1346278995_c881ab97b6c78445be05d878cb1c7517.jpg resize: (1080, 1632) 1346278995 -3.967747805104573 treat image : temp/1742597548_2305511_1346278991_ba012e763541873f2495df6fdce2035d.jpg resize: (1080, 1632) 1346278991 -4.263133028305257 treat image : temp/1742597548_2305511_1346278987_57b628bc644dd96317970037e121d24a.jpg resize: (1080, 1632) 1346278987 -6.158472225532967 treat image : temp/1742597548_2305511_1346278983_61c0f14f43ca37b1facf8b0c1ca887a3.jpg resize: (1080, 1632) 1346278983 -6.30916847693839 treat image : temp/1742597548_2305511_1346278979_b9a3802e51fb8eea9359f4fdbfc0d843.jpg resize: (1080, 1632) 1346278979 -5.103519290852586 treat image : temp/1742597548_2305511_1346278975_dc4c8d2077c521b3b95358353a665256.jpg resize: (1080, 1632) 1346278975 -5.3786531882644795 treat image : temp/1742597548_2305511_1346278863_b1b4a64e1c0901abc0aa62dec9fb9305.jpg resize: (1080, 1632) 1346278863 -5.234686107153086 treat image : temp/1742597548_2305511_1346278860_43e515fd24862b5a1e93366a4da36dae.jpg resize: (1080, 1632) 1346278860 -6.357308989865115 treat image : temp/1742597548_2305511_1346278856_00b846012799a4c93f0570f0f892a0c1.jpg resize: (1080, 1632) 1346278856 -3.9579846210811507 treat image : temp/1742597548_2305511_1346278853_8b556f9c0c384a2095cb0f1c69039d7c.jpg resize: (1080, 1632) 1346278853 -2.4059539801671117 treat image : temp/1742597548_2305511_1346278823_61b507016ac9ffd33e3e60d6f9e9fe2a.jpg resize: (1080, 1632) 1346278823 -3.1604610259145924 treat image : temp/1742597548_2305511_1346278820_c73a16bcf446e050e5cfb383af95d292.jpg resize: (1080, 1632) 1346278820 -4.766677170902064 treat image : temp/1742597548_2305511_1346278817_46e2cd8cb4b92d9001ddb9030a812dad.jpg resize: (1080, 1632) 1346278817 -6.241798759039627 treat image : temp/1742597548_2305511_1346278813_b86783eb8cb900e816f36b17217ddfc3.jpg resize: (1080, 1632) 1346278813 -5.665503846582994 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.013703346252441406 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.013182640075683594 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02263641357421875 save missing photos in datou_result : time spend for datou_step_exec : 16.566275119781494 time spend to save output : 0.0545499324798584 total time spend for step 1 : 16.620825052261353 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.58user 4.43system 0:21.70elapsed 87%CPU (0avgtext+0avgdata 138756maxresident)k 120inputs+10312outputs (0major+257334minor)pagefaults 0swaps