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 : 4085397 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/4085397/ 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 : 6.737685918807983 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 23:42:34 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/1758058947_4085397_1383519392_b3cb260a9df45c5b65019daeddfb54e5.jpg resize: (1080, 1632) 1383519392 -3.7740681529784923 treat image : temp/1758058947_4085397_1383519378_462529500692823c51ffb6f9a8e7d79a.jpg resize: (1080, 1632) 1383519378 -5.378973353136853 treat image : temp/1758058947_4085397_1383519293_b206c2ac93fba48854244b094f564944.jpg resize: (1080, 1632) 1383519293 -3.0189219746771982 treat image : temp/1758058947_4085397_1383519290_fc9c5b88b703860f95b7bc29ff71fb53.jpg resize: (1080, 1632) 1383519290 -1.7332161317481354 treat image : temp/1758058947_4085397_1383519287_00ab8d5f0a92577e3ac20548601f4c93.jpg resize: (1080, 1632) 1383519287 -3.1853258432474707 treat image : temp/1758058947_4085397_1383519284_4081af9f0b8a1246788ff712d96d42d7.jpg resize: (1080, 1632) 1383519284 -3.2951105484020307 treat image : temp/1758058947_4085397_1383519281_35da7b9b68330cd07a09098e008bde89.jpg resize: (1080, 1632) 1383519281 -5.2703734044818376 treat image : temp/1758058947_4085397_1383519262_0b4a4d1077241944e8d37bb987425c0e.jpg resize: (1080, 1632) 1383519262 -5.5375871955360765 treat image : temp/1758058947_4085397_1383519255_863d54d7978d97b0c802af8d0a12ce67.jpg resize: (1080, 1632) 1383519255 -5.800629817356511 treat image : temp/1758058947_4085397_1383519249_668a18c1ce125b647fcd2b68a84a2cbf.jpg resize: (1080, 1632) 1383519249 -5.181544762635002 treat image : temp/1758058947_4085397_1383519244_e8f402287e23809fe722f93502bc5a5f.jpg resize: (1080, 1632) 1383519244 -4.867075311542383 treat image : temp/1758058947_4085397_1383519243_7c91cddae491003d04506cef31ff9cf5.jpg resize: (1080, 1632) 1383519243 -3.93820006764706 treat image : temp/1758058947_4085397_1383519230_5a2c94c5e608ed07bbf55e664f7a006d.jpg resize: (1080, 1632) 1383519230 -5.8365973386488745 treat image : temp/1758058947_4085397_1383519226_40e1d76b4ceefd72db4057f5e1934651.jpg resize: (1080, 1632) 1383519226 -5.456996026372951 treat image : temp/1758058947_4085397_1383519222_c67576e41f5dd9f1dc7043d152acd94a.jpg resize: (1080, 1632) 1383519222 -6.042329026500228 treat image : temp/1758058947_4085397_1383519220_1609921b058a6e76f96b6e6130f2e247.jpg resize: (1080, 1632) 1383519220 -5.940173421663507 treat image : temp/1758058947_4085397_1383519219_2090c59c8af4541b4da4db8ea179a832.jpg resize: (1080, 1632) 1383519219 -5.485529700372007 treat image : temp/1758058947_4085397_1383519215_57d0429d6fb38c26701ce031e4de721a.jpg resize: (1080, 1632) 1383519215 -5.073597817629539 treat image : temp/1758058947_4085397_1383519174_1f12fd2efb2657721445e421f5ec12ad.jpg resize: (1080, 1632) 1383519174 -1.736347897638738 treat image : temp/1758058947_4085397_1383519172_3ae726b60fc3ede84cd491fa41c9b324.jpg resize: (1080, 1632) 1383519172 -2.03148860654516 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.013301610946655273 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.014162540435791016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015993356704711914 save missing photos in datou_result : time spend for datou_step_exec : 15.3008873462677 time spend to save output : 0.0490574836730957 total time spend for step 1 : 15.349944829940796 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.80user 4.24system 0:25.45elapsed 70%CPU (0avgtext+0avgdata 137148maxresident)k 432inputs+9600outputs (4major+256710minor)pagefaults 0swaps