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 : 3562001 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3562001/ 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.7226805686950684 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 Sep 16 19:42:32 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/1758044548_3562001_1383540612_22b3fd471984eda0d707a822b0843a52.jpg resize: (1080, 1632) 1383540612 -5.64943285721795 treat image : temp/1758044548_3562001_1383540586_dd4e63d6c271e2cff2e2c3eb2333c2ba.jpg resize: (1080, 1632) 1383540586 -5.462217736128668 treat image : temp/1758044548_3562001_1383540579_1c75aaf0598daeb11316443d9bb37f74.jpg resize: (1080, 1632) 1383540579 -1.6868601649957122 treat image : temp/1758044548_3562001_1383540574_46b2bef02a93c8189b9db9544ac21ed5.jpg resize: (1080, 1632) 1383540574 -1.3225654973500356 treat image : temp/1758044548_3562001_1383540572_8b016cd0d18955765bad2ad941d514f3.jpg resize: (1080, 1632) 1383540572 -1.887386135268837 treat image : temp/1758044548_3562001_1383540544_2e07e2cde745222139073cb52a4f5ca0.jpg resize: (1080, 1632) 1383540544 -5.6715658399695235 treat image : temp/1758044548_3562001_1383540542_336543e457005b5c42fa84512d1e363a.jpg resize: (1080, 1632) 1383540542 -2.7100147564851036 treat image : temp/1758044548_3562001_1383540539_8056d462e9bffedbf40f1b58a18a91b1.jpg resize: (1080, 1632) 1383540539 -2.6176311740223133 treat image : temp/1758044548_3562001_1383540537_f8d5b0b527dab259ebc67cf035394b90.jpg resize: (1080, 1632) 1383540537 -5.241775952071648 treat image : temp/1758044548_3562001_1383540534_8243f3c96353fdcfa2b5ac8bdfa30d45.jpg resize: (1080, 1632) 1383540534 -4.649555774223789 treat image : temp/1758044548_3562001_1383540531_489b4b8455a9cddff429a833c3449b07.jpg resize: (1080, 1632) 1383540531 -5.127420317835755 treat image : temp/1758044548_3562001_1383540502_dca6544ab5e4e2c014bc127894d496a7.jpg resize: (1080, 1632) 1383540502 -2.9505515285871806 treat image : temp/1758044548_3562001_1383540494_a5b2f8b8d1193bd994b7e5ddb8e446eb.jpg resize: (1080, 1632) 1383540494 -2.2193036393223693 treat image : temp/1758044548_3562001_1383540455_f58b4ea7a4d0be9737c099ddb3441f6e.jpg resize: (1080, 1632) 1383540455 -1.2668624375001438 treat image : temp/1758044548_3562001_1383540416_2214a7b64e5ea11b77024c7d0e9c55f3.jpg resize: (1080, 1632) 1383540416 -4.355058983305491 treat image : temp/1758044548_3562001_1383540357_396202e3b6d5d83db98673a2e3843e1e.jpg resize: (1080, 1632) 1383540357 -3.0502919014476806 treat image : temp/1758044548_3562001_1383540356_faccf0c1b127b7115683ad271501ebd3.jpg resize: (1080, 1632) 1383540356 -3.9960045459155786 treat image : temp/1758044548_3562001_1383540355_a46618b6b14278c3e6938dae7691d73b.jpg resize: (1080, 1632) 1383540355 -4.887239448752918 treat image : temp/1758044548_3562001_1383540354_1096b1980be35627ae71828470f6ddda.jpg resize: (1080, 1632) 1383540354 -4.3578360689951845 treat image : temp/1758044548_3562001_1383540352_69e295054df34e7c2660fb8329e63f6a.jpg resize: (1080, 1632) 1383540352 -4.377479240470899 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.014420032501220703 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.01484823226928711 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016104698181152344 save missing photos in datou_result : time spend for datou_step_exec : 15.355533361434937 time spend to save output : 0.05069565773010254 total time spend for step 1 : 15.406229019165039 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 3.53system 0:21.68elapsed 82%CPU (0avgtext+0avgdata 138708maxresident)k 160inputs+8344outputs (3major+259500minor)pagefaults 0swaps