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 : 839915 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 : 188>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/839915/ 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.3696107864379883 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 05:52: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/1747021947_839915_1357598229_a6daf8dfa32792782e9be2b785678561.jpg resize: (1080, 1632) 1357598229 -1.4587294796410841 treat image : temp/1747021947_839915_1357598228_3c5ada851586f3f0303d329a3b5c7d2a.jpg resize: (1080, 1632) 1357598228 -2.9051645488981936 treat image : temp/1747021947_839915_1357598226_97f47dfa2882c51b410e08977a56d8a4.jpg resize: (1080, 1632) 1357598226 -3.4344461084129807 treat image : temp/1747021947_839915_1357598223_b070759c7430a0340bea7b7788f15099.jpg resize: (1080, 1632) 1357598223 -4.892179934165182 treat image : temp/1747021947_839915_1357598194_828d268146a8e357f3c71c4da521b742.jpg resize: (1080, 1632) 1357598194 -5.847839779912059 treat image : temp/1747021947_839915_1357598192_8a00ef5328cc1bb4dbed4a409838071a.jpg resize: (1080, 1632) 1357598192 -4.127675948969917 treat image : temp/1747021947_839915_1357598189_fefef013c0e116b47407ad7a8d4c84b0.jpg resize: (1080, 1632) 1357598189 -2.4501278923128282 treat image : temp/1747021947_839915_1357598154_366f75f0a9885e9ea5a6ad29f8879e19.jpg resize: (1080, 1632) 1357598154 -6.059352971443588 treat image : temp/1747021947_839915_1357598153_5431a0a66f112730e317e30cb8b9126e.jpg resize: (1080, 1632) 1357598153 -3.2506077187209272 treat image : temp/1747021947_839915_1357598152_eba4d58c21b147f6227bbf9eca859cce.jpg resize: (1080, 1632) 1357598152 -5.07101103265433 treat image : temp/1747021947_839915_1357598150_eca041ceb77d7a42c6cc74d6b1099c80.jpg resize: (1080, 1632) 1357598150 -6.106832094927373 treat image : temp/1747021947_839915_1357598147_a16d699a4875f7788ab0cd7526e90547.jpg resize: (1080, 1632) 1357598147 -3.741821617265441 treat image : temp/1747021947_839915_1357598143_517517cb47fa535f7dd90fc65671fe2a.jpg resize: (1080, 1632) 1357598143 -6.2762272360610245 treat image : temp/1747021947_839915_1357598125_1238db82f96c5a8b1218b13b9fe8f06c.jpg resize: (1080, 1632) 1357598125 -1.664924021151297 treat image : temp/1747021947_839915_1357598123_ee0c349e9324788fc9fc7368b45a632d.jpg resize: (1080, 1632) 1357598123 -3.6942335756778943 treat image : temp/1747021947_839915_1357598121_18605e60611307a5c18e485624536ed7.jpg resize: (1080, 1632) 1357598121 -5.535031467386371 treat image : temp/1747021947_839915_1357598119_a169ca1697f5efa9912af33572687123.jpg resize: (1080, 1632) 1357598119 -6.003141854133346 treat image : temp/1747021947_839915_1357598117_5f1b588df27ba7fabbad6525043f5197.jpg resize: (1080, 1632) 1357598117 -4.008646146943235 treat image : temp/1747021947_839915_1357598115_be699637ab3824588175dd7a843d5e5d.jpg resize: (1080, 1632) 1357598115 -5.728627077531789 treat image : temp/1747021947_839915_1357598091_82d61d19aab69ba7e448032169f3aba9.jpg resize: (1080, 1632) 1357598091 -5.413111446155709 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.013669252395629883 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.011902809143066406 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016041278839111328 save missing photos in datou_result : time spend for datou_step_exec : 14.73576045036316 time spend to save output : 0.04670548439025879 total time spend for step 1 : 14.782465934753418 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.57user 3.76system 0:20.08elapsed 86%CPU (0avgtext+0avgdata 142048maxresident)k 136inputs+9592outputs (19major+264967minor)pagefaults 0swaps