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 : 548096 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 : 9251>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/548096/ 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.3164291381835938 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 22:37:29 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/1752266246_548096_1371700775_2b37289dc01ba4fce9a416809ff26ebc.jpg resize: (1080, 1632) 1371700775 -5.437522731045765 treat image : temp/1752266246_548096_1371700711_d2bce2a3c9418a5123d8a052afb9fd1e.jpg resize: (1080, 1632) 1371700711 -5.446216753294815 treat image : temp/1752266246_548096_1371700682_3cdc9acb2e170d47dbc950d4d555134d.jpg resize: (1080, 1632) 1371700682 -5.423984543884059 treat image : temp/1752266246_548096_1371700653_f06df6e6d39384ef72fdaf792c8ead0c.jpg resize: (1080, 1632) 1371700653 -5.440544470707785 treat image : temp/1752266246_548096_1371700613_1d07d2030e9d6a2ed7bc6547d04315b2.jpg resize: (1080, 1632) 1371700613 -5.4235200638230365 treat image : temp/1752266246_548096_1371700582_755e7c85cd0ba30682c5bf2fe3b8d947.jpg resize: (1080, 1632) 1371700582 -5.439041823056747 treat image : temp/1752266246_548096_1371700389_780a4b0cc84ff6c71694b08d247a4026.jpg resize: (1080, 1632) 1371700389 -4.388960184221859 treat image : temp/1752266246_548096_1371700343_f479e64030aa8111e4e701266ffbe3be.jpg resize: (1080, 1632) 1371700343 -3.126864991705932 treat image : temp/1752266246_548096_1371700317_330ab4d9c07062e9c4bd94c1bde34bdb.jpg resize: (1080, 1632) 1371700317 -1.474141191698419 treat image : temp/1752266246_548096_1371700293_dbc228b6dd64bb4571fb3e82118c11bc.jpg resize: (1080, 1632) 1371700293 -1.6483786792435822 treat image : temp/1752266246_548096_1371700291_226c3a4215f3a33801e01e28c12a723c.jpg resize: (1080, 1632) 1371700291 -2.429406196821869 treat image : temp/1752266246_548096_1371700277_443ce0643c82155404fa549481422c4a.jpg resize: (1080, 1632) 1371700277 -2.4734455275036678 treat image : temp/1752266246_548096_1371698147_eb508a71413bba4ea1feb30f623287d4.jpg resize: (1080, 1632) 1371698147 -5.262562922644899 treat image : temp/1752266246_548096_1371698089_582b74adb25e9a35775c550e750c3efc.jpg resize: (1080, 1632) 1371698089 -5.098186453075255 treat image : temp/1752266246_548096_1371698017_e51624d77be2d13b5222feb922234b6b.jpg resize: (1080, 1632) 1371698017 -5.775640694306083 treat image : temp/1752266246_548096_1371697971_3dd971e4b25c95952f1542dbeced1ef5.jpg resize: (1080, 1632) 1371697971 -5.79667636634947 treat image : temp/1752266246_548096_1371697860_7b51f7934fb1574fe439b1f22f9f5d40.jpg resize: (1080, 1632) 1371697860 -5.439498952037142 treat image : temp/1752266246_548096_1371697831_e80fb931d40b3f24bfc5696958d8c80c.jpg resize: (1080, 1632) 1371697831 -5.442515975666399 treat image : temp/1752266246_548096_1371697804_91f01b2009dca3b796b2178d5e78c371.jpg resize: (1080, 1632) 1371697804 -5.4486772509417705 treat image : temp/1752266246_548096_1371697772_4f7b43839547cf7a094d8ea2c0fbda93.jpg resize: (1080, 1632) 1371697772 -5.441458753756978 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.014424324035644531 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.012313127517700195 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014875411987304688 save missing photos in datou_result : time spend for datou_step_exec : 18.83968496322632 time spend to save output : 0.046594858169555664 total time spend for step 1 : 18.886279821395874 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.73user 6.62system 0:23.24elapsed 91%CPU (0avgtext+0avgdata 138020maxresident)k 11200inputs+9408outputs (78major+260048minor)pagefaults 0swaps