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 : 3265753 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 : 1979>100 please execute split_portfolio.py -i 21715706 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2691079'] with mtr_portfolio_ids : ['21715706'] and first list_photo_ids : [] new path : /proc/3265753/ 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 : 3.020160675048828 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 Mar 26 15:32: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/1742999547_3265753_1347495905_de0e8ecb3bcdf734cd62896a8116ada4.jpg resize: (1080, 1632) 1347495905 -5.769448257109711 treat image : temp/1742999547_3265753_1347495607_e22cb6fb0d4dea409db355b525232baf.jpg resize: (1080, 1632) 1347495607 -6.028101249315511 treat image : temp/1742999547_3265753_1347495571_672664d122ecc2b6d67129bef7743a91.jpg resize: (1080, 1632) 1347495571 -5.540124521334788 treat image : temp/1742999547_3265753_1347495531_4243005d4a257c9045ced07f51790b72.jpg resize: (1080, 1632) 1347495531 -5.118454569935596 treat image : temp/1742999547_3265753_1347495278_546867953adf72356faeef8986dff2a5.jpg resize: (1080, 1632) 1347495278 -3.6690178694164732 treat image : temp/1742999547_3265753_1347495253_3c7f5ad43f2e77a4788653dd6ba70fdc.jpg resize: (1080, 1632) 1347495253 -5.79136629558483 treat image : temp/1742999547_3265753_1347495225_a7090de83bd1ade87573b6dbeddf4151.jpg resize: (1080, 1632) 1347495225 -3.9785596009228197 treat image : temp/1742999547_3265753_1347495218_415d195823200073d96739b315631492.jpg resize: (1080, 1632) 1347495218 -5.735234213515605 treat image : temp/1742999547_3265753_1347495215_6d63374751fd7dabe2e305822495a0ea.jpg resize: (1080, 1632) 1347495215 -4.132353527582372 treat image : temp/1742999547_3265753_1347460221_44123a5d170c56a55f7b192d1eec1005.jpg resize: (1080, 1632) 1347460221 -4.98186446958896 treat image : temp/1742999547_3265753_1347460218_0afea5bba0f9e0ce6adf76b6cf051478.jpg resize: (1080, 1632) 1347460218 -5.587411135361979 treat image : temp/1742999547_3265753_1347460214_75eb8ed5795641ba43f3cd6f744c137a.jpg resize: (1080, 1632) 1347460214 -5.9888919713625075 treat image : temp/1742999547_3265753_1347460208_a89623d46b6ed64dca349b166165e199.jpg resize: (1080, 1632) 1347460208 -5.977231087217352 treat image : temp/1742999547_3265753_1347460175_6f091762e6dbbac36087b9102e6ac8b9.jpg resize: (1080, 1632) 1347460175 -5.811260394483138 treat image : temp/1742999547_3265753_1347460172_976cfffb0f8fda23c53b018b060d4649.jpg resize: (1080, 1632) 1347460172 -5.266401229759061 treat image : temp/1742999547_3265753_1347460170_ac4578f3b845021d5ad578f7a68d8204.jpg resize: (1080, 1632) 1347460170 -5.029384899240156 treat image : temp/1742999547_3265753_1347460141_e361ec7ff85de19e1d84ca4cf4300c4c.jpg resize: (1080, 1632) 1347460141 -2.6929703734272668 treat image : temp/1742999547_3265753_1347460136_07cc0966c235efbe9f5a84a3cefe8bd3.jpg resize: (1080, 1632) 1347460136 -4.755123647618843 treat image : temp/1742999547_3265753_1347460129_5d01ce5924314fa462ce2562f9ecfbde.jpg resize: (1080, 1632) 1347460129 -4.385119762899231 treat image : temp/1742999547_3265753_1347460125_9c3ef128cafed48948fdf97bbb622478.jpg resize: (1080, 1632) 1347460125 -5.523014812690071 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.012614965438842773 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.10154509544372559 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01496267318725586 save missing photos in datou_result : time spend for datou_step_exec : 15.714585065841675 time spend to save output : 0.14586424827575684 total time spend for step 1 : 15.860449314117432 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.06user 3.62system 0:20.74elapsed 90%CPU (0avgtext+0avgdata 139548maxresident)k 6608inputs+10616outputs (24major+260518minor)pagefaults 0swaps