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 : 3998296 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 : 4770>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3998296/ 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.125445604324341 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 Wed Jul 9 21:07: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/1752088048_3998296_1371431175_55f330eaa665ae3e159cbb07e8cc72ee.jpg resize: (1080, 1632) 1371431175 -4.3793639271504885 treat image : temp/1752088048_3998296_1371431174_f49e2ed41c754b0182d64f8ede5d8833.jpg resize: (1080, 1632) 1371431174 -4.3793639271504885 treat image : temp/1752088048_3998296_1371431173_ef05997f706ae1a7c27d53e63be4566d.jpg resize: (1080, 1632) 1371431173 -4.373510036470531 treat image : temp/1752088048_3998296_1371431172_6880ce7f63f4f5f2e442b6716ce06d4d.jpg resize: (1080, 1632) 1371431172 -4.373510036470531 treat image : temp/1752088048_3998296_1371431171_546d34542ff5a7b2bfeeacf59a3dcc80.jpg resize: (1080, 1632) 1371431171 -4.378155230018643 treat image : temp/1752088048_3998296_1371431170_6d627e648d56a839dd31aa7a96132359.jpg resize: (1080, 1632) 1371431170 -4.378155230018643 treat image : temp/1752088048_3998296_1371431168_868b8350c538016d11e691ab765ff622.jpg resize: (1080, 1632) 1371431168 -4.3913425929673195 treat image : temp/1752088048_3998296_1371431167_d324209e9a00bc97f549aa52ca73557c.jpg resize: (1080, 1632) 1371431167 -4.3913425929673195 treat image : temp/1752088048_3998296_1371431166_9e518d1a4da0449db57d086802935fa6.jpg resize: (1080, 1632) 1371431166 -4.382361441278161 treat image : temp/1752088048_3998296_1371431165_b10bfb2843a6842f2396e3cb134a2674.jpg resize: (1080, 1632) 1371431165 -4.382361441278161 treat image : temp/1752088048_3998296_1371431163_1e252ffcc205f2f8015795c2990b7a14.jpg resize: (1080, 1632) 1371431163 -4.383157657649006 treat image : temp/1752088048_3998296_1371431162_9949a99d805622c88a2f2cadfac08200.jpg resize: (1080, 1632) 1371431162 -4.383157657649006 treat image : temp/1752088048_3998296_1371431157_853683cba962c14074ec88a36fec2bf3.jpg resize: (1080, 1632) 1371431157 -2.663969703761378 treat image : temp/1752088048_3998296_1371431156_fec33c6bc8f109a18acf639c0290f77b.jpg resize: (1080, 1632) 1371431156 -2.6727187473362246 treat image : temp/1752088048_3998296_1371431154_e43c97976811fed33fca1ce2aa9713c7.jpg resize: (1080, 1632) 1371431154 -2.68019970528555 treat image : temp/1752088048_3998296_1371431153_0b4334ad78c8978aec29610025d33f83.jpg resize: (1080, 1632) 1371431153 -2.6913527866443885 treat image : temp/1752088048_3998296_1371431152_6779adfb2e6efb671921b0363a692180.jpg resize: (1080, 1632) 1371431152 -2.6612615733227054 treat image : temp/1752088048_3998296_1371431151_6c99eddb6c2c0e3f87a0e3e25eb80a68.jpg resize: (1080, 1632) 1371431151 -2.7017398008263354 treat image : temp/1752088048_3998296_1371431115_818a5b6b61671e16f01cb02b969533d6.jpg resize: (1080, 1632) 1371431115 -4.367689593021756 treat image : temp/1752088048_3998296_1371431113_fcc6d40e10ac7241c265615b532fec70.jpg resize: (1080, 1632) 1371431113 -4.373769597207769 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.014002799987792969 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.012554407119750977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014002799987792969 save missing photos in datou_result : time spend for datou_step_exec : 13.018988132476807 time spend to save output : 0.04542112350463867 total time spend for step 1 : 13.064409255981445 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.87user 1.57system 0:18.18elapsed 84%CPU (0avgtext+0avgdata 142404maxresident)k 0inputs+8552outputs (4major+122970minor)pagefaults 0swaps