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 : 1803966 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 : 1234>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/1803966/ 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.1522886753082275 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 10:47: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/1747039649_1803966_1357616180_10fdfbefe26aba60b63f7213ddad335c.jpg resize: (1080, 1632) 1357616180 -4.682442390948518 treat image : temp/1747039649_1803966_1357616157_afd3ec440a85e5017384aefbe8d60abf.jpg resize: (1080, 1632) 1357616157 -1.3468804498311864 treat image : temp/1747039649_1803966_1357616153_b135dad3264c3db9366dd1b12992d821.jpg resize: (1080, 1632) 1357616153 -2.2255527262148416 treat image : temp/1747039649_1803966_1357616149_41214188c212ed0ac977bf56afa97149.jpg resize: (1080, 1632) 1357616149 -5.86330582191032 treat image : temp/1747039649_1803966_1357616144_96a5a72d3d845129e5486b8d9f56e8c8.jpg resize: (1080, 1632) 1357616144 -4.131116157942532 treat image : temp/1747039649_1803966_1357616139_bbf8616b5d058d635f02ecc5c117497c.jpg resize: (1080, 1632) 1357616139 -4.2332529603373406 treat image : temp/1747039649_1803966_1357616103_231ca5df07d4b275bb0ffc93a8d2de10.jpg resize: (1080, 1632) 1357616103 -4.792812315655634 treat image : temp/1747039649_1803966_1357616098_7bcf5d4d589d0575de2f1e2b4ee4e1f1.jpg resize: (1080, 1632) 1357616098 -1.4004703801099985 treat image : temp/1747039649_1803966_1357616092_e356f6e4009f01021bc875988ee3b034.jpg resize: (1080, 1632) 1357616092 -1.958891420589219 treat image : temp/1747039649_1803966_1357616028_534f39510e3ffe774edc8f90602fa933.jpg resize: (1080, 1632) 1357616028 -6.382681584922345 treat image : temp/1747039649_1803966_1357616025_9bed900140c7c946b7602446f647a3ee.jpg resize: (1080, 1632) 1357616025 -5.751021880978977 treat image : temp/1747039649_1803966_1357616022_c5ad08960642dc142755f5734fd9938f.jpg resize: (1080, 1632) 1357616022 -5.862049211305414 treat image : temp/1747039649_1803966_1357616019_5115894afd863906d6c8e86c346d3db4.jpg resize: (1080, 1632) 1357616019 -6.32396089955408 treat image : temp/1747039649_1803966_1357615924_1d44c521e02aaaccf225f4464043565d.jpg resize: (1080, 1632) 1357615924 -5.308827251560944 treat image : temp/1747039649_1803966_1357615919_3fec811bd2e4f730e1f0a5e9c78ed455.jpg resize: (1080, 1632) 1357615919 -5.47199632035909 treat image : temp/1747039649_1803966_1357615915_af6e4fb44f02e8b8f249d22a44011c32.jpg resize: (1080, 1632) 1357615915 -6.245740654015436 treat image : temp/1747039649_1803966_1357615893_de07393e5373f776d2f1bf462ed994ee.jpg resize: (1080, 1632) 1357615893 -5.938575546406496 treat image : temp/1747039649_1803966_1357615875_251d5d445efcd1e5ea096ba1badaae8f.jpg resize: (1080, 1632) 1357615875 -5.416306271956591 treat image : temp/1747039649_1803966_1357615517_7799dcd87d2a3369a2ab03bce1ba2814.jpg resize: (1080, 1632) 1357615517 -2.4232529740810724 treat image : temp/1747039649_1803966_1357614807_b36d13ef91f93f00f4513887d17e96f8.jpg resize: (1080, 1632) 1357614807 -6.140456492933511 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.017382144927978516 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.0126953125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013918399810791016 save missing photos in datou_result : time spend for datou_step_exec : 15.740201234817505 time spend to save output : 0.06053757667541504 total time spend for step 1 : 15.80073881149292 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.73user 3.53system 0:22.27elapsed 82%CPU (0avgtext+0avgdata 140444maxresident)k 9112inputs+10136outputs (56major+264668minor)pagefaults 0swaps