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 : 3034634 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 : 2953>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/3034634/ 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.931917905807495 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 Apr 2 19:27: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/1743614847_3034634_1349580847_a2aace41c015cea140113f72a5f47ff8.jpg resize: (1080, 1632) 1349580847 -1.8874135268764543 treat image : temp/1743614847_3034634_1349580844_89a03ca8095e0b19a6444cc517104f79.jpg resize: (1080, 1632) 1349580844 -1.4086262104215672 treat image : temp/1743614847_3034634_1349580839_2f6ab5dc63101e7417322bd37f1e5b51.jpg resize: (1080, 1632) 1349580839 -3.845682955151758 treat image : temp/1743614847_3034634_1349580836_e378e6746a3875d458e21bf795385833.jpg resize: (1080, 1632) 1349580836 -5.95385057707518 treat image : temp/1743614847_3034634_1349485733_41a779cf97d042a988d1de7ab43950a0.jpg resize: (1080, 1632) 1349485733 -4.9918864555445435 treat image : temp/1743614847_3034634_1349485702_c5f615a02ab75bdf551fce8f529eebdd.jpg resize: (1080, 1632) 1349485702 -1.5322231080967896 treat image : temp/1743614847_3034634_1349485697_c70bec931c30867689d98ab040d57a4b.jpg resize: (1080, 1632) 1349485697 -1.891580785493073 treat image : temp/1743614847_3034634_1349485696_a5fe1eeedf419f055c169c512a73fa4a.jpg resize: (1080, 1632) 1349485696 -2.919155014558959 treat image : temp/1743614847_3034634_1349485692_b314cd82bb82893296023068128628fd.jpg resize: (1080, 1632) 1349485692 -2.989007828276959 treat image : temp/1743614847_3034634_1349485687_77b62a2644504cd5315c6eebcff53c48.jpg resize: (1080, 1632) 1349485687 -5.7897260914764495 treat image : temp/1743614847_3034634_1349485649_77f2bc57758c50bd9ca2322618ee89b5.jpg resize: (1080, 1632) 1349485649 -4.218204451588197 treat image : temp/1743614847_3034634_1349485648_e517f3b6d783931f4014564aa691e4b0.jpg resize: (1080, 1632) 1349485648 -3.079380189308046 treat image : temp/1743614847_3034634_1349485644_ede234f59320faa11b7a72cbe17db6a3.jpg resize: (1080, 1632) 1349485644 -4.30468072158776 treat image : temp/1743614847_3034634_1349485641_a76063975bbad3da57c48e55bbbb2466.jpg resize: (1080, 1632) 1349485641 -5.07546749949903 treat image : temp/1743614847_3034634_1349485635_a452c859e858692204e51b827cca192e.jpg resize: (1080, 1632) 1349485635 -5.411997908643117 treat image : temp/1743614847_3034634_1349485628_d0a5a238c0ef36d9cd6c9fc061042ae1.jpg resize: (1080, 1632) 1349485628 -0.9111896693937124 treat image : temp/1743614847_3034634_1349485592_bcac0e062890e72314950cf67905a04c.jpg resize: (1080, 1632) 1349485592 -4.888855541803286 treat image : temp/1743614847_3034634_1349485589_89e1cbde470c9eff6643a0bd7423d43a.jpg resize: (1080, 1632) 1349485589 -4.561307699844223 treat image : temp/1743614847_3034634_1349485586_6429e3f45fd4617256bbe3e038223129.jpg resize: (1080, 1632) 1349485586 -3.566721428487409 treat image : temp/1743614847_3034634_1349485582_2d11d610df0de043887250d6d2a838b7.jpg resize: (1080, 1632) 1349485582 -1.6357639199891183 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.053787946701049805 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.018868446350097656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01728987693786621 save missing photos in datou_result : time spend for datou_step_exec : 16.837157011032104 time spend to save output : 0.09522271156311035 total time spend for step 1 : 16.932379722595215 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.23user 3.58system 0:21.95elapsed 85%CPU (0avgtext+0avgdata 140608maxresident)k 128inputs+8248outputs (8major+264248minor)pagefaults 0swaps