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 : 1561692 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 : 1044>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/1561692/ 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.637932538986206 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 09:42:30 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/1747035747_1561692_1357611304_b8935de7ecf5ca5b1e28f217affac6b6.jpg resize: (1080, 1632) 1357611304 -6.348648411218386 treat image : temp/1747035747_1561692_1357611301_27ea07a6ea1713804aea36c73e305f6b.jpg resize: (1080, 1632) 1357611301 -6.182733690175854 treat image : temp/1747035747_1561692_1357611298_25ab3ad7b4146ee7ece2d31dd34b9610.jpg resize: (1080, 1632) 1357611298 -3.5259436692732913 treat image : temp/1747035747_1561692_1357611295_9b5abf339ea11b8949c9dbb4b9e534fe.jpg resize: (1080, 1632) 1357611295 -6.173169919548803 treat image : temp/1747035747_1561692_1357611265_8187e78b5a39aa7a070ef4ebae9d1ef9.jpg resize: (1080, 1632) 1357611265 -6.267734930529347 treat image : temp/1747035747_1561692_1357611264_3534f8342fec97042a575235b18b8e05.jpg resize: (1080, 1632) 1357611264 -6.680334010467885 treat image : temp/1747035747_1561692_1357611236_25d02a810b73cd4ed8c65e19ac4d2502.jpg resize: (1080, 1632) 1357611236 -1.1112867795336432 treat image : temp/1747035747_1561692_1357611234_0e9e9d201d56bbdbf7c03c200f7b348d.jpg resize: (1080, 1632) 1357611234 -1.5665413617209045 treat image : temp/1747035747_1561692_1357611232_0c221529e2b2e76fad1db2f1cfe42f0a.jpg resize: (1080, 1632) 1357611232 -2.0821697644185533 treat image : temp/1747035747_1561692_1357611230_1b3a51f47514ace367a409da9c2205d7.jpg resize: (1080, 1632) 1357611230 -6.69886995274069 treat image : temp/1747035747_1561692_1357611199_a14587a31d8cfcf6811fcb3b0aeade57.jpg resize: (1080, 1632) 1357611199 -6.12958112475149 treat image : temp/1747035747_1561692_1357611196_c36c1336296e9c7a9912c049daac2637.jpg resize: (1080, 1632) 1357611196 -2.2132539107179996 treat image : temp/1747035747_1561692_1357611194_515fac96ba212c974c3a0791a665dd9e.jpg resize: (1080, 1632) 1357611194 -1.5855585912111838 treat image : temp/1747035747_1561692_1357610952_fb2aabecadb9d1b9deecad0806d126c5.jpg resize: (1080, 1632) 1357610952 -6.281066274092491 treat image : temp/1747035747_1561692_1357598384_a9224fb9ac3272985f00546eaac7f470.jpg resize: (1080, 1632) 1357598384 -3.7599444781848703 treat image : temp/1747035747_1561692_1357598381_03e456b7faa2261d0b008b7cef5c1f3b.jpg resize: (1080, 1632) 1357598381 -4.390094503486712 treat image : temp/1747035747_1561692_1357598378_ed4cd38492270dd8e95290fe986e0a7b.jpg resize: (1080, 1632) 1357598378 -6.03919483449359 treat image : temp/1747035747_1561692_1357598375_e4b0d92bfa26f998dccbc860a3168e4c.jpg resize: (1080, 1632) 1357598375 -6.460904294559366 treat image : temp/1747035747_1561692_1357598063_08e710013cd9f0ea1555f4882e9f0673.jpg resize: (1080, 1632) 1357598063 -5.4526351052243625 treat image : temp/1747035747_1561692_1357598062_71c924d2e275a7e7005a2a84ef0740a7.jpg resize: (1080, 1632) 1357598062 -5.589315209457391 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.013308525085449219 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.012932062149047852 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01591324806213379 save missing photos in datou_result : time spend for datou_step_exec : 20.99149513244629 time spend to save output : 0.04723715782165527 total time spend for step 1 : 21.038732290267944 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 16.12user 7.30system 0:27.31elapsed 85%CPU (0avgtext+0avgdata 139972maxresident)k 160inputs+10688outputs (1major+258473minor)pagefaults 0swaps