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 : 3771557 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 : 4132>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/3771557/ 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 : 3.2267003059387207 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 Sat Mar 22 05:27: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/1742617646_3771557_1346198891_1200e776d6811edef2ffb6ed3b51d47f.jpg resize: (1080, 1632) 1346198891 -4.5432844697936865 treat image : temp/1742617646_3771557_1346198817_a6623edabc6633cdcd0c2697d44eed5c.jpg resize: (1080, 1632) 1346198817 -6.517831984569977 treat image : temp/1742617646_3771557_1346197020_dd98dca0ea3bf7ad7a5bf239ca309968.jpg resize: (1080, 1632) 1346197020 -5.805950762685717 treat image : temp/1742617646_3771557_1346196937_f532762ffee5aa2ad0952e41c5a29747.jpg resize: (1080, 1632) 1346196937 -6.130265778925228 treat image : temp/1742617646_3771557_1346196903_02df2117a99a5a87c55938dd77b15544.jpg resize: (1080, 1632) 1346196903 -6.502869175311674 treat image : temp/1742617646_3771557_1346196870_307a4a1d37245527a8a96dc6920ba68c.jpg resize: (1080, 1632) 1346196870 -6.826766140065255 treat image : temp/1742617646_3771557_1346196517_c6795a2e0e85ad82014ee103d8c6ebfa.jpg resize: (1080, 1632) 1346196517 -6.520276556538028 treat image : temp/1742617646_3771557_1346196456_0b97c97099210d3bd882b768766b9d11.jpg resize: (1080, 1632) 1346196456 -5.0647572033314745 treat image : temp/1742617646_3771557_1346196390_04488fa194c493a98e6bdf4a0d0984b4.jpg resize: (1080, 1632) 1346196390 -4.943931868467213 treat image : temp/1742617646_3771557_1346196305_d82815ff982684f087f6272b56574115.jpg resize: (1080, 1632) 1346196305 -6.447834861581223 treat image : temp/1742617646_3771557_1346196261_8476da323b7b74781646451a97265bc8.jpg resize: (1080, 1632) 1346196261 -6.731733845287231 treat image : temp/1742617646_3771557_1346196225_e2d3a227a66db9c927d7d9662caca867.jpg resize: (1080, 1632) 1346196225 -2.516552199822367 treat image : temp/1742617646_3771557_1346189796_b6a7a26e756c266934414bfab68f976f.jpg resize: (1080, 1632) 1346189796 -6.377845769579209 treat image : temp/1742617646_3771557_1346189792_d8d83841556a73dc45c9c7bab161f728.jpg resize: (1080, 1632) 1346189792 -7.141345658992381 treat image : temp/1742617646_3771557_1346189786_3ed8a016741aa8a4d2d48fb3ce427e61.jpg resize: (1080, 1632) 1346189786 -5.170893710106681 treat image : temp/1742617646_3771557_1346189779_0ae82897e0b5496e1063ca57d17e9708.jpg resize: (1080, 1632) 1346189779 -2.6186234349583923 treat image : temp/1742617646_3771557_1346189724_2bbaab8f61794ba8f4192f194749117b.jpg resize: (1080, 1632) 1346189724 -4.667842123635525 treat image : temp/1742617646_3771557_1346189701_98377b4389cad9548d34c69f66c8675a.jpg resize: (1080, 1632) 1346189701 -6.948401082112292 treat image : temp/1742617646_3771557_1346189679_ae5e40fad3f2e7f6f92a9bb48c799feb.jpg resize: (1080, 1632) 1346189679 -6.472605404326751 treat image : temp/1742617646_3771557_1346189654_083a3363d28428a16e80c59e4ef46024.jpg resize: (1080, 1632) 1346189654 -4.998160305404778 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.013998270034790039 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.2282271385192871 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018841028213500977 save missing photos in datou_result : time spend for datou_step_exec : 14.997974395751953 time spend to save output : 0.26659297943115234 total time spend for step 1 : 15.264567375183105 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.34user 3.32system 0:20.70elapsed 85%CPU (0avgtext+0avgdata 138052maxresident)k 160inputs+12216outputs (17major+256902minor)pagefaults 0swaps