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 : 372833 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 : 226>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/372833/ 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.3288846015930176 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 00:52: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/1747090346_372833_1357754005_5d5495b89b946bd799a4b129e93d3155.jpg resize: (1080, 1632) 1357754005 -6.125376920895429 treat image : temp/1747090346_372833_1357753987_ecbcdbf28a24faa03cd705d7a1b80579.jpg resize: (1080, 1632) 1357753987 -5.977032950234784 treat image : temp/1747090346_372833_1357753963_bd94166ce2c463101ef28ad6c0a2fdd0.jpg resize: (1080, 1632) 1357753963 -5.986442696405115 treat image : temp/1747090346_372833_1357753932_e2d967916404e8c537210d6e91b048bc.jpg resize: (1080, 1632) 1357753932 -5.938344765688452 treat image : temp/1747090346_372833_1357753874_01a6a044e6a744bda8f64587924a046b.jpg resize: (1080, 1632) 1357753874 -5.392810905550009 treat image : temp/1747090346_372833_1357753872_9ea05abe2db89e7ba3654b51d693df7b.jpg resize: (1080, 1632) 1357753872 -3.611602531857268 treat image : temp/1747090346_372833_1357753870_27cba7aeea178ed6f089c5097782899a.jpg resize: (1080, 1632) 1357753870 -2.9896038480908254 treat image : temp/1747090346_372833_1357753868_77078ac6102b71c523e6432e5263de36.jpg resize: (1080, 1632) 1357753868 -5.153310893760066 treat image : temp/1747090346_372833_1357753865_fa33a7bab469d14fae3de2a09a7689bb.jpg resize: (1080, 1632) 1357753865 -5.545066160058324 treat image : temp/1747090346_372833_1357753847_5a9c08e53cc42fedbc73ebf9f5104cf2.jpg resize: (1080, 1632) 1357753847 -1.5342449076494593 treat image : temp/1747090346_372833_1357753845_2a853393add650d76b51bbeff8f59e5a.jpg resize: (1080, 1632) 1357753845 -3.0616837905129803 treat image : temp/1747090346_372833_1357753842_dc9bc0561438b2ab2f5785ba091b473f.jpg resize: (1080, 1632) 1357753842 -2.8441564258631518 treat image : temp/1747090346_372833_1357753839_55896fc71b97d34f89528cfe37a536ea.jpg resize: (1080, 1632) 1357753839 -2.3306497760699747 treat image : temp/1747090346_372833_1357753811_726ac6434fa3a725af09647d0c28d915.jpg resize: (1080, 1632) 1357753811 -2.8376493379448076 treat image : temp/1747090346_372833_1357753807_5dcee5886388bb17028f9c94c1aedb92.jpg resize: (1080, 1632) 1357753807 -5.75661390092573 treat image : temp/1747090346_372833_1357753805_496b85a1bd2651a11c3757d1bea52ad8.jpg resize: (1080, 1632) 1357753805 -2.9131054220378383 treat image : temp/1747090346_372833_1357753803_da00178d2291003da71fbf411b2db3eb.jpg resize: (1080, 1632) 1357753803 -4.871889608115033 treat image : temp/1747090346_372833_1357753800_292f6bd8ffe55421e0a742a487d6dbfb.jpg resize: (1080, 1632) 1357753800 -5.6375666903527595 treat image : temp/1747090346_372833_1357753797_0b4c47d33f24fa93e1c6cc2db9957203.jpg resize: (1080, 1632) 1357753797 -3.27561059480209 treat image : temp/1747090346_372833_1357753781_11c7cae605706a966edbc832c039d524.jpg resize: (1080, 1632) 1357753781 -5.598337642040693 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.024509668350219727 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.1411433219909668 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.13280129432678223 save missing photos in datou_result : time spend for datou_step_exec : 17.69348931312561 time spend to save output : 0.3037867546081543 total time spend for step 1 : 17.997276067733765 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.50user 5.62system 0:22.34elapsed 90%CPU (0avgtext+0avgdata 140928maxresident)k 616inputs+9560outputs (8major+261354minor)pagefaults 0swaps