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 : 1140668 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 : 695>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1140668/ 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.258208990097046 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 Mon May 12 07:47: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/1747028847_1140668_1357602415_5a775b28d3a48c8d86d3e20781c1174a.jpg resize: (1080, 1632) 1357602415 -1.5680150142142246 treat image : temp/1747028847_1140668_1357602406_7379b8e1d26b1fb45a15b82684438664.jpg resize: (1080, 1632) 1357602406 -2.5054124712800463 treat image : temp/1747028847_1140668_1357602398_e8fc8f4c9aff5e043aa0ccdbbfe27735.jpg resize: (1080, 1632) 1357602398 -3.8796953227672444 treat image : temp/1747028847_1140668_1357602366_3ca77dcfbcf0eee37e46993ed0047cbe.jpg resize: (1080, 1632) 1357602366 -4.840492268127146 treat image : temp/1747028847_1140668_1357602364_353fdb80846c84f625adcd8803ea1817.jpg resize: (1080, 1632) 1357602364 -4.578477181631048 treat image : temp/1747028847_1140668_1357602361_7076292fa15730fe0f5070bc648cceaf.jpg resize: (1080, 1632) 1357602361 -6.490231141215545 treat image : temp/1747028847_1140668_1357602358_04148fb7107c13bf7a446ccaf5dff028.jpg resize: (1080, 1632) 1357602358 -5.992063597024748 treat image : temp/1747028847_1140668_1357602352_cdda65494203503b61f325cab9021d93.jpg resize: (1080, 1632) 1357602352 -1.027814122841757 treat image : temp/1747028847_1140668_1357602311_00e4b79e1b1632b54ea3ccca4bb891dc.jpg resize: (1080, 1632) 1357602311 -6.642078138994236 treat image : temp/1747028847_1140668_1357602305_26fdad9e7ba15a319e9e73485c1c92df.jpg resize: (1080, 1632) 1357602305 -5.242973211628937 treat image : temp/1747028847_1140668_1357602300_77380c730dfeaa5becb0a3fcb963ea8a.jpg resize: (1080, 1632) 1357602300 -5.889584663298267 treat image : temp/1747028847_1140668_1357602296_70a240abcb17ca9b56e033f1d31db9a1.jpg resize: (1080, 1632) 1357602296 -5.86900628604185 treat image : temp/1747028847_1140668_1357602269_579006c8cd18fb0efd709579911adb3a.jpg resize: (1080, 1632) 1357602269 -1.8826470652310325 treat image : temp/1747028847_1140668_1357602267_ec0d333b972f3c374bf0b2b42388afa4.jpg resize: (1080, 1632) 1357602267 -2.013366973897979 treat image : temp/1747028847_1140668_1357602264_dab21f8e0347d4fb7ffdbfa215139822.jpg resize: (1080, 1632) 1357602264 -2.764561177132439 treat image : temp/1747028847_1140668_1357602262_ca301640f85055037e99ca19f5a2397f.jpg resize: (1080, 1632) 1357602262 -6.072423457068168 treat image : temp/1747028847_1140668_1357602087_6bb70f917afc7e7392e4faff4b649cd0.jpg resize: (1080, 1632) 1357602087 -6.0040198960828475 treat image : temp/1747028847_1140668_1357601076_61e38767078e69a14ad9126e2e3ca95c.jpg resize: (1080, 1632) 1357601076 -5.406354033962062 treat image : temp/1747028847_1140668_1357600883_37da1b0f1ff56bffd2cd951d86c561be.jpg resize: (1080, 1632) 1357600883 -5.871324457250407 treat image : temp/1747028847_1140668_1357600881_f5a6a4fdf1210dde3c02645a982c944f.jpg resize: (1080, 1632) 1357600881 -6.25371040296997 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.013781070709228516 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.013007879257202148 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01879715919494629 save missing photos in datou_result : time spend for datou_step_exec : 16.226593494415283 time spend to save output : 0.05020475387573242 total time spend for step 1 : 16.276798248291016 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.43user 4.41system 0:21.53elapsed 87%CPU (0avgtext+0avgdata 140744maxresident)k 8inputs+10256outputs (4major+259812minor)pagefaults 0swaps