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 : 3728200 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 : 5531>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3728200/ 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.296752691268921 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 11 16:32: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/1752244349_3728200_1371608091_4c518d13f92f8032c22de074a7b25da4.jpg resize: (1080, 1632) 1371608091 -5.880734178213626 treat image : temp/1752244349_3728200_1371608088_25ad450a4f1193ebf55727eed44720b1.jpg resize: (1080, 1632) 1371608088 -5.885691076092569 treat image : temp/1752244349_3728200_1371608085_285cfc18c6e0efbeaf1a84e678d5b17a.jpg resize: (1080, 1632) 1371608085 -5.900605718415268 treat image : temp/1752244349_3728200_1371608081_7e2ceff54ea77462b47c5f621078badc.jpg resize: (1080, 1632) 1371608081 -5.920574260098962 treat image : temp/1752244349_3728200_1371608079_6ea8c695ef596eb261f6d776f7271d0f.jpg resize: (1080, 1632) 1371608079 -5.946133219928686 treat image : temp/1752244349_3728200_1371608074_e899ebb85d044050cf24bf714cd20790.jpg resize: (1080, 1632) 1371608074 -5.958908934770398 treat image : temp/1752244349_3728200_1371608047_17bf18e0e9f71633e54a49609ac06f6a.jpg resize: (1080, 1632) 1371608047 -5.625696751229955 treat image : temp/1752244349_3728200_1371608030_d80f57d2aae993e98795501d12ac12ae.jpg resize: (1080, 1632) 1371608030 -5.770997630614948 treat image : temp/1752244349_3728200_1371608027_acaea42fcfc2ad187cf0d8ca0024bb23.jpg resize: (1080, 1632) 1371608027 -5.761138044966047 treat image : temp/1752244349_3728200_1371608025_16490ca7896ac25c79c28781ee8a70a5.jpg resize: (1080, 1632) 1371608025 -5.744316059947878 treat image : temp/1752244349_3728200_1371608023_0345bf2bc3848fee1964e537453ea068.jpg resize: (1080, 1632) 1371608023 -5.854911299112382 treat image : temp/1752244349_3728200_1371608021_48dfe4bf97436346f8e81bb4aea94f9a.jpg resize: (1080, 1632) 1371608021 -5.847607986599911 treat image : temp/1752244349_3728200_1371607980_b6367758b5f0c7d09c8ce195fd808dbc.jpg resize: (1080, 1632) 1371607980 -5.18821291373381 treat image : temp/1752244349_3728200_1371607973_e64f2c634117c5c2d1e053084c8a3eea.jpg resize: (1080, 1632) 1371607973 -5.190467939355671 treat image : temp/1752244349_3728200_1371607965_b07ca5480357fac19c3c528ff6b7a237.jpg resize: (1080, 1632) 1371607965 -5.210796188911339 treat image : temp/1752244349_3728200_1371607959_a157ae09c82b41a95296e403c3d51b76.jpg resize: (1080, 1632) 1371607959 -5.209596401648235 treat image : temp/1752244349_3728200_1371607956_50b3d478a939d6cf49849c8d9d2e2444.jpg resize: (1080, 1632) 1371607956 -5.215920300594478 treat image : temp/1752244349_3728200_1371607952_56fceed0c9254a92f17f2c6cc8ee042c.jpg resize: (1080, 1632) 1371607952 -5.216689951700751 treat image : temp/1752244349_3728200_1371607943_bd60cbece7e092b3288bf0103f07e644.jpg resize: (1080, 1632) 1371607943 -3.717485500698306 treat image : temp/1752244349_3728200_1371607936_d0d30a4d47c93a59f3a8dc10135af071.jpg resize: (1080, 1632) 1371607936 -5.011063587471322 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.013120174407958984 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.013554811477661133 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015182018280029297 save missing photos in datou_result : time spend for datou_step_exec : 16.648524045944214 time spend to save output : 0.04630756378173828 total time spend for step 1 : 16.694831609725952 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.88user 4.28system 0:22.69elapsed 84%CPU (0avgtext+0avgdata 139148maxresident)k 32inputs+10832outputs (9major+230974minor)pagefaults 0swaps