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 : 2001104 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/2001104/ 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.258239984512329 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 00: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/1752793048_2001104_1372330645_ef149b35d304f863dbdd52720982c954.jpg resize: (1080, 1632) 1372330645 -5.512525336437809 treat image : temp/1752793048_2001104_1372330643_a8a2976d9aa23bd546b21abcf3eb1eba.jpg resize: (1080, 1632) 1372330643 -5.513234493390009 treat image : temp/1752793048_2001104_1372330623_6aa5d56773eab39da8bdf9649ffb3262.jpg resize: (1080, 1632) 1372330623 -5.505386199329282 treat image : temp/1752793048_2001104_1372330622_c1ec5e05beaf650b822b62d5600fe1e0.jpg resize: (1080, 1632) 1372330622 -5.5064379170265445 treat image : temp/1752793048_2001104_1372330621_e1b745330c84e6ddfbbd067340a65551.jpg resize: (1080, 1632) 1372330621 -5.504240158568597 treat image : temp/1752793048_2001104_1372330620_c98d7b6f21a99717b7382de2ffad0549.jpg resize: (1080, 1632) 1372330620 -5.5031668806772585 treat image : temp/1752793048_2001104_1372330618_fbc3b55fdc00bba26c800c6701ab2993.jpg resize: (1080, 1632) 1372330618 -5.5085549025691 treat image : temp/1752793048_2001104_1372330615_52909aaccca26b43097b3afa52241c89.jpg resize: (1080, 1632) 1372330615 -5.509880862870813 treat image : temp/1752793048_2001104_1372330590_4cea4a03b132c2586432b0a3922ef17f.jpg resize: (1080, 1632) 1372330590 -5.497226321793821 treat image : temp/1752793048_2001104_1372330586_0d7b98b30d9f2777ee3d521ce04c6dc2.jpg resize: (1080, 1632) 1372330586 -5.492811442388678 treat image : temp/1752793048_2001104_1372330582_9f10561ab633dddb533d9cfec1c952a3.jpg resize: (1080, 1632) 1372330582 -5.498376131612985 treat image : temp/1752793048_2001104_1372330578_c2f10e700dcdda1de0dc913c21ab97ba.jpg resize: (1080, 1632) 1372330578 -5.498770528851375 treat image : temp/1752793048_2001104_1372330575_9930b2dcffbcd8e4cf1f5a0086d242d3.jpg resize: (1080, 1632) 1372330575 -5.497413562801981 treat image : temp/1752793048_2001104_1372330571_34f4b67f2b57f26dec266ec77d9c2341.jpg resize: (1080, 1632) 1372330571 -5.492189859373236 treat image : temp/1752793048_2001104_1372330556_aad8c6db1f900d8bfa5454d217b0ec0e.jpg resize: (1080, 1632) 1372330556 -5.479907759335077 treat image : temp/1752793048_2001104_1372330553_9ee8bb796ce4e4e85ae31d2ec90883cf.jpg resize: (1080, 1632) 1372330553 -5.485791814836745 treat image : temp/1752793048_2001104_1372330551_64ad733b7c3dc5450d9c987121295a0e.jpg resize: (1080, 1632) 1372330551 -5.489987213077697 treat image : temp/1752793048_2001104_1372330546_033050951e2c1256567c2599998d0f97.jpg resize: (1080, 1632) 1372330546 -5.496017943683006 treat image : temp/1752793048_2001104_1372330543_8fbe1560489c77aef79f2ed9ebc93332.jpg resize: (1080, 1632) 1372330543 -5.49774251082842 treat image : temp/1752793048_2001104_1372330538_b718dc3d9aa5b63d9acac397343501a5.jpg resize: (1080, 1632) 1372330538 -5.4955118330948425 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.013628959655761719 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.03191876411437988 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0392603874206543 save missing photos in datou_result : time spend for datou_step_exec : 16.281839609146118 time spend to save output : 0.0897986888885498 total time spend for step 1 : 16.371638298034668 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 4.37system 0:22.22elapsed 84%CPU (0avgtext+0avgdata 139644maxresident)k 104inputs+10448outputs (12major+263617minor)pagefaults 0swaps