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 : 4154384 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 : 3137>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/4154384/ 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.1787877082824707 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 Tue May 13 20:12: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/1747159949_4154384_1357915493_3300e639f9b84289821116113eb3ae0a.jpg resize: (1080, 1632) 1357915493 -5.7687420651506285 treat image : temp/1747159949_4154384_1357915430_00f0e12888f6f6c40efc475d2f0a6fd3.jpg resize: (1080, 1632) 1357915430 -5.157153753497373 treat image : temp/1747159949_4154384_1357915378_670f291d8aaaf9d3092e73e5d5fe7e89.jpg resize: (1080, 1632) 1357915378 -5.1918875837216225 treat image : temp/1747159949_4154384_1357915328_15af2593068291af9e93545ab32e937c.jpg resize: (1080, 1632) 1357915328 -5.882017731811146 treat image : temp/1747159949_4154384_1357915275_26899ff2801261c1140f5ddae2f6b88d.jpg resize: (1080, 1632) 1357915275 -5.744163653028058 treat image : temp/1747159949_4154384_1357915005_a49bd2f7f13f4757026756804c90abc1.jpg resize: (1080, 1632) 1357915005 -2.505266411554155 treat image : temp/1747159949_4154384_1357914996_0264fc24ac622746e1bf53650f549bef.jpg resize: (1080, 1632) 1357914996 -5.231071129196859 treat image : temp/1747159949_4154384_1357914978_f1653a91981d8e7018ebf5489725c697.jpg resize: (1080, 1632) 1357914978 -6.1413696608870465 treat image : temp/1747159949_4154384_1357914975_3596beab63cd56b325c7aacad714e06d.jpg resize: (1080, 1632) 1357914975 -5.110906806849669 treat image : temp/1747159949_4154384_1357914824_a63574ce22fe4e6277b0ed145ca418aa.jpg resize: (1080, 1632) 1357914824 -1.797791553645452 treat image : temp/1747159949_4154384_1357914822_a948ee925eb8705d1e1f57ab29c35906.jpg resize: (1080, 1632) 1357914822 -1.6087746471291544 treat image : temp/1747159949_4154384_1357914760_4e1552991dc8a216454d9a3192f77c15.jpg resize: (1080, 1632) 1357914760 -3.6307772788017427 treat image : temp/1747159949_4154384_1357914345_801fd771193bac55d716f4c0b0ed11fc.jpg resize: (1080, 1632) 1357914345 -5.258193154760818 treat image : temp/1747159949_4154384_1357914293_4e93aef2f10ac3cb39c0241dda14f411.jpg resize: (1080, 1632) 1357914293 -4.340042613226188 treat image : temp/1747159949_4154384_1357914244_3dd2d0abcad3183a2f6a2196be5d2bbf.jpg resize: (1080, 1632) 1357914244 -5.150501057792083 treat image : temp/1747159949_4154384_1357914201_d9b58d37b2c595d9565e50a29142ccda.jpg resize: (1080, 1632) 1357914201 -5.26839698155171 treat image : temp/1747159949_4154384_1357914156_d7d2f150c3f26099f391b898141bc68b.jpg resize: (1080, 1632) 1357914156 -5.339229246582098 treat image : temp/1747159949_4154384_1357914038_15712ec1022fa287639502a23ab0602a.jpg resize: (1080, 1632) 1357914038 -4.527046522179593 treat image : temp/1747159949_4154384_1357914036_9c2e1ff9e337b53ec031d85517aa82c6.jpg resize: (1080, 1632) 1357914036 -5.381674316124873 treat image : temp/1747159949_4154384_1357914018_cef97ba3b420526098adce041be7745b.jpg resize: (1080, 1632) 1357914018 -5.7180654560557835 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.015860795974731445 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.015445470809936523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020554542541503906 save missing photos in datou_result : time spend for datou_step_exec : 16.14620566368103 time spend to save output : 0.05648970603942871 total time spend for step 1 : 16.20269536972046 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.44user 4.03system 0:21.76elapsed 84%CPU (0avgtext+0avgdata 139556maxresident)k 0inputs+9736outputs (1major+257420minor)pagefaults 0swaps