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 : 2797429 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 : 913>100 please execute split_portfolio.py -i 20624335 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2594849'] with mtr_portfolio_ids : ['20624335'] and first list_photo_ids : [] new path : /proc/2797429/ 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.500627279281616 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 Feb 18 09:07: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/1739866048_2797429_1338300829_c84ec24e1d83d05655d2ecae3f93c44e.jpg resize: (1080, 1632) 1338300829 -5.911575986328659 treat image : temp/1739866048_2797429_1338300804_0d87f5fb8247d1827e19809f2ba11a9e.jpg resize: (1080, 1632) 1338300804 -6.29417793208978 treat image : temp/1739866048_2797429_1338300801_2e324b6abdbde7c6e9d87297a931fd55.jpg resize: (1080, 1632) 1338300801 -2.385789478476214 treat image : temp/1739866048_2797429_1338300798_66b865860905666311824814cba58d65.jpg resize: (1080, 1632) 1338300798 -4.139716311189805 treat image : temp/1739866048_2797429_1338300796_ed0dbf2c6428b1c33c8cb8bb7887d406.jpg resize: (1080, 1632) 1338300796 -5.196873429629513 treat image : temp/1739866048_2797429_1338300780_4802e51652ec1741b9a15ad49059d707.jpg resize: (1080, 1632) 1338300780 -5.056192031698003 treat image : temp/1739866048_2797429_1338300777_05e1f45418f7239943f289bc45c6626e.jpg resize: (1080, 1632) 1338300777 -6.528220628609797 treat image : temp/1739866048_2797429_1338300773_13320c9ecdf247e7441cd9f95a09bf8f.jpg resize: (1080, 1632) 1338300773 -6.523140746878611 treat image : temp/1739866048_2797429_1338300768_3701a130296aa962fbfbac667995006a.jpg resize: (1080, 1632) 1338300768 -5.301259008638951 treat image : temp/1739866048_2797429_1338300765_acd6b5e06003125f1aaa038a4d25ae4d.jpg resize: (1080, 1632) 1338300765 -5.295217879488057 treat image : temp/1739866048_2797429_1338300763_69139333e69e3659645efc4d14b85d78.jpg resize: (1080, 1632) 1338300763 -6.357544001962812 treat image : temp/1739866048_2797429_1338300747_757221a075f84ef1f711e544b84a2abb.jpg resize: (1080, 1632) 1338300747 -5.090317200043346 treat image : temp/1739866048_2797429_1338300744_b29f60d31c85aa0986eba63a0b349094.jpg resize: (1080, 1632) 1338300744 -4.666089477014717 treat image : temp/1739866048_2797429_1338300742_dc72af26ddb3ae197a05a9c78a655eb3.jpg resize: (1080, 1632) 1338300742 -6.396135065587108 treat image : temp/1739866048_2797429_1338300740_f050f902e93e9ea458c0813dd1d05712.jpg resize: (1080, 1632) 1338300740 -6.1832193076969775 treat image : temp/1739866048_2797429_1338300738_d591e089e4e6f9032ad5d319684a6fcd.jpg resize: (1080, 1632) 1338300738 -6.125320839325678 treat image : temp/1739866048_2797429_1338300719_281ed446e34400d8e7528e6066d16a1e.jpg resize: (1080, 1632) 1338300719 -6.610297154421653 treat image : temp/1739866048_2797429_1338300716_73182a775fd2cff7853a73aa39681f73.jpg resize: (1080, 1632) 1338300716 -3.6125395110303358 treat image : temp/1739866048_2797429_1338300714_34c2a64a576e8d0cecaa7caf1c0f86aa.jpg resize: (1080, 1632) 1338300714 -2.3403490164013543 treat image : temp/1739866048_2797429_1338300699_c6202f727713529ab2cfbc0d86a86207.jpg resize: (1080, 1632) 1338300699 -5.579476932636933 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.01278376579284668 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.011878728866577148 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.012948274612426758 save missing photos in datou_result : time spend for datou_step_exec : 16.3356831073761 time spend to save output : 0.042105913162231445 total time spend for step 1 : 16.37778902053833 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.52user 4.17system 0:22.01elapsed 84%CPU (0avgtext+0avgdata 141156maxresident)k 184inputs+11216outputs (11major+261151minor)pagefaults 0swaps