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 : 2326184 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 : 3718>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/2326184/ 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.3185994625091553 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:57:31 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/1742597848_2326184_1346279257_0d8bf6a4d06dcc67ac2c480a0b1ddbb0.jpg resize: (1080, 1632) 1346279257 -5.823838110120897 treat image : temp/1742597848_2326184_1346279254_d265eeec9911bd97160766bbfe6192fa.jpg resize: (1080, 1632) 1346279254 -3.351996679614485 treat image : temp/1742597848_2326184_1346279251_15467a173a2595736299a2d00d52e48c.jpg resize: (1080, 1632) 1346279251 -1.8035966456000383 treat image : temp/1742597848_2326184_1346279248_9f5dc3f1e77b1fb70e06395b12c79aac.jpg resize: (1080, 1632) 1346279248 -5.118918169314242 treat image : temp/1742597848_2326184_1346279237_989d0a30680f93af08f3e3cd89aae7e2.jpg resize: (1080, 1632) 1346279237 -6.3263096011190365 treat image : temp/1742597848_2326184_1346279231_ddf8e7a29a31a053def7951970aba318.jpg resize: (1080, 1632) 1346279231 -6.0190665624321005 treat image : temp/1742597848_2326184_1346279226_d0103a3f8bcf427713e03b96891e334c.jpg resize: (1080, 1632) 1346279226 -6.067377976231762 treat image : temp/1742597848_2326184_1346279219_9e577e4fb35c0315d1747b97259a691d.jpg resize: (1080, 1632) 1346279219 -6.329961428283502 treat image : temp/1742597848_2326184_1346279213_17c9447df1035144e46a9787cce287d6.jpg resize: (1080, 1632) 1346279213 -6.064032076877556 treat image : temp/1742597848_2326184_1346279192_f72b3930c87536b6e63af47ef12d9a4b.jpg resize: (1080, 1632) 1346279192 -5.741714503939755 treat image : temp/1742597848_2326184_1346279185_8f08a26aabd739144c068327986bdebb.jpg resize: (1080, 1632) 1346279185 -6.429142038932125 treat image : temp/1742597848_2326184_1346279182_db76b0933dc61762832a574dda60d76e.jpg resize: (1080, 1632) 1346279182 -6.176023211545571 treat image : temp/1742597848_2326184_1346279179_eb4c6c345210c278ab997dd1e59db02f.jpg resize: (1080, 1632) 1346279179 -3.151536811496027 treat image : temp/1742597848_2326184_1346279174_6af27ab5a296f5a1a534b88f13a31acb.jpg resize: (1080, 1632) 1346279174 -1.5353488982254409 treat image : temp/1742597848_2326184_1346279170_37ec8aa64fe916c68e65ace9a84f24af.jpg resize: (1080, 1632) 1346279170 -2.8245764398994835 treat image : temp/1742597848_2326184_1346279168_50e046b91fc9559a753c3a041c88221c.jpg resize: (1080, 1632) 1346279168 -3.731308767874241 treat image : temp/1742597848_2326184_1346279124_da44f3d80521ee72c2d971519726208c.jpg resize: (1080, 1632) 1346279124 -5.353518102008536 treat image : temp/1742597848_2326184_1346279112_882548a539ac908ed9bd8162eb7a132f.jpg resize: (1080, 1632) 1346279112 -4.770625465343848 treat image : temp/1742597848_2326184_1346279098_c4570d8ef7928158827a693b244a8c42.jpg resize: (1080, 1632) 1346279098 -4.848867064770902 treat image : temp/1742597848_2326184_1346279083_c2fd84a257dcabdc5448017e1e8925a8.jpg resize: (1080, 1632) 1346279083 -5.398606617412452 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.05558967590332031 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.011778116226196289 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01404714584350586 save missing photos in datou_result : time spend for datou_step_exec : 17.146423816680908 time spend to save output : 0.08662009239196777 total time spend for step 1 : 17.233043909072876 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.51user 5.37system 0:22.61elapsed 87%CPU (0avgtext+0avgdata 138168maxresident)k 96inputs+10920outputs (18major+256793minor)pagefaults 0swaps