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 : 1052133 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 : 1512>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/1052133/ 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 : 3.258528470993042 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 4 11:32: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/1751621547_1052133_1370549008_1c17cb0e21c7005133809981bd63f434.jpg resize: (1080, 1632) 1370549008 -5.50740662059068 treat image : temp/1751621547_1052133_1370549004_cf68038e4b859e3902aad14b6edb3953.jpg resize: (1080, 1632) 1370549004 -5.323606325054713 treat image : temp/1751621547_1052133_1370549001_d05c4d742316fb530888a90488965b81.jpg resize: (1080, 1632) 1370549001 -5.154916610277156 treat image : temp/1751621547_1052133_1370548997_2898337ab9b61110891e8a0cc5cee071.jpg resize: (1080, 1632) 1370548997 -5.2146773238518245 treat image : temp/1751621547_1052133_1370548990_f38606418c799bf375b166163b0073f7.jpg resize: (1080, 1632) 1370548990 -5.407676016801405 treat image : temp/1751621547_1052133_1370548985_8a6440694d12b81a4a2d7358b2e8b683.jpg resize: (1080, 1632) 1370548985 -5.292103822330525 treat image : temp/1751621547_1052133_1370548906_8bb5f2b25b3f3f9a6b4cb574dbecee4f.jpg resize: (1080, 1632) 1370548906 -3.1435652013978586 treat image : temp/1751621547_1052133_1370548901_4832d267d90088451d8cea6ab45a34b2.jpg resize: (1080, 1632) 1370548901 -3.1435652013978586 treat image : temp/1751621547_1052133_1370548877_77eac2189d598c3993a3c3f27b7585a3.jpg resize: (1080, 1632) 1370548877 -4.506806007606317 treat image : temp/1751621547_1052133_1370548872_98a86dbfeb8db6ad41646ecc90c0a819.jpg resize: (1080, 1632) 1370548872 -4.506806007606317 treat image : temp/1751621547_1052133_1370548849_528e78e4b23c5cb514b1a404512cc3d3.jpg resize: (1080, 1632) 1370548849 -5.337623283930421 treat image : temp/1751621547_1052133_1370548844_5b5dfaffca7740bb69a2fac2629d2a87.jpg resize: (1080, 1632) 1370548844 -5.337623283930421 treat image : temp/1751621547_1052133_1370548821_f6a36485606c9806105dc8d7caea0972.jpg resize: (1080, 1632) 1370548821 -6.20200969824562 treat image : temp/1751621547_1052133_1370548817_1681e58c4d85053a195b3f2350894ba3.jpg resize: (1080, 1632) 1370548817 -6.20200969824562 treat image : temp/1751621547_1052133_1370548784_aafc6fd4096a42292e2b7602a0077dc8.jpg resize: (1080, 1632) 1370548784 -6.024447907318722 treat image : temp/1751621547_1052133_1370548779_e4a6b429bcd42c1ea29082504d183867.jpg resize: (1080, 1632) 1370548779 -6.024447907318722 treat image : temp/1751621547_1052133_1370548754_424522689a8c51840685d64fd0f461a4.jpg resize: (1080, 1632) 1370548754 -5.231535899480496 treat image : temp/1751621547_1052133_1370548749_80916aa56c8d97c335a7dd185a94d1a5.jpg resize: (1080, 1632) 1370548749 -5.231535899480496 treat image : temp/1751621547_1052133_1370548648_a1c9cca1263fd0a02fea86214750a9ac.jpg resize: (1080, 1632) 1370548648 -1.7891878008958557 treat image : temp/1751621547_1052133_1370548615_a08ed53bb6edfa341f60c3c8dcf48a8f.jpg resize: (1080, 1632) 1370548615 -2.302805283535406 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.01265859603881836 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.06940126419067383 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.028824329376220703 save missing photos in datou_result : time spend for datou_step_exec : 17.084559679031372 time spend to save output : 0.1168675422668457 total time spend for step 1 : 17.201427221298218 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.99user 4.77system 0:22.70elapsed 87%CPU (0avgtext+0avgdata 137840maxresident)k 472inputs+9920outputs (6major+252931minor)pagefaults 0swaps