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 : 826655 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 : 5831>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/826655/ 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 : 4.2761311531066895 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 Thu Jul 17 17:27:32 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/1752766048_826655_1372336901_1edbf281feb373f239cf7d44a1e25a16.jpg resize: (1080, 1632) 1372336901 -4.102473726336899 treat image : temp/1752766048_826655_1372336878_92bd6ea2e87abe8852e229351d0981ec.jpg resize: (1080, 1632) 1372336878 -5.020459036595581 treat image : temp/1752766048_826655_1372336875_05baa298db6160043a954cdfa2ae6555.jpg resize: (1080, 1632) 1372336875 -5.0251306422959825 treat image : temp/1752766048_826655_1372336873_97d37377e934c2d86513ab58c2c802db.jpg resize: (1080, 1632) 1372336873 -5.017764334366532 treat image : temp/1752766048_826655_1372336871_cfdb9ef47f3d9eb92f7ad967dcd89a56.jpg resize: (1080, 1632) 1372336871 -5.147033548400892 treat image : temp/1752766048_826655_1372336869_8741d1a49982b5a0129c1ac45165d5f9.jpg resize: (1080, 1632) 1372336869 -5.236631951744293 treat image : temp/1752766048_826655_1372336867_418b18ac9bcee5b5f37a10c862d773b3.jpg resize: (1080, 1632) 1372336867 -5.216906080990147 treat image : temp/1752766048_826655_1372336846_d6e6cc99e4bdcdb38574eaa5dc8d1087.jpg resize: (1080, 1632) 1372336846 -5.243730277418276 treat image : temp/1752766048_826655_1372336844_7a55a48db8f546cfce10b6e73cf35cf5.jpg resize: (1080, 1632) 1372336844 -3.35300121679437 treat image : temp/1752766048_826655_1372336842_198a51cb0c27914b75a7cf974aea7bb5.jpg resize: (1080, 1632) 1372336842 -5.03060431380953 treat image : temp/1752766048_826655_1372336841_52f53e941f8f53755d6c7c16ffb1460e.jpg resize: (1080, 1632) 1372336841 -5.0073364091656405 treat image : temp/1752766048_826655_1372336838_1c35ff70dc91697d66184033e61cef3a.jpg resize: (1080, 1632) 1372336838 -5.018781570365741 treat image : temp/1752766048_826655_1372336835_6cc1c95c781c20871fd4500abab73c1f.jpg resize: (1080, 1632) 1372336835 -5.010966882094591 treat image : temp/1752766048_826655_1372336814_00d005d90632448e80544d920890e949.jpg resize: (1080, 1632) 1372336814 -5.3008187546092564 treat image : temp/1752766048_826655_1372336812_a4e6117aee3bee0c3a493ecdaed0d44a.jpg resize: (1080, 1632) 1372336812 -5.299083307435733 treat image : temp/1752766048_826655_1372336810_5757a7d0d75b374a866e82e6a333d399.jpg resize: (1080, 1632) 1372336810 -5.271873694426656 treat image : temp/1752766048_826655_1372336808_ff4f6051d11120b01a9cd40aa1e81400.jpg resize: (1080, 1632) 1372336808 -5.275654503992505 treat image : temp/1752766048_826655_1372336807_70686a44f7fd61ec9cc47ecd73d9bb60.jpg resize: (1080, 1632) 1372336807 -5.2779673256796285 treat image : temp/1752766048_826655_1372336805_109eef7295d844874f28350873b8862a.jpg resize: (1080, 1632) 1372336805 -5.270313026113553 treat image : temp/1752766048_826655_1372336781_109475568bad272460ff49b701114520.jpg resize: (1080, 1632) 1372336781 -4.392024740812717 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.023469924926757812 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.02362513542175293 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.029013395309448242 save missing photos in datou_result : time spend for datou_step_exec : 16.754901885986328 time spend to save output : 0.08626556396484375 total time spend for step 1 : 16.841167449951172 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.74user 4.50system 0:23.59elapsed 81%CPU (0avgtext+0avgdata 138752maxresident)k 120inputs+9392outputs (11major+252451minor)pagefaults 0swaps