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 : 3778989 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 : 2743>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3778989/ 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.4033451080322266 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 Wed May 21 18:27: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/1747844848_3778989_1360101822_0cc9959561bea3588761c769a51b6e15.jpg resize: (1080, 1632) 1360101822 -6.378911076109112 treat image : temp/1747844848_3778989_1360101767_c0d989b393c259b42770654b3e8c1458.jpg resize: (1080, 1632) 1360101767 -5.83738014460769 treat image : temp/1747844848_3778989_1360101715_831170159f616cdc960fa41c227044ff.jpg resize: (1080, 1632) 1360101715 -5.607825840391871 treat image : temp/1747844848_3778989_1360101321_ead1dd3de7ae70a015e4ca72e8d4c630.jpg resize: (1080, 1632) 1360101321 -1.9814648949729343 treat image : temp/1747844848_3778989_1360101312_c88c8988816d7bf3b477a34391d1ef1d.jpg resize: (1080, 1632) 1360101312 -4.585648529350549 treat image : temp/1747844848_3778989_1360101300_247fb85e4c491627a82d97da5962a893.jpg resize: (1080, 1632) 1360101300 -4.694545204693451 treat image : temp/1747844848_3778989_1360101293_8e6fa9cdb2c86703ada1c55b90fe1ab4.jpg resize: (1080, 1632) 1360101293 -3.6735806129994626 treat image : temp/1747844848_3778989_1360101273_09d42a16e5422fea8298258048859d10.jpg resize: (1080, 1632) 1360101273 -1.5621466808065994 treat image : temp/1747844848_3778989_1360101265_19d4e3f46cd071e56e9497c45617b40b.jpg resize: (1080, 1632) 1360101265 -3.1061732226147254 treat image : temp/1747844848_3778989_1360101093_aac44fc5217a875e0d4e1d18c9400f68.jpg resize: (1080, 1632) 1360101093 -3.113024389594237 treat image : temp/1747844848_3778989_1360100702_2b8f1f998999d75b9337d9c50adb8d7f.jpg resize: (1080, 1632) 1360100702 -4.447153922498313 treat image : temp/1747844848_3778989_1360100612_ba0e3d0e60532111da050a7633b31e17.jpg resize: (1080, 1632) 1360100612 -6.083926728743985 treat image : temp/1747844848_3778989_1360100445_d7004895c9be963a8d71885ca8439108.jpg resize: (1080, 1632) 1360100445 -3.060609326568931 treat image : temp/1747844848_3778989_1360100325_341add984ce27f61a5c23fb447b5dcb0.jpg resize: (1080, 1632) 1360100325 -5.591494834936809 treat image : temp/1747844848_3778989_1360100292_d4dfc4e44efa8c447b58c9aeb243314c.jpg resize: (1080, 1632) 1360100292 -4.742764703695948 treat image : temp/1747844848_3778989_1360100034_bb2d9897c39072d6117fb5d1f6cc1492.jpg resize: (1080, 1632) 1360100034 -6.401958894519486 treat image : temp/1747844848_3778989_1360099973_033721d364cc45f69e173087e8261624.jpg resize: (1080, 1632) 1360099973 -6.117970962502949 treat image : temp/1747844848_3778989_1360099915_d8f77874fdf751fb17244c0c0e079ecd.jpg resize: (1080, 1632) 1360099915 -5.804350889494432 treat image : temp/1747844848_3778989_1360099863_8adf77965697c584759b80d33d6040d4.jpg resize: (1080, 1632) 1360099863 -4.265348407395152 treat image : temp/1747844848_3778989_1360099779_6b34994b2ec4177e5125f3572dd5a5b2.jpg resize: (1080, 1632) 1360099779 -5.541771588122294 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.013186931610107422 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 : 3.3045496940612793 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.022203922271728516 save missing photos in datou_result : time spend for datou_step_exec : 20.033788442611694 time spend to save output : 3.345301628112793 total time spend for step 1 : 23.379090070724487 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.37user 8.06system 0:28.66elapsed 78%CPU (0avgtext+0avgdata 140596maxresident)k 2272inputs+10112outputs (18major+262036minor)pagefaults 0swaps