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 : 1730222 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 : 978>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1730222/ 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.3180437088012695 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 Wed May 21 08:27: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/1747808849_1730222_1359975985_440b1dd7e74674d37fe03e0a910e9a61.jpg resize: (1080, 1632) 1359975985 -5.603263916895082 treat image : temp/1747808849_1730222_1359975980_8960a5518e444bf7a5dccd6c3e4c8356.jpg resize: (1080, 1632) 1359975980 -5.894734651385193 treat image : temp/1747808849_1730222_1359975975_1c8d15e45efa48a0a56c9c44d6fdcc00.jpg resize: (1080, 1632) 1359975975 -5.6574905955029 treat image : temp/1747808849_1730222_1359975971_6638872b1eb529ba5eb44a260f974d51.jpg resize: (1080, 1632) 1359975971 -3.2266650706733806 treat image : temp/1747808849_1730222_1359975944_6ad202f41a3fce69b3b314dc9b920829.jpg resize: (1080, 1632) 1359975944 -5.610705969296901 treat image : temp/1747808849_1730222_1359975940_d6f86e9ccd01d19313fe3e9631ac2e67.jpg resize: (1080, 1632) 1359975940 -3.8900957527865807 treat image : temp/1747808849_1730222_1359975937_89b049e84e11adb70eb11c8c455ed32b.jpg resize: (1080, 1632) 1359975937 -6.0081596711424465 treat image : temp/1747808849_1730222_1359975933_70af15749d544a3db02c2ba870393e10.jpg resize: (1080, 1632) 1359975933 -5.644310848872114 treat image : temp/1747808849_1730222_1359975930_0e36ad2024154163d657160d7dc2fe7f.jpg resize: (1080, 1632) 1359975930 -5.265123691933201 treat image : temp/1747808849_1730222_1359975902_10f980913649c857aed333b0468c4a26.jpg resize: (1080, 1632) 1359975902 -5.562298876359621 treat image : temp/1747808849_1730222_1359975895_71a930d13b4e657ece7a6dc6bc519d2b.jpg resize: (1080, 1632) 1359975895 -2.5607698822054874 treat image : temp/1747808849_1730222_1359975889_016b8d1fb3e95e36e2f6f69ba55342bf.jpg resize: (1080, 1632) 1359975889 -4.76966911621436 treat image : temp/1747808849_1730222_1359975882_76469506fccc0ca28f0d0c5e8a436038.jpg resize: (1080, 1632) 1359975882 -3.0369138768674424 treat image : temp/1747808849_1730222_1359975877_81a43994984b86155c02ac19ff7cb2f6.jpg resize: (1080, 1632) 1359975877 -5.695414135683232 treat image : temp/1747808849_1730222_1359975834_6a47593b25934d134fc2d34bffcfbe33.jpg resize: (1080, 1632) 1359975834 -2.652893718496623 treat image : temp/1747808849_1730222_1359975830_f0968d649bd968b25848c12bd0e7dac4.jpg resize: (1080, 1632) 1359975830 -1.3070278437766063 treat image : temp/1747808849_1730222_1359975825_6bb3366599245ea489f7023584b3690d.jpg resize: (1080, 1632) 1359975825 -3.4736883776757517 treat image : temp/1747808849_1730222_1359975821_50d3f3ae37c53503be15bf2bd9579928.jpg resize: (1080, 1632) 1359975821 -1.5225822873298078 treat image : temp/1747808849_1730222_1359975780_b8e920df9866726fdf5e440a0f631e2b.jpg resize: (1080, 1632) 1359975780 -5.492030844645235 treat image : temp/1747808849_1730222_1359975776_8ce333cf78cc0ca13494776c731b6c79.jpg resize: (1080, 1632) 1359975776 -3.0498961578119634 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.014383792877197266 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.13380122184753418 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.14890384674072266 save missing photos in datou_result : time spend for datou_step_exec : 16.940734148025513 time spend to save output : 0.3024876117706299 total time spend for step 1 : 17.243221759796143 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.09user 4.65system 0:22.94elapsed 86%CPU (0avgtext+0avgdata 137552maxresident)k 152inputs+9344outputs (9major+252364minor)pagefaults 0swaps