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 : 4128997 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 : 3570>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/4128997/ 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.6675779819488525 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 Thu Jul 17 10:42: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/1752741747_4128997_1372348105_d528939f8886370ba9b0b1d9487d700f.jpg resize: (1080, 1632) 1372348105 -2.4377401451917016 treat image : temp/1752741747_4128997_1372348085_6320ed2ab2bbc175b6ef240f43872c1b.jpg resize: (1080, 1632) 1372348085 -2.42909829352754 treat image : temp/1752741747_4128997_1372348081_ee65e157e59ad7167ccbd75a115f1f89.jpg resize: (1080, 1632) 1372348081 -2.4379712209084157 treat image : temp/1752741747_4128997_1372348077_0d42700a1a09a8e8dbde0e9f4d67795d.jpg resize: (1080, 1632) 1372348077 -2.432271100716258 treat image : temp/1752741747_4128997_1372348075_6e1352f762a448eae9464d71e7ea247d.jpg resize: (1080, 1632) 1372348075 -2.4358095117246368 treat image : temp/1752741747_4128997_1372348072_14d4a9abf96182d493901101694cf7d4.jpg resize: (1080, 1632) 1372348072 -2.442269058493809 treat image : temp/1752741747_4128997_1372348070_6e73a862c6f99ec904ffa24b55e041ef.jpg resize: (1080, 1632) 1372348070 -2.4238321111751007 treat image : temp/1752741747_4128997_1372348041_88793d092b1a675a1bbd802dee8b0101.jpg resize: (1080, 1632) 1372348041 -2.466397247970006 treat image : temp/1752741747_4128997_1372348038_e116d0ac91e843c91ae2e569c8634270.jpg resize: (1080, 1632) 1372348038 -2.493850021058011 treat image : temp/1752741747_4128997_1372348036_a9d77e9f71ba4c839ef45bddd2e13021.jpg resize: (1080, 1632) 1372348036 -2.485644589603824 treat image : temp/1752741747_4128997_1372348033_fe45c90b9b65c4bc8ba6e55d19538563.jpg resize: (1080, 1632) 1372348033 -2.465779485412468 treat image : temp/1752741747_4128997_1372348031_eb273f772faccb9aebd3961cc8f55108.jpg resize: (1080, 1632) 1372348031 -2.448994635634369 treat image : temp/1752741747_4128997_1372348029_c4ad248ca440897b518792939b356974.jpg resize: (1080, 1632) 1372348029 -2.4413843218369484 treat image : temp/1752741747_4128997_1372348008_b1e3ad6d9ab16e17cefb222921b64ea5.jpg resize: (1080, 1632) 1372348008 -2.5229151843593383 treat image : temp/1752741747_4128997_1372348003_700d3f60e2b3592fce0d8d9f4d75860a.jpg resize: (1080, 1632) 1372348003 -2.5561823195846505 treat image : temp/1752741747_4128997_1372347999_36a7c2ae1040fe77054ca21fb213f4e7.jpg resize: (1080, 1632) 1372347999 -2.650578006508933 treat image : temp/1752741747_4128997_1372347998_8d080b9f376c52ed266a0bba81d791f9.jpg resize: (1080, 1632) 1372347998 -2.389087244086364 treat image : temp/1752741747_4128997_1372347996_cdf9d2a45c1dbf8666adefbecd7881a1.jpg resize: (1080, 1632) 1372347996 -2.4151313039330335 treat image : temp/1752741747_4128997_1372347994_66d50ed64701a6df6c431fcc7e9037a1.jpg resize: (1080, 1632) 1372347994 -2.441934386418408 treat image : temp/1752741747_4128997_1372347974_d025ad4574b1494716dd4a5f57b27e37.jpg resize: (1080, 1632) 1372347974 -4.9109703220897085 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.019406795501708984 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.02048039436340332 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023860931396484375 save missing photos in datou_result : time spend for datou_step_exec : 14.358205556869507 time spend to save output : 0.06984639167785645 total time spend for step 1 : 14.428051948547363 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.85user 2.82system 0:19.79elapsed 84%CPU (0avgtext+0avgdata 139700maxresident)k 0inputs+7048outputs (4major+254460minor)pagefaults 0swaps