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 : 4116506 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 : 6953>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/4116506/ 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.4425947666168213 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 18:52: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/1752252746_4116506_1371639305_a0a47ef69197007ca026001513860ce4.jpg resize: (1080, 1632) 1371639305 -4.941596943528523 treat image : temp/1752252746_4116506_1371639279_179a1a64ce3d3083d2bc697eb9321ef1.jpg resize: (1080, 1632) 1371639279 -5.186404550493004 treat image : temp/1752252746_4116506_1371639249_5bc91a9320331a39aa415aa9c532df88.jpg resize: (1080, 1632) 1371639249 -4.850159532145332 treat image : temp/1752252746_4116506_1371639218_864fb3609429f949ae31844d30b72a1d.jpg resize: (1080, 1632) 1371639218 -4.986068716452778 treat image : temp/1752252746_4116506_1371639188_60b15b7b2eb49a0a8c8b8ec5461dff89.jpg resize: (1080, 1632) 1371639188 -5.156852732203773 treat image : temp/1752252746_4116506_1371639162_a2471c5bf5c7a7fadfccb79df316ca0d.jpg resize: (1080, 1632) 1371639162 -4.946170543470489 treat image : temp/1752252746_4116506_1371639091_296d320ea02ac11d8b85a64649f15846.jpg resize: (1080, 1632) 1371639091 -5.182135257081856 treat image : temp/1752252746_4116506_1371639089_f049eb4e69e1325a7b0a5a8c2a29dd3f.jpg resize: (1080, 1632) 1371639089 -5.171368235001843 treat image : temp/1752252746_4116506_1371639086_b26361448bdf51dfd60c849c78ca96d4.jpg resize: (1080, 1632) 1371639086 -5.199589408117058 treat image : temp/1752252746_4116506_1371639083_4b74b044303d86db1c609d0f430fa06b.jpg resize: (1080, 1632) 1371639083 -5.193711523136192 treat image : temp/1752252746_4116506_1371639063_a50d520a8209cf8edda7f4081dfb6af1.jpg resize: (1080, 1632) 1371639063 -5.213565156703437 treat image : temp/1752252746_4116506_1371639031_01801aa937f87e46eeb75be6279b8e09.jpg resize: (1080, 1632) 1371639031 -5.228092102620337 treat image : temp/1752252746_4116506_1371637926_465bbb536a37de9e6d1ad0c8d7314af3.jpg resize: (1080, 1632) 1371637926 -5.369270962070066 treat image : temp/1752252746_4116506_1371637918_5ece5e01d350f28be2c35ace8629b6f5.jpg resize: (1080, 1632) 1371637918 -5.785984082776044 treat image : temp/1752252746_4116506_1371637905_28d0c5bfc002fc09f4a57a560a709043.jpg resize: (1080, 1632) 1371637905 -5.0654570991002155 treat image : temp/1752252746_4116506_1371637902_459b02a210673ad31fc2c6a072549279.jpg resize: (1080, 1632) 1371637902 -4.729100049688741 treat image : temp/1752252746_4116506_1371637882_ef331af46589c1d00b6833edd0f439e6.jpg resize: (1080, 1632) 1371637882 -5.135333684933148 treat image : temp/1752252746_4116506_1371637861_fd9b5b20f40862bc573b03f442b83065.jpg resize: (1080, 1632) 1371637861 -5.1336115860804945 treat image : temp/1752252746_4116506_1371637832_5a741136d1c5e1850a46c2af1d8def65.jpg resize: (1080, 1632) 1371637832 -5.1556769798087085 treat image : temp/1752252746_4116506_1371637803_83ce0eeaaafca6daa262df6be28e7e3f.jpg resize: (1080, 1632) 1371637803 -5.146419480014002 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.012566804885864258 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.011998891830444336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01387166976928711 save missing photos in datou_result : time spend for datou_step_exec : 17.893721342086792 time spend to save output : 0.043070077896118164 total time spend for step 1 : 17.93679141998291 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.67user 5.26system 0:22.27elapsed 89%CPU (0avgtext+0avgdata 139464maxresident)k 16inputs+10168outputs (4major+261372minor)pagefaults 0swaps