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 : 3310867 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/3310867/ 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 : 3.298353433609009 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 18 09: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/1752825447_3310867_1372322527_23b770760250fc9f6f936ecb3a95aaab.jpg resize: (1080, 1632) 1372322527 -2.404704514991718 treat image : temp/1752825447_3310867_1372322509_ff4a1fd6c114092ebb285431460f8970.jpg resize: (1080, 1632) 1372322509 -5.379207938970302 treat image : temp/1752825447_3310867_1372322505_edf0c09394965550f94d1a00dd78cb4d.jpg resize: (1080, 1632) 1372322505 -3.1397874787939006 treat image : temp/1752825447_3310867_1372322502_f06e7224932bc49aaafcf01ff45cd214.jpg resize: (1080, 1632) 1372322502 -4.9785355470908605 treat image : temp/1752825447_3310867_1372322498_7b3bc4f13a64496086fe2a42daf7e5ba.jpg resize: (1080, 1632) 1372322498 -5.344183560529702 treat image : temp/1752825447_3310867_1372322495_dbf999c774c6a0d01ccf071cd09b29c1.jpg resize: (1080, 1632) 1372322495 -3.4353961416727072 treat image : temp/1752825447_3310867_1372322492_a62e1b1f3940b73328f0082abe4edcf5.jpg resize: (1080, 1632) 1372322492 -5.492846300301986 treat image : temp/1752825447_3310867_1372322475_0bec7a621ba9ed21d98e889a49467401.jpg resize: (1080, 1632) 1372322475 -1.8239078923533594 treat image : temp/1752825447_3310867_1372322472_40c90986b0f630f1cc07fed31dffa386.jpg resize: (1080, 1632) 1372322472 -2.3033365630618934 treat image : temp/1752825447_3310867_1372322468_4dd8dc7143f03fbea27084eab190247e.jpg resize: (1080, 1632) 1372322468 -2.304852236304688 treat image : temp/1752825447_3310867_1372322466_d5cf5584b9fee4c0c87f4395c40f1046.jpg resize: (1080, 1632) 1372322466 -2.136291663469616 treat image : temp/1752825447_3310867_1372322463_ce7f2929aac86dd3f057c1de58f673bc.jpg resize: (1080, 1632) 1372322463 -5.556524336757158 treat image : temp/1752825447_3310867_1372322460_58f0bf113beb4c7bd8454b2c834a728b.jpg resize: (1080, 1632) 1372322460 -5.758071518540552 treat image : temp/1752825447_3310867_1372322442_ead6012b42e90e09e24dfe9dcec4cfec.jpg resize: (1080, 1632) 1372322442 -5.7373961506693725 treat image : temp/1752825447_3310867_1372322439_c11db73716b77b09a5a4836b05755918.jpg resize: (1080, 1632) 1372322439 -4.049477427760628 treat image : temp/1752825447_3310867_1372322435_26cd64bea75322e32abb410d9f367888.jpg resize: (1080, 1632) 1372322435 -3.3736472928613965 treat image : temp/1752825447_3310867_1372322431_3fc9f6e1e14a28c0f1dc6e4fc11b0f75.jpg resize: (1080, 1632) 1372322431 -4.533389424316669 treat image : temp/1752825447_3310867_1372322428_28894c4e70477374c9fed744ebbadf05.jpg resize: (1080, 1632) 1372322428 -5.027297550825443 treat image : temp/1752825447_3310867_1372322426_d9baf4d24895f9adecc738f375986783.jpg resize: (1080, 1632) 1372322426 -5.477899530963684 treat image : temp/1752825447_3310867_1372322389_a5a56e383439f02b79fc2203153971bb.jpg resize: (1080, 1632) 1372322389 -3.7712081280838388 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.013168573379516602 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.07413983345031738 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05080223083496094 save missing photos in datou_result : time spend for datou_step_exec : 16.609933853149414 time spend to save output : 0.14290475845336914 total time spend for step 1 : 16.752838611602783 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.76user 5.30system 0:23.28elapsed 81%CPU (0avgtext+0avgdata 139084maxresident)k 96inputs+9096outputs (1major+255546minor)pagefaults 0swaps