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 : 1418117 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 : 2509>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1418117/ 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.2894442081451416 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 Aug 21 23:17: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/1755811049_1418117_1378339025_5ac1cbb23a9ef03380fbcae13eaac043.jpg resize: (1080, 1632) 1378339025 -3.092905555138415 treat image : temp/1755811049_1418117_1378338965_719063fd8432a68df3aebce1dca28d5c.jpg resize: (1080, 1632) 1378338965 -4.480520625052549 treat image : temp/1755811049_1418117_1378338876_7bb910ff033fcacbad49f7e3b44a0124.jpg resize: (1080, 1632) 1378338876 -2.7640634830193895 treat image : temp/1755811049_1418117_1378338762_9643c3e0f2f93fe28204b75c8b2a8107.jpg resize: (1080, 1632) 1378338762 -1.356713089304697 treat image : temp/1755811049_1418117_1378338693_25d0835d1517189115d1aecbfe0fe8bf.jpg resize: (1080, 1632) 1378338693 -3.1337223344474254 treat image : temp/1755811049_1418117_1378338635_76ee0ff16b6b58d97644f4240cd1e29a.jpg resize: (1080, 1632) 1378338635 -0.6627854098039672 treat image : temp/1755811049_1418117_1378338351_77a2751adbd232582ac1653f6b726a09.jpg resize: (1080, 1632) 1378338351 -4.732119761897886 treat image : temp/1755811049_1418117_1378338253_19053ae3e1a15f275f07b071b18a5a7d.jpg resize: (1080, 1632) 1378338253 -5.013306966556936 treat image : temp/1755811049_1418117_1378338158_f3bbf89579276d3acd4f00def98d6fd3.jpg resize: (1080, 1632) 1378338158 -5.207836866156102 treat image : temp/1755811049_1418117_1378338058_4b9cd4cccee4f6517321a17cf87a78bb.jpg resize: (1080, 1632) 1378338058 -3.1354016048762032 treat image : temp/1755811049_1418117_1378337940_78b2f182bac957fb396170f7b78ae628.jpg resize: (1080, 1632) 1378337940 -4.522817591290359 treat image : temp/1755811049_1418117_1378337826_c8b4a22ddb20a1ef884154559d18fa10.jpg resize: (1080, 1632) 1378337826 -6.5103176953842175 treat image : temp/1755811049_1418117_1378336971_63bccd24bf5c6e8760a28459490bd5f3.jpg resize: (1080, 1632) 1378336971 -3.092905555138415 treat image : temp/1755811049_1418117_1378336919_abc435971a0dd0ab4d1f3532171767e8.jpg resize: (1080, 1632) 1378336919 -4.480520625052549 treat image : temp/1755811049_1418117_1378336871_854ea8af9573bb4382162a97da02b2e3.jpg resize: (1080, 1632) 1378336871 -2.7640634830193895 treat image : temp/1755811049_1418117_1378336815_55c5e9f6e4593c21ab010adceca73502.jpg resize: (1080, 1632) 1378336815 -1.356713089304697 treat image : temp/1755811049_1418117_1378336733_310e130475b88968b94c6ebb154bf6fc.jpg resize: (1080, 1632) 1378336733 -3.1337223344474254 treat image : temp/1755811049_1418117_1378336682_1dc5559d4179b37c98317f33f33eed2f.jpg resize: (1080, 1632) 1378336682 -0.6627854098039672 treat image : temp/1755811049_1418117_1378304539_d5c633670c1b5d1b5b283ca39740b075.jpg resize: (1080, 1632) 1378304539 -2.5359354636781353 treat image : temp/1755811049_1418117_1378304538_a5040eb82ac799a0f390a0ea2142886f.jpg resize: (1080, 1632) 1378304538 -2.5359354636781353 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.01857137680053711 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.014923095703125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016891002655029297 save missing photos in datou_result : time spend for datou_step_exec : 18.296375036239624 time spend to save output : 0.05567121505737305 total time spend for step 1 : 18.352046251296997 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.67user 5.45system 0:24.54elapsed 86%CPU (0avgtext+0avgdata 138512maxresident)k 2616inputs+8192outputs (48major+260907minor)pagefaults 0swaps