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 : 163207 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/163207/ 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.7082412242889404 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 Mar 26 00:37:33 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/1742945849_163207_1333436205_884c3167bb2e5bf84337b49966e327ed.jpg resize: (1080, 1632) 1333436205 5.873284718851458 treat image : temp/1742945849_163207_1333436005_0e08418b4bc4e66fe4dd8ad7ec6279f1.jpg resize: (1080, 1632) 1333436005 6.175719589184658 treat image : temp/1742945849_163207_1333435765_549e90b140cb39f298c8301e5930c033.jpg resize: (1080, 1632) 1333435765 6.131438410233999 treat image : temp/1742945849_163207_1333435537_f4eaa48e8fabbe7f650bdb59d826a5cb.jpg resize: (1080, 1632) 1333435537 3.1418717080611738 treat image : temp/1742945849_163207_1333435386_c6f578107f5983bb5708e6febc8908e6.jpg resize: (1080, 1632) 1333435386 0.7122731583699633 treat image : temp/1742945849_163207_1333435337_a1fad54d460490a0e2149a49d2596afc.jpg resize: (1080, 1632) 1333435337 -0.1557324069179719 treat image : temp/1742945849_163207_1333435334_4b31f3e31a3525bd3f5b3c8c5abd8ad0.jpg resize: (1080, 1632) 1333435334 1.1688350958030933 treat image : temp/1742945849_163207_1333435329_4240740eb20d86bf1fe63c2b18dd9f8d.jpg resize: (1080, 1632) 1333435329 1.3799125001175254 treat image : temp/1742945849_163207_1333435325_221b6f8325076b3677c18612d4f12fa7.jpg resize: (1080, 1632) 1333435325 3.9533283117718736 treat image : temp/1742945849_163207_1333435314_79bd7d749d4ba533a8ad8ee1ca87551a.jpg resize: (1080, 1632) 1333435314 6.807996929009318 treat image : temp/1742945849_163207_1333435308_4c997064add8cfdf297a60c71b4d9527.jpg resize: (1080, 1632) 1333435308 6.955080735598891 treat image : temp/1742945849_163207_1333434963_ba7c2884c810113ee0fbaec771c6efd4.jpg resize: (1080, 1632) 1333434963 6.163204504883073 treat image : temp/1742945849_163207_1333434960_5db4a1fcd4894428ebe92c877ce73a2e.jpg resize: (1080, 1632) 1333434960 2.089939008719468 treat image : temp/1742945849_163207_1333434957_744455d3417ce3fa736aa34bafd4112d.jpg resize: (1080, 1632) 1333434957 3.7010414247182117 treat image : temp/1742945849_163207_1333434917_f6c25c904dc1e1dad6080b54aececcdb.jpg resize: (1080, 1632) 1333434917 5.157226904827463 treat image : temp/1742945849_163207_1333434827_0534a0b8843c19bee414ea0e86f4e9e2.jpg resize: (1080, 1632) 1333434827 6.7179050655481625 treat image : temp/1742945849_163207_1333434738_cc96c6a40ba0b63329718ec8561d4fa1.jpg resize: (1080, 1632) 1333434738 6.320624631171725 treat image : temp/1742945849_163207_1333434684_137dab278fc89b2d602dce9535af94a8.jpg resize: (1080, 1632) 1333434684 1.0004534654018609 treat image : temp/1742945849_163207_1333434682_2ca7dad2d919eaffbb50c3bde834b023.jpg resize: (1080, 1632) 1333434682 0.5640535819344625 treat image : temp/1742945849_163207_1333434678_7ebc28133dbb9821fe5f6bc580070d9d.jpg resize: (1080, 1632) 1333434678 1.3489048557524255 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.018772602081298828 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.3770020008087158 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020192384719848633 save missing photos in datou_result : time spend for datou_step_exec : 16.545029878616333 time spend to save output : 0.6259443759918213 total time spend for step 1 : 17.170974254608154 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.34user 4.10system 0:24.83elapsed 74%CPU (0avgtext+0avgdata 139756maxresident)k 496inputs+3280outputs (4major+272571minor)pagefaults 0swaps