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 : 4153146 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 : 7055>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/4153146/ 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.3963942527770996 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 Fri Jul 11 19:02: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/1752253347_4153146_1371642856_1e42dc61a4fae90d55a115a6a835a007.jpg resize: (1080, 1632) 1371642856 -5.224429997257889 treat image : temp/1752253347_4153146_1371642825_c980dc94582b2d7a17e8eb1a00517764.jpg resize: (1080, 1632) 1371642825 -5.215731979990039 treat image : temp/1752253347_4153146_1371642800_6e6ab73bd285d13ed492929a119e7457.jpg resize: (1080, 1632) 1371642800 -5.20326631440999 treat image : temp/1752253347_4153146_1371642798_b37c103928559fac54dca00100b837df.jpg resize: (1080, 1632) 1371642798 -5.197355841011365 treat image : temp/1752253347_4153146_1371642791_c3a43c15d595349f41ee27f5859973b0.jpg resize: (1080, 1632) 1371642791 -5.212791110231856 treat image : temp/1752253347_4153146_1371642788_1bb872d77d15e8c7c4991163d429fd10.jpg resize: (1080, 1632) 1371642788 -5.199782609880769 treat image : temp/1752253347_4153146_1371642715_b53284a1cf236e19046710334257a1d6.jpg resize: (1080, 1632) 1371642715 -5.203716482523635 treat image : temp/1752253347_4153146_1371642691_fc1b86e4a754ad06b27e871c92f3f2a1.jpg resize: (1080, 1632) 1371642691 -5.374124058789875 treat image : temp/1752253347_4153146_1371642662_db610c07c7e96e58de1a6f5bf660672d.jpg resize: (1080, 1632) 1371642662 -5.341970108285135 treat image : temp/1752253347_4153146_1371642596_b366967b8e16ec18c48cfe2d7f803d25.jpg resize: (1080, 1632) 1371642596 -4.9609587193700495 treat image : temp/1752253347_4153146_1371642569_6b694b1e294b1dc7237615c813e819a6.jpg resize: (1080, 1632) 1371642569 -4.953358409620776 treat image : temp/1752253347_4153146_1371642528_be9809ee9d6b53366e6cff99d6f33e43.jpg resize: (1080, 1632) 1371642528 -2.3567782409078086 treat image : temp/1752253347_4153146_1371642345_5e07b668b4e50e046b07336bb9f0bad7.jpg resize: (1080, 1632) 1371642345 -5.223099100779647 treat image : temp/1752253347_4153146_1371642269_e5c9991c2270edceee700fa103d5c813.jpg resize: (1080, 1632) 1371642269 -5.221676805577812 treat image : temp/1752253347_4153146_1371642186_1a710336ab64bfbce206dc00ddea6c0b.jpg resize: (1080, 1632) 1371642186 -5.214952968058306 treat image : temp/1752253347_4153146_1371642099_d196c33ca683caae959d28af75fcdf3a.jpg resize: (1080, 1632) 1371642099 -5.187111992488595 treat image : temp/1752253347_4153146_1371642024_9400f879caf397b38ceae8137c8ba986.jpg resize: (1080, 1632) 1371642024 -5.203332684427011 treat image : temp/1752253347_4153146_1371641964_10f4d5529097eb48b1512633e205c660.jpg resize: (1080, 1632) 1371641964 -5.194387611833712 treat image : temp/1752253347_4153146_1371641796_c534f251347a8b7bf27277aec4f60cbb.jpg resize: (1080, 1632) 1371641796 -2.580032066885098 treat image : temp/1752253347_4153146_1371641749_713861ff005f1ae804e529830d85586e.jpg resize: (1080, 1632) 1371641749 -2.520286181292229 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.011808156967163086 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 : 8.695512533187866 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014835357666015625 save missing photos in datou_result : time spend for datou_step_exec : 15.94305682182312 time spend to save output : 8.72690224647522 total time spend for step 1 : 24.66995906829834 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 3.77system 0:29.74elapsed 61%CPU (0avgtext+0avgdata 138904maxresident)k 32inputs+9768outputs (5major+257458minor)pagefaults 0swaps