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 : 1148313 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 : 213>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/1148313/ 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.115732431411743 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 05:37: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/1747798649_1148313_1359960377_73731caae53e7e490d92372abc2b2f36.jpg resize: (1080, 1632) 1359960377 -5.943392078814197 treat image : temp/1747798649_1148313_1359960374_68d58aae6c24751a1e33ea10b8642afe.jpg resize: (1080, 1632) 1359960374 -6.543930920595419 treat image : temp/1747798649_1148313_1359960371_47df5ceb819a1a53b0c27e0a0f0363f9.jpg resize: (1080, 1632) 1359960371 -5.701140345482924 treat image : temp/1747798649_1148313_1359960368_c5af536cb6b7ddd0e647c271700bcef6.jpg resize: (1080, 1632) 1359960368 -6.1536290279852 treat image : temp/1747798649_1148313_1359960362_072b882c467b4a9dcfce5cc31f6719e9.jpg resize: (1080, 1632) 1359960362 -6.342085061066671 treat image : temp/1747798649_1148313_1359960260_f9292a86347ed9b4c2d156e0983c0cb2.jpg resize: (1080, 1632) 1359960260 -5.115938547899325 treat image : temp/1747798649_1148313_1359960236_f5be4cef593176a1f74e6058850096b8.jpg resize: (1080, 1632) 1359960236 -4.362518999610009 treat image : temp/1747798649_1148313_1359960211_7a416dfd8fa212bfe11ec09f69ad3b2b.jpg resize: (1080, 1632) 1359960211 -1.4194790641647594 treat image : temp/1747798649_1148313_1359960186_ff04023c3dee11c016a385e4340e80f5.jpg resize: (1080, 1632) 1359960186 -1.9525462044132733 treat image : temp/1747798649_1148313_1359960115_e4584ed52ffd1d1ad180c39b69cdb49b.jpg resize: (1080, 1632) 1359960115 -2.91628683416251 treat image : temp/1747798649_1148313_1359960095_6b7c1ab1e6f9a78021fc4c7e790e227d.jpg resize: (1080, 1632) 1359960095 -0.7335310570241286 treat image : temp/1747798649_1148313_1359960094_88a2c959b7b6f50baebd11210cfad1ff.jpg resize: (1080, 1632) 1359960094 -3.926993122798726 treat image : temp/1747798649_1148313_1359960093_439a03783bbe336257e763d9829eaad9.jpg resize: (1080, 1632) 1359960093 -3.9436803683324806 treat image : temp/1747798649_1148313_1359960090_a33dcaab4aaf1c76e2987ee620ae5019.jpg resize: (1080, 1632) 1359960090 -2.7748747567717142 treat image : temp/1747798649_1148313_1359960085_571e25f4b53ccda4b3c6f84e85791e6d.jpg resize: (1080, 1632) 1359960085 -2.7228026633729385 treat image : temp/1747798649_1148313_1359960060_aede0a652079ddb10ec654b7dbf27a1b.jpg resize: (1080, 1632) 1359960060 -1.7077994108698569 treat image : temp/1747798649_1148313_1359959855_ecf674b88ba43a81c98dcaac65010816.jpg resize: (1080, 1632) 1359959855 -1.8138437069208126 treat image : temp/1747798649_1148313_1359959814_e2b0763e6da0a1e04b9a05a6fb0555ef.jpg resize: (1080, 1632) 1359959814 -2.883485787866788 treat image : temp/1747798649_1148313_1359959784_3d038e7136bc4948bfd3683226b8beb4.jpg resize: (1080, 1632) 1359959784 -4.9123509808734 treat image : temp/1747798649_1148313_1359959760_26cad4feb574641c698d9b29d8968309.jpg resize: (1080, 1632) 1359959760 -1.6428371569590743 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.014824390411376953 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.017943143844604492 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020943880081176758 save missing photos in datou_result : time spend for datou_step_exec : 17.923784255981445 time spend to save output : 0.058779239654541016 total time spend for step 1 : 17.982563495635986 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.98user 5.20system 0:24.10elapsed 83%CPU (0avgtext+0avgdata 136612maxresident)k 336inputs+8576outputs (10major+255368minor)pagefaults 0swaps