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 : 3835544 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 : 3210>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3835544/ 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 : 1.9595341682434082 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 Sat Mar 22 05:47:29 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/1742618848_3835544_1346339834_7defdc50139648d29a6c21a0e0407b45.jpg resize: (1080, 1632) 1346339834 -2.392434282671494 treat image : temp/1742618848_3835544_1346339831_953d9c6f1b9bba8fff73a2c3cfd2a647.jpg resize: (1080, 1632) 1346339831 -5.5250436568610555 treat image : temp/1742618848_3835544_1346339830_d20dfe1cf9e139d3a464312d1cc822c9.jpg resize: (1080, 1632) 1346339830 -5.6799549487144985 treat image : temp/1742618848_3835544_1346339828_c3a87209463e80158e57bf2292af7b1d.jpg resize: (1080, 1632) 1346339828 -4.399312634254188 treat image : temp/1742618848_3835544_1346339826_9b54ba662c96d1d225defb8a61329a75.jpg resize: (1080, 1632) 1346339826 -6.012109917178143 treat image : temp/1742618848_3835544_1346339824_a273c1028e755a3b66b004f9e48ff430.jpg resize: (1080, 1632) 1346339824 -5.323223002818403 treat image : temp/1742618848_3835544_1346339817_dc9f69baf73b84ad44d5420a67fe67b0.jpg resize: (1080, 1632) 1346339817 -6.218125001928632 treat image : temp/1742618848_3835544_1346339814_031d74ba51df39ddb9ce2769843860f5.jpg resize: (1080, 1632) 1346339814 -6.165868840912524 treat image : temp/1742618848_3835544_1346339809_97f0889f6fc523eb06427d9a48f2594c.jpg resize: (1080, 1632) 1346339809 -6.284869240021523 treat image : temp/1742618848_3835544_1346339805_bd193265354223cb7258b1eff828fda0.jpg resize: (1080, 1632) 1346339805 -6.015956809273742 treat image : temp/1742618848_3835544_1346339802_2030334b9f2168ccd3073437c0807ede.jpg resize: (1080, 1632) 1346339802 -4.473265705484812 treat image : temp/1742618848_3835544_1346339799_2ed40c876e75c0d76da790e54343c501.jpg resize: (1080, 1632) 1346339799 -2.008866753515431 treat image : temp/1742618848_3835544_1346339792_bbc8a173172c6113ca546b5900fc8f1a.jpg resize: (1080, 1632) 1346339792 -3.5460836441818353 treat image : temp/1742618848_3835544_1346339788_5c78aecd419df41dee9e57d023234522.jpg resize: (1080, 1632) 1346339788 -6.449979093212207 treat image : temp/1742618848_3835544_1346339784_5ba65e9d2ebb405787f6e4f8635c874c.jpg resize: (1080, 1632) 1346339784 -6.552355960769668 treat image : temp/1742618848_3835544_1346339780_1204bc38d45322d305cc28813dba8807.jpg resize: (1080, 1632) 1346339780 -6.528529775359292 treat image : temp/1742618848_3835544_1346339777_5881b66c4a285da9383a6cdc0be6530d.jpg resize: (1080, 1632) 1346339777 -6.301654535579152 treat image : temp/1742618848_3835544_1346339773_da5d9766743af8965987ba0d395868f0.jpg resize: (1080, 1632) 1346339773 -6.106355262651705 treat image : temp/1742618848_3835544_1346339767_7768cd8d5fb39f72a318be75116c7002.jpg resize: (1080, 1632) 1346339767 -5.741387740908116 treat image : temp/1742618848_3835544_1346339765_2b3fe8b1005aa33776eb26e845eb6959.jpg resize: (1080, 1632) 1346339765 -4.539098796046524 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.014825105667114258 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.012945413589477539 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016213655471801758 save missing photos in datou_result : time spend for datou_step_exec : 15.151296138763428 time spend to save output : 0.049001216888427734 total time spend for step 1 : 15.200297355651855 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.99user 4.11system 0:20.53elapsed 88%CPU (0avgtext+0avgdata 140516maxresident)k 48inputs+11056outputs (11major+256695minor)pagefaults 0swaps