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 : 3532425 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 : 2799>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/3532425/ 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.1974737644195557 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 18:57:28 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/1747069046_3532425_1357703036_68af2b031c689fbfc2e9cca435c08132.jpg resize: (1080, 1632) 1357703036 -1.726459201927093 treat image : temp/1747069046_3532425_1357703007_e42814cee80205af5143783fcdd27c7e.jpg resize: (1080, 1632) 1357703007 -4.976820005764113 treat image : temp/1747069046_3532425_1357702980_b685b3b9edda295ec788c7a4ed7395ed.jpg resize: (1080, 1632) 1357702980 -4.969042660516422 treat image : temp/1747069046_3532425_1357702944_8cd697bed595b357875aec4b63c6e87b.jpg resize: (1080, 1632) 1357702944 -5.431751853670383 treat image : temp/1747069046_3532425_1357702918_0c9c8e9a78cd6a75a3429b1b13e846dc.jpg resize: (1080, 1632) 1357702918 -2.756553138357318 treat image : temp/1747069046_3532425_1357702623_de75f3bc621ae0141465a1278cd7e0b8.jpg resize: (1080, 1632) 1357702623 -5.568898427758946 treat image : temp/1747069046_3532425_1357702620_cb992601f1f5d180d861608f527c4eff.jpg resize: (1080, 1632) 1357702620 -3.3923424079158315 treat image : temp/1747069046_3532425_1357702618_d128892537d0ccb2478da5f14c6c1198.jpg resize: (1080, 1632) 1357702618 -5.928117854543279 treat image : temp/1747069046_3532425_1357702616_136bb6e1822828b7f5eb362eecc722d2.jpg resize: (1080, 1632) 1357702616 -4.350191791979112 treat image : temp/1747069046_3532425_1357702538_79b85799e99ac0df81f6acf449becf76.jpg resize: (1080, 1632) 1357702538 -4.311079800999193 treat image : temp/1747069046_3532425_1357702509_7ba8106bdb42dff1761b7037aa4d23d2.jpg resize: (1080, 1632) 1357702509 -4.733738965325432 treat image : temp/1747069046_3532425_1357702481_4729a2b33521b7e803e2fd2b55cd0865.jpg resize: (1080, 1632) 1357702481 -2.749146389840916 treat image : temp/1747069046_3532425_1357702453_bed60ff137aaed12589bae729236328b.jpg resize: (1080, 1632) 1357702453 -5.701921263346313 treat image : temp/1747069046_3532425_1357702401_be9d10f8197cc7dd790fb828ffbe226f.jpg resize: (1080, 1632) 1357702401 -5.61118533946695 treat image : temp/1747069046_3532425_1357702387_7e38e7d1b23a6f0a30eb51f6435f1ce9.jpg resize: (1080, 1632) 1357702387 -5.603075601023313 treat image : temp/1747069046_3532425_1357702077_d85bf3dcdec41003c92381cd7af83b9c.jpg resize: (1080, 1632) 1357702077 -5.774227278408851 treat image : temp/1747069046_3532425_1357702049_f0177cde1c1a1885e6e2c2ad1b390651.jpg resize: (1080, 1632) 1357702049 -3.1644151559695386 treat image : temp/1747069046_3532425_1357702037_ce90ee9cdd2b1569132d4975b1f7fa61.jpg resize: (1080, 1632) 1357702037 -5.918010266752469 treat image : temp/1747069046_3532425_1357702023_e170883fd5184aa3a71c9967de940f41.jpg resize: (1080, 1632) 1357702023 -1.7018674355616346 treat image : temp/1747069046_3532425_1357701822_6955ce45b2183cf3ad0d642c664927b6.jpg resize: (1080, 1632) 1357701822 -1.6476276374798884 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.01566171646118164 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.014822244644165039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016008615493774414 save missing photos in datou_result : time spend for datou_step_exec : 15.379653215408325 time spend to save output : 0.05106973648071289 total time spend for step 1 : 15.430722951889038 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.57user 3.22system 0:18.99elapsed 93%CPU (0avgtext+0avgdata 139244maxresident)k 832inputs+9416outputs (20major+254217minor)pagefaults 0swaps