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 : 569296 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 : 361>100 please execute split_portfolio.py -i 25086858 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3308712'] with mtr_portfolio_ids : ['25086858'] and first list_photo_ids : [] new path : /proc/569296/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.1133055686950684 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 Jul 19 01:17: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/1752880648_569296_1372699807_b932ffda521c2bfed47bdd002b58341a.jpg resize: (1080, 1632) 1372699807 -5.036311938966699 treat image : temp/1752880648_569296_1372699805_a851cda5c48339aaefc06fde5a002879.jpg resize: (1080, 1632) 1372699805 -5.0271426985967445 treat image : temp/1752880648_569296_1372699804_581e74f59592f0c4fcb8ddaa7b9417be.jpg resize: (1080, 1632) 1372699804 -5.027539606479966 treat image : temp/1752880648_569296_1372699803_4199d0fc00607672f7a9cc41ced00309.jpg resize: (1080, 1632) 1372699803 -5.022655901226351 treat image : temp/1752880648_569296_1372699802_3f4d63e73d3dbafe056213800416c302.jpg resize: (1080, 1632) 1372699802 -5.0201819135697265 treat image : temp/1752880648_569296_1372699798_a422923b49616014d642507f4861edca.jpg resize: (1080, 1632) 1372699798 -5.028539265860624 treat image : temp/1752880648_569296_1372699772_288cbf9244eead5f136bc69aef1f2416.jpg resize: (1080, 1632) 1372699772 -5.036948700774476 treat image : temp/1752880648_569296_1372699771_51769a914bd86aed739dc2407fb387dc.jpg resize: (1080, 1632) 1372699771 -5.039245252295573 treat image : temp/1752880648_569296_1372699770_651cd6c6e606f5e2d5bf4c384bb8611c.jpg resize: (1080, 1632) 1372699770 -5.037568957011388 treat image : temp/1752880648_569296_1372699768_2e91861fff9b0e09c1419d747f6b7395.jpg resize: (1080, 1632) 1372699768 -5.03540144211211 treat image : temp/1752880648_569296_1372699766_b221891ea172cc67f795a29f72b2641d.jpg resize: (1080, 1632) 1372699766 -5.037939515103958 treat image : temp/1752880648_569296_1372699764_e8430dbf9d05b69549bda688b3bc8f77.jpg resize: (1080, 1632) 1372699764 -5.030973780735455 treat image : temp/1752880648_569296_1372699748_baf343f2399e9664fa922e0d02e11e08.jpg resize: (1080, 1632) 1372699748 -5.021807956998145 treat image : temp/1752880648_569296_1372699746_a1e162ae45a7c2783efc5a0cb4ba1f92.jpg resize: (1080, 1632) 1372699746 -5.022094631173071 treat image : temp/1752880648_569296_1372699744_56f9dfdec82967ce8368cc3c7075dbfd.jpg resize: (1080, 1632) 1372699744 -5.038144423702232 treat image : temp/1752880648_569296_1372699742_56a2b615ba97192f247be0f5d0c5f1b0.jpg resize: (1080, 1632) 1372699742 -5.0265895617085 treat image : temp/1752880648_569296_1372699740_52906babfbeeff6251dc5484b820b8c5.jpg resize: (1080, 1632) 1372699740 -5.028016572906635 treat image : temp/1752880648_569296_1372699737_3e27a060d933c91ed44d814be83e7cdf.jpg resize: (1080, 1632) 1372699737 -5.0396528879773435 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 : 18 time used for this insertion : 0.012676477432250977 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.23496413230895996 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.3569309711456299 save missing photos in datou_result : time spend for datou_step_exec : 14.118292570114136 time spend to save output : 0.6099731922149658 total time spend for step 1 : 14.728265762329102 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.96user 3.94system 0:18.97elapsed 89%CPU (0avgtext+0avgdata 139108maxresident)k 104inputs+8816outputs (3major+236569minor)pagefaults 0swaps