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 : 3824383 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 : 2744>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/3824383/ 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.638601303100586 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 18:42:30 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/1747845747_3824383_1360102564_4573f9ed21d62c03cb211932196e4086.jpg resize: (1080, 1632) 1360102564 -6.352730431548696 treat image : temp/1747845747_3824383_1360099714_95f6a306a8af5089f0cf7cc48cc25ffe.jpg resize: (1080, 1632) 1360099714 -5.904919287556037 treat image : temp/1747845747_3824383_1360099262_ea1649aa06287c65a1a13037ab7d1372.jpg resize: (1080, 1632) 1360099262 -2.8916830846962203 treat image : temp/1747845747_3824383_1360099215_720054854dae0fe8e9444521831b331e.jpg resize: (1080, 1632) 1360099215 -4.496620135456473 treat image : temp/1747845747_3824383_1360099126_0e81c989bf92645c149f254e4d80b3cd.jpg resize: (1080, 1632) 1360099126 -2.0141938997912874 treat image : temp/1747845747_3824383_1360099077_d90835b5d179b95d5a40b0ce511da76f.jpg resize: (1080, 1632) 1360099077 -5.953402994534933 treat image : temp/1747845747_3824383_1360098931_2d231ce5c263aa10381a952aef7c38bc.jpg resize: (1080, 1632) 1360098931 -6.00573805961321 treat image : temp/1747845747_3824383_1360095897_e301aa7a2f6aa8c954531e5e2d59d0cc.jpg resize: (1080, 1632) 1360095897 -6.229399307576858 treat image : temp/1747845747_3824383_1360095767_a90a5497bf3a54ac699f51f4ece7c9c5.jpg resize: (1080, 1632) 1360095767 -5.824456919233899 treat image : temp/1747845747_3824383_1360095732_7857b684867ab5674f287f39e73df928.jpg resize: (1080, 1632) 1360095732 -5.67536140217951 treat image : temp/1747845747_3824383_1360095716_56b27456df4c2b88b1ac1f44336b5deb.jpg resize: (1080, 1632) 1360095716 -5.212424094772393 treat image : temp/1747845747_3824383_1360095709_da4b99f0e03f0c4ff702bd59f81ddee4.jpg resize: (1080, 1632) 1360095709 -5.17688748713892 treat image : temp/1747845747_3824383_1360095699_fea259db32f73f919a01f35f9a9ad34e.jpg resize: (1080, 1632) 1360095699 -5.471505010262116 treat image : temp/1747845747_3824383_1360094162_2accf3daf8bf8fc8660f6889a56cf4ac.jpg resize: (1080, 1632) 1360094162 -5.529284622822183 treat image : temp/1747845747_3824383_1360094141_5f255048c07469c8adf110ec6d34fc0b.jpg resize: (1080, 1632) 1360094141 -3.5565488464398864 treat image : temp/1747845747_3824383_1360094137_bdfbdbce663b5254c7d0cdc18f33f131.jpg resize: (1080, 1632) 1360094137 -5.4825659569093075 treat image : temp/1747845747_3824383_1360094058_ad1876e32059533f7cf5e47cd05e0be2.jpg resize: (1080, 1632) 1360094058 -3.687126766106926 treat image : temp/1747845747_3824383_1360094007_df9317ac2a83b7ca6d108792daa1212f.jpg resize: (1080, 1632) 1360094007 -5.952165657263127 treat image : temp/1747845747_3824383_1360047519_d2db1ae2309419e105c13c3014ebb887.jpg resize: (1080, 1632) 1360047519 -5.453535640491837 treat image : temp/1747845747_3824383_1360047494_e57ec7d5d11e7d51d9d2b187a2c63322.jpg resize: (1080, 1632) 1360047494 -5.495116173137499 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.015839815139770508 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.015668869018554688 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018423795700073242 save missing photos in datou_result : time spend for datou_step_exec : 16.431898832321167 time spend to save output : 0.05525493621826172 total time spend for step 1 : 16.48715376853943 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.16user 4.74system 0:21.85elapsed 86%CPU (0avgtext+0avgdata 139364maxresident)k 136inputs+10528outputs (2major+264934minor)pagefaults 0swaps