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 : 1472463 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 : 338>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1472463/ 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 : 2.2085721492767334 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 Thu May 22 06:22:31 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/1747887748_1472463_1360405472_b332e3a75136c225b7b79ab8079b8793.jpg resize: (1080, 1632) 1360405472 -6.010636217157011 treat image : temp/1747887748_1472463_1360405467_220fe2b27f58d538cb11d8808ea99ddd.jpg resize: (1080, 1632) 1360405467 -6.145174206865964 treat image : temp/1747887748_1472463_1360405465_912ca2508f9c59f37e315df729039483.jpg resize: (1080, 1632) 1360405465 -5.3708506883332525 treat image : temp/1747887748_1472463_1360405463_522078f4c5c07138d81902fc7b59f3f8.jpg resize: (1080, 1632) 1360405463 -5.176382552372497 treat image : temp/1747887748_1472463_1360405461_030b2deca32e9c4948013538be525ddf.jpg resize: (1080, 1632) 1360405461 -3.145782284631856 treat image : temp/1747887748_1472463_1360405459_ecf81c85072961abff7c67dfc8d0542c.jpg resize: (1080, 1632) 1360405459 -5.963119027685068 treat image : temp/1747887748_1472463_1360405154_47b05a66890bc525c94364d66e0e1ed9.jpg resize: (1080, 1632) 1360405154 -1.907173831963915 treat image : temp/1747887748_1472463_1360405143_05980d6424a808d4607c95165fe80264.jpg resize: (1080, 1632) 1360405143 -3.047595482213826 treat image : temp/1747887748_1472463_1360405141_6d36d51bd83bc2ff578c1e678f67a56a.jpg resize: (1080, 1632) 1360405141 -5.193879275523046 treat image : temp/1747887748_1472463_1360404735_706725d7cc879e43fbbbed559e1309a2.jpg resize: (1080, 1632) 1360404735 -4.185683686349765 treat image : temp/1747887748_1472463_1360404687_f8fbddfa435a8cf24c935c34ace4a2cb.jpg resize: (1080, 1632) 1360404687 -3.829116667651873 treat image : temp/1747887748_1472463_1360404633_1fcaacc1708b1ab841f1ec8991ce368d.jpg resize: (1080, 1632) 1360404633 -6.549018096229408 treat image : temp/1747887748_1472463_1360404581_756e9e35f994587124901ff1b2ada3b8.jpg resize: (1080, 1632) 1360404581 -6.325765740416952 treat image : temp/1747887748_1472463_1360404526_aaf4f0af3762850c567d87b7110ea9b4.jpg resize: (1080, 1632) 1360404526 -5.735102770021577 treat image : temp/1747887748_1472463_1360404478_d4c4c17d569078d5838f232aa0e51f50.jpg resize: (1080, 1632) 1360404478 -2.8205786801637833 treat image : temp/1747887748_1472463_1360404000_9a2c2aee82d966556183d85a27ede3a2.jpg resize: (1080, 1632) 1360404000 -1.1994013177426663 treat image : temp/1747887748_1472463_1360403976_56957d0d953aaddf973f6b14503bf264.jpg resize: (1080, 1632) 1360403976 -0.8797363179618527 treat image : temp/1747887748_1472463_1360403970_410ec3676aec1207da662c39f77f0f4e.jpg resize: (1080, 1632) 1360403970 -2.508559125268475 treat image : temp/1747887748_1472463_1360403947_dab02e8b2432d15fdc11f64d07f0ad2d.jpg resize: (1080, 1632) 1360403947 -3.1722100448131596 treat image : temp/1747887748_1472463_1360403941_933a4c2164d0c64002c162ce388329b8.jpg resize: (1080, 1632) 1360403941 -3.8632809944888664 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.024871826171875 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.13381218910217285 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.028005123138427734 save missing photos in datou_result : time spend for datou_step_exec : 15.604932069778442 time spend to save output : 0.19194698333740234 total time spend for step 1 : 15.796879053115845 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.34user 3.80system 0:22.16elapsed 81%CPU (0avgtext+0avgdata 139188maxresident)k 1192inputs+9344outputs (32major+263936minor)pagefaults 0swaps