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 : 3785058 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 : 3089>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/3785058/ 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.7996602058410645 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 20:22: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/1747074147_3785058_1357697038_22c5c05dc5657fbfdd0fde4a8f0d7356.jpg resize: (1080, 1632) 1357697038 -2.7189058690472105 treat image : temp/1747074147_3785058_1357696988_98f8b2279dba29c004e80c83c54006be.jpg resize: (1080, 1632) 1357696988 -5.3317518238219686 treat image : temp/1747074147_3785058_1357696909_702ca487b1fa1fe71b3a5882fcc8265c.jpg resize: (1080, 1632) 1357696909 -6.275813163350781 treat image : temp/1747074147_3785058_1357696804_2479d4881ab3785b948de3700cfb355f.jpg resize: (1080, 1632) 1357696804 -4.92681400933613 treat image : temp/1747074147_3785058_1357696728_01cfce5308c621c640bea1ea185447a3.jpg resize: (1080, 1632) 1357696728 -5.056023180689432 treat image : temp/1747074147_3785058_1357696245_2a512665d03fe46e976f1827cfc1b3ff.jpg resize: (1080, 1632) 1357696245 -5.335570622622301 treat image : temp/1747074147_3785058_1357696169_f4970360fed45ee35f2ea6b174354ed1.jpg resize: (1080, 1632) 1357696169 -6.322344929065774 treat image : temp/1747074147_3785058_1357695456_7e01f62964dcd4e3a80c26f00b31babf.jpg resize: (1080, 1632) 1357695456 -6.09925556053566 treat image : temp/1747074147_3785058_1357695400_97e14640128d0c5ec6d8c074a738a178.jpg resize: (1080, 1632) 1357695400 -6.065276517214454 treat image : temp/1747074147_3785058_1357695346_ec9e7eca9e4129d608456ac18dc06a7e.jpg resize: (1080, 1632) 1357695346 -6.179360613306457 treat image : temp/1747074147_3785058_1357695293_cc86d49e795ec24ca98c09738e1e44f5.jpg resize: (1080, 1632) 1357695293 -5.804943549377254 treat image : temp/1747074147_3785058_1357695244_b2a0187a082c62745918b0d9dd947ae5.jpg resize: (1080, 1632) 1357695244 -6.385720583750725 treat image : temp/1747074147_3785058_1357695187_5b88b7e15dc97402bde49610186ecd93.jpg resize: (1080, 1632) 1357695187 -6.392275562418179 treat image : temp/1747074147_3785058_1357694772_90e094b18e7759f11e3be32876e8ce90.jpg resize: (1080, 1632) 1357694772 -5.547707559932364 treat image : temp/1747074147_3785058_1357694746_761c80217112fa122d5384f230a2d29d.jpg resize: (1080, 1632) 1357694746 -2.6490342802769895 treat image : temp/1747074147_3785058_1357694702_7afbb32c063d92bfa779f2ce840ba565.jpg resize: (1080, 1632) 1357694702 -1.980655017652446 treat image : temp/1747074147_3785058_1357694649_8f1940e684033c3b07afcfc553b36f00.jpg resize: (1080, 1632) 1357694649 -1.7332824292279216 treat image : temp/1747074147_3785058_1357694230_2529b74bf3cadadd52838dae2df6194b.jpg resize: (1080, 1632) 1357694230 -5.6736053678718905 treat image : temp/1747074147_3785058_1357694202_a58fed232b7c43ec6f2e070d9e49e0ca.jpg resize: (1080, 1632) 1357694202 -5.848513958459544 treat image : temp/1747074147_3785058_1357694144_59354bb0e3bacb8bbc04c458a3df2488.jpg resize: (1080, 1632) 1357694144 -3.078338943535036 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.014643430709838867 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.01477670669555664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014873027801513672 save missing photos in datou_result : time spend for datou_step_exec : 15.51148247718811 time spend to save output : 0.04955577850341797 total time spend for step 1 : 15.561038255691528 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.71user 3.26system 0:20.31elapsed 88%CPU (0avgtext+0avgdata 140156maxresident)k 3272inputs+10808outputs (20major+250972minor)pagefaults 0swaps