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 : 3229711 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 : 1929>100 please execute split_portfolio.py -i 21715706 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2691079'] with mtr_portfolio_ids : ['21715706'] and first list_photo_ids : [] new path : /proc/3229711/ 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 : 5.339867115020752 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 15:22: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/1742998950_3229711_1347492262_a0bd922ba3dfa01e3b6ee6191436a55d.jpg resize: (1080, 1632) 1347492262 -5.758808697870041 treat image : temp/1742998950_3229711_1347492237_addbc268330e268ae51fd92d96cf011c.jpg resize: (1080, 1632) 1347492237 -5.965924893134346 treat image : temp/1742998950_3229711_1347492204_750a0815a7811c05cd36e29261437fb5.jpg resize: (1080, 1632) 1347492204 -1.9989103057727884 treat image : temp/1742998950_3229711_1347460673_2a8963df382eb7b37ab076cc4eb327a8.jpg resize: (1080, 1632) 1347460673 -0.7473223300396638 treat image : temp/1742998950_3229711_1347460652_04c6f2472149201a0b5da1bd97ca22a9.jpg resize: (1080, 1632) 1347460652 -5.282821999835052 treat image : temp/1742998950_3229711_1347460645_2acc685296aa19022cc88730f85c9965.jpg resize: (1080, 1632) 1347460645 -4.889031795341559 treat image : temp/1742998950_3229711_1347460640_1b1d31510313d9fbdb782b64c1259b05.jpg resize: (1080, 1632) 1347460640 -4.892716054832319 treat image : temp/1742998950_3229711_1347460632_cd5183d0aad10307440bd8827b4a24c5.jpg resize: (1080, 1632) 1347460632 -3.1346704705151613 treat image : temp/1742998950_3229711_1347460631_21927abd8af5c3cb2618fb133a7e8e0b.jpg resize: (1080, 1632) 1347460631 -5.024272467851384 treat image : temp/1742998950_3229711_1347460629_9afe82625340cf6042e17f0c51442ed5.jpg resize: (1080, 1632) 1347460629 -4.0699241520059175 treat image : temp/1742998950_3229711_1347460591_386b9cbfe8d1e12c31e32c2a6d1d9306.jpg resize: (1080, 1632) 1347460591 -2.7859387672749945 treat image : temp/1742998950_3229711_1347460588_74d1a81f306fe88414862c1ba0867868.jpg resize: (1080, 1632) 1347460588 -1.429339079424485 treat image : temp/1742998950_3229711_1347460584_d3ca85776dc7c37b052942bb6c8966db.jpg resize: (1080, 1632) 1347460584 -4.870758261978332 treat image : temp/1742998950_3229711_1347460581_8237e2fcdd1944d4512ab7d101de4d26.jpg resize: (1080, 1632) 1347460581 -4.910552303347013 treat image : temp/1742998950_3229711_1347460579_a1288d69a9dfff43e2d6a6c6eb8847c1.jpg resize: (1080, 1632) 1347460579 -5.344340484962522 treat image : temp/1742998950_3229711_1347460547_6456274986329343bdb8eb1e79a94b15.jpg resize: (1080, 1632) 1347460547 -4.569660159050875 treat image : temp/1742998950_3229711_1347460544_a828f45ff43e31ff1c68c45dda096503.jpg resize: (1080, 1632) 1347460544 -5.352779610492277 treat image : temp/1742998950_3229711_1347460541_95949dca97c741d7ed9414c8ef143be4.jpg resize: (1080, 1632) 1347460541 -1.5759528520594623 treat image : temp/1742998950_3229711_1347460513_b2bcfeb31719208b1d87e8bf26dca67b.jpg resize: (1080, 1632) 1347460513 -5.030391951626469 treat image : temp/1742998950_3229711_1347460510_0eb6fcdbd8e276ccd6cfe49c6d7a09aa.jpg resize: (1080, 1632) 1347460510 -4.834137873662656 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.01337432861328125 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.01319432258605957 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.15771889686584473 save missing photos in datou_result : time spend for datou_step_exec : 16.983633756637573 time spend to save output : 0.18999505043029785 total time spend for step 1 : 17.17362880706787 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.84user 4.52system 0:24.41elapsed 79%CPU (0avgtext+0avgdata 138936maxresident)k 88inputs+8712outputs (7major+260824minor)pagefaults 0swaps