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 : 3677076 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 : 3032>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/3677076/ 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.3177380561828613 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 19:47: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/1747072049_3677076_1357710898_66f0611b5d33979104e0b86bb5ebe5b6.jpg resize: (1080, 1632) 1357710898 -2.9804962908062715 treat image : temp/1747072049_3677076_1357710895_ebd48f1d37b4efeb5ca8a54008e60297.jpg resize: (1080, 1632) 1357710895 -5.225635641368378 treat image : temp/1747072049_3677076_1357710892_596cfd21e76c6db2de0b18f4fcc6b920.jpg resize: (1080, 1632) 1357710892 -1.4823304867519325 treat image : temp/1747072049_3677076_1357710890_0e7ad524f9ed93606d67f2208d3255f2.jpg resize: (1080, 1632) 1357710890 -1.5379872896614333 treat image : temp/1747072049_3677076_1357710876_09e4934a80c40bc52879ed21271f2604.jpg resize: (1080, 1632) 1357710876 -6.039021115509084 treat image : temp/1747072049_3677076_1357710872_bad791083ac49e3c5d77557a5614a0c5.jpg resize: (1080, 1632) 1357710872 -5.663807880476853 treat image : temp/1747072049_3677076_1357710868_8ca05f062367e736ce7130aaffa6d286.jpg resize: (1080, 1632) 1357710868 -4.542507299787569 treat image : temp/1747072049_3677076_1357710865_f5fe28013420a454a3cc9fc7b80f0c8b.jpg resize: (1080, 1632) 1357710865 -5.675681108167096 treat image : temp/1747072049_3677076_1357710861_6a407d8496737463ee1241566d788368.jpg resize: (1080, 1632) 1357710861 -2.8360395274238606 treat image : temp/1747072049_3677076_1357710853_0f263b9ca9b8ba1a416bb1d11c854a86.jpg resize: (1080, 1632) 1357710853 -5.885825925210018 treat image : temp/1747072049_3677076_1357710826_3ba3dd43d3ac5986b0d6c3b5aad0f035.jpg resize: (1080, 1632) 1357710826 -1.838543368875685 treat image : temp/1747072049_3677076_1357710824_056080bcefa03a34f6a9577901b075fc.jpg resize: (1080, 1632) 1357710824 -3.3327542494766322 treat image : temp/1747072049_3677076_1357710823_40b7cb414e9e40b3015bd5fba6c0f11f.jpg resize: (1080, 1632) 1357710823 -3.9253731980899924 treat image : temp/1747072049_3677076_1357710709_c85c1ac6cf61ae8ab435ba4a52355b12.jpg resize: (1080, 1632) 1357710709 -6.060367957961178 treat image : temp/1747072049_3677076_1357710699_2f9cc21ec908177131bb248dd0808c54.jpg resize: (1080, 1632) 1357710699 -4.33713061382001 treat image : temp/1747072049_3677076_1357710697_9cc2a49fb02f81c7c336fb1dd52e4a06.jpg resize: (1080, 1632) 1357710697 -5.126360354273872 treat image : temp/1747072049_3677076_1357710694_9afb10ff09edb6391ed7e847c7352fea.jpg resize: (1080, 1632) 1357710694 -6.004946622637378 treat image : temp/1747072049_3677076_1357710692_8258fbe03d50761e65a1a4e32b88491b.jpg resize: (1080, 1632) 1357710692 -5.608694661812757 treat image : temp/1747072049_3677076_1357710689_3e1f58d8db1a8b2b8e218bec01cdd0aa.jpg resize: (1080, 1632) 1357710689 -3.2465730989086543 treat image : temp/1747072049_3677076_1357710493_e8251295254e4cadc8c128cbce4789f3.jpg resize: (1080, 1632) 1357710493 -1.7034373063936452 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.012310028076171875 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.013863801956176758 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01597905158996582 save missing photos in datou_result : time spend for datou_step_exec : 16.329668521881104 time spend to save output : 0.0468595027923584 total time spend for step 1 : 16.376528024673462 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.32user 3.78system 0:22.00elapsed 86%CPU (0avgtext+0avgdata 138548maxresident)k 192inputs+9536outputs (2major+256605minor)pagefaults 0swaps