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 : 1233533 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 : 2934>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1233533/ 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.302750825881958 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 Jul 2 16:42:30 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/1751467347_1233533_1369963387_52ae0b6e446bcab127c508e655a58b36.jpg resize: (1080, 1632) 1369963387 -6.012836849985796 treat image : temp/1751467347_1233533_1369963383_51d1eef43fe51bc2e78138d4b0cbfc4e.jpg resize: (1080, 1632) 1369963383 -6.010086707152879 treat image : temp/1751467347_1233533_1369963349_895e9c16e3ede8db9334fe0b643e3103.jpg resize: (1080, 1632) 1369963349 -6.026694098544866 treat image : temp/1751467347_1233533_1369963290_97cc049a3d24d4a8be72d5a86c712411.jpg resize: (1080, 1632) 1369963290 -6.038117150694035 treat image : temp/1751467347_1233533_1369962350_9eae9808b4dd13ad6fb2cdc1586e979f.jpg resize: (1080, 1632) 1369962350 -5.755698116585337 treat image : temp/1751467347_1233533_1369962345_be76114c68a78ffb31b6c68ab14908e0.jpg resize: (1080, 1632) 1369962345 -5.7725923353572615 treat image : temp/1751467347_1233533_1369962339_2adb4f334654788a6bfe628a536a745f.jpg resize: (1080, 1632) 1369962339 -5.763747819094344 treat image : temp/1751467347_1233533_1369962304_2dac3d04d70188dd325a4faf2b6eca52.jpg resize: (1080, 1632) 1369962304 -5.776847669675412 treat image : temp/1751467347_1233533_1369961868_f36e6a76d69f51260a3769e780d76416.jpg resize: (1080, 1632) 1369961868 -4.945199050811 treat image : temp/1751467347_1233533_1369961867_5ce1f3484c67e16e20ad96b54e50703c.jpg resize: (1080, 1632) 1369961867 -4.945199050811 treat image : temp/1751467347_1233533_1369961861_07beb0badb715b9ea24a953c9cf4370c.jpg resize: (1080, 1632) 1369961861 -3.6594181796359138 treat image : temp/1751467347_1233533_1369961860_53b57ee11e83e8e5c4f348726e9b6d2e.jpg resize: (1080, 1632) 1369961860 -3.6594181796359138 treat image : temp/1751467347_1233533_1369961813_ea2cb123d7348a64d10866a2c2c1ed7d.jpg resize: (1080, 1632) 1369961813 -5.765804017181852 treat image : temp/1751467347_1233533_1369961779_0708d4bb6cfe5416bdc0855a7687ca8b.jpg resize: (1080, 1632) 1369961779 -5.770300653715576 treat image : temp/1751467347_1233533_1369961756_e1c6de43788a297fe4197c03de094b95.jpg resize: (1080, 1632) 1369961756 -4.834145525573165 treat image : temp/1751467347_1233533_1369961723_effa00affdd5b5ab816fcc5046734ad1.jpg resize: (1080, 1632) 1369961723 -4.782774266441309 treat image : temp/1751467347_1233533_1369961696_fa1e5b5fe8234543018968a2a4a52b40.jpg resize: (1080, 1632) 1369961696 -4.7612614568384855 treat image : temp/1751467347_1233533_1369961667_a542f93c85a3939e845ee1dcefcc016f.jpg resize: (1080, 1632) 1369961667 -4.751687157610567 treat image : temp/1751467347_1233533_1369960697_43358ac95043f2aacf0bc0485739fa6b.jpg resize: (1080, 1632) 1369960697 -4.42616179930643 treat image : temp/1751467347_1233533_1369960696_0b1cafb3dad8ca90289411208824e576.jpg resize: (1080, 1632) 1369960696 -4.42616179930643 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.015804767608642578 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.015634775161743164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.022588729858398438 save missing photos in datou_result : time spend for datou_step_exec : 15.961215496063232 time spend to save output : 0.6032333374023438 total time spend for step 1 : 16.564448833465576 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.18user 3.67system 0:21.31elapsed 88%CPU (0avgtext+0avgdata 136688maxresident)k 4336inputs+10272outputs (22major+260173minor)pagefaults 0swaps