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 : 1884981 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 : 5484>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/1884981/ 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.533507823944092 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 21: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/1751485646_1884981_1370112759_e1ecfb8610c9779fbb8a81ad4cf83c57.jpg resize: (1080, 1632) 1370112759 -5.848326284112433 treat image : temp/1751485646_1884981_1370112743_d001c5f7a44c0933ad8b7c3d82713e27.jpg resize: (1080, 1632) 1370112743 -5.8425771885419735 treat image : temp/1751485646_1884981_1370112720_b8a103cc120dcf097f783b76a28d0de1.jpg resize: (1080, 1632) 1370112720 -5.845782680105287 treat image : temp/1751485646_1884981_1370112649_37aa9c1e3ac390eb088d1a03b4447910.jpg resize: (1080, 1632) 1370112649 -5.838472355232297 treat image : temp/1751485646_1884981_1370112544_5c97c43b5fbf86d2ae1bc8410406c44f.jpg resize: (1080, 1632) 1370112544 -5.837639429560543 treat image : temp/1751485646_1884981_1370112471_a3d863ca80f3bf0caba1db767a58e560.jpg resize: (1080, 1632) 1370112471 -5.840529174082057 treat image : temp/1751485646_1884981_1370112268_adf1fffcb2eb5da681f11444bcdc892e.jpg resize: (1080, 1632) 1370112268 -4.921736826385985 treat image : temp/1751485646_1884981_1370112177_b4cd8f4ba6a9de2e701bd798b987168a.jpg resize: (1080, 1632) 1370112177 -3.984145057971491 treat image : temp/1751485646_1884981_1370112114_d450fb8097a53c51d3a509125964d90d.jpg resize: (1080, 1632) 1370112114 -3.948915696372435 treat image : temp/1751485646_1884981_1370112041_be55b36892dc556a37c6e6e7f4196553.jpg resize: (1080, 1632) 1370112041 -4.168349423072424 treat image : temp/1751485646_1884981_1370111948_9708e34c78c641edf001790f89a500d1.jpg resize: (1080, 1632) 1370111948 -2.4183928405519155 treat image : temp/1751485646_1884981_1370111836_455392d67e1958b08d6bc0b35256af8f.jpg resize: (1080, 1632) 1370111836 -4.746795778391353 treat image : temp/1751485646_1884981_1370111690_34692669360f5ad5846ddd50221a90ab.jpg resize: (1080, 1632) 1370111690 -5.841641070606392 treat image : temp/1751485646_1884981_1370111689_9c423aeb5c9afcd51d724ff78ddcc677.jpg resize: (1080, 1632) 1370111689 -5.84008112872218 treat image : temp/1751485646_1884981_1370111686_d9f848cdb5ddea69c24b89a61e1558c2.jpg resize: (1080, 1632) 1370111686 -5.835720771420353 treat image : temp/1751485646_1884981_1370111677_88630119886b237ca3e51081dbf7fafe.jpg resize: (1080, 1632) 1370111677 -5.840317762008118 treat image : temp/1751485646_1884981_1370111675_71a9fa5c43329e7fb295e57db5654711.jpg resize: (1080, 1632) 1370111675 -5.837514893327096 treat image : temp/1751485646_1884981_1370111673_a86c55243e9845bece9619fcbe838f95.jpg resize: (1080, 1632) 1370111673 -5.842186913862193 treat image : temp/1751485646_1884981_1370110924_fcc4948c4aa794c7b2fa9622c2121b00.jpg resize: (1080, 1632) 1370110924 -5.845951225574037 treat image : temp/1751485646_1884981_1370110913_ae4531ab95840e7ea146ac812dffceba.jpg resize: (1080, 1632) 1370110913 -5.843363103573695 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.013229608535766602 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.013979434967041016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014860391616821289 save missing photos in datou_result : time spend for datou_step_exec : 16.787359952926636 time spend to save output : 0.04721355438232422 total time spend for step 1 : 16.83457350730896 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 5.35system 0:21.22elapsed 91%CPU (0avgtext+0avgdata 139304maxresident)k 120inputs+10584outputs (0major+258158minor)pagefaults 0swaps