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 : 912543 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 : 552>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/912543/ 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.328880548477173 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 12: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/1742643148_912543_1346404733_94e3e40d0fbb7b1462be150bd64e0b5b.jpg resize: (1080, 1632) 1346404733 -4.598822057180837 treat image : temp/1742643148_912543_1346404730_ba466409636a6ffc6f0fcf9b9d766e1a.jpg resize: (1080, 1632) 1346404730 -5.622313228782669 treat image : temp/1742643148_912543_1346404727_3c8adccd464426aef89863e4fcef7daf.jpg resize: (1080, 1632) 1346404727 -5.466005091783336 treat image : temp/1742643148_912543_1346404723_eee1f6043ab47ac0b87f1495529503ca.jpg resize: (1080, 1632) 1346404723 -5.0095425449825575 treat image : temp/1742643148_912543_1346404720_05f2b3ae64c386a341ee742d8ceda010.jpg resize: (1080, 1632) 1346404720 -5.014722753770452 treat image : temp/1742643148_912543_1346404717_f2d98a659500eef84b26c9e4f097ecaa.jpg resize: (1080, 1632) 1346404717 -4.755039519677567 treat image : temp/1742643148_912543_1346404709_e04f5746dd186b8e84636f060b1da3a0.jpg resize: (1080, 1632) 1346404709 -5.889307826822208 treat image : temp/1742643148_912543_1346404702_8198dd2f19a435d3670eb2983a578790.jpg resize: (1080, 1632) 1346404702 -4.080436295120775 treat image : temp/1742643148_912543_1346404699_b9c8a0feea9174368d1dfb410c96dba3.jpg resize: (1080, 1632) 1346404699 -2.614173197544603 treat image : temp/1742643148_912543_1346404695_a164af2e4e792d4971cde0b0ab301642.jpg resize: (1080, 1632) 1346404695 -4.032592429889842 treat image : temp/1742643148_912543_1346404693_ed86532d9f62caad03da748f1001a006.jpg resize: (1080, 1632) 1346404693 -4.423716008525776 treat image : temp/1742643148_912543_1346404691_33e6de6e662c3851b5a03d2e6107075e.jpg resize: (1080, 1632) 1346404691 -3.4972611079577574 treat image : temp/1742643148_912543_1346404649_474414775f513b03bc552b410d6f47f1.jpg resize: (1080, 1632) 1346404649 -5.126070717032316 treat image : temp/1742643148_912543_1346404646_b4edf4023b6af7ec359998714c27f882.jpg resize: (1080, 1632) 1346404646 -5.039485772053304 treat image : temp/1742643148_912543_1346404642_7f8aa3224a0997f8fdd3ef05269c372e.jpg resize: (1080, 1632) 1346404642 -6.507029075623484 treat image : temp/1742643148_912543_1346404639_5c2c6e528a040e07457deb97393f6bf1.jpg resize: (1080, 1632) 1346404639 -5.069129469188178 treat image : temp/1742643148_912543_1346404635_7b143fd5bfe0815f7f9a605c17694a5f.jpg resize: (1080, 1632) 1346404635 -6.301079174939401 treat image : temp/1742643148_912543_1346404631_b0d89c860ba76681a377a09717343221.jpg resize: (1080, 1632) 1346404631 -5.959640305658577 treat image : temp/1742643148_912543_1346404619_79dd021f4303ee5fcdc6b84256ad6f73.jpg resize: (1080, 1632) 1346404619 -5.269567659811112 treat image : temp/1742643148_912543_1346404615_b83ff2ebc9d0fd8a091d515558ad2618.jpg resize: (1080, 1632) 1346404615 -6.412496205931711 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.012511730194091797 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.012186765670776367 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014823198318481445 save missing photos in datou_result : time spend for datou_step_exec : 13.743730783462524 time spend to save output : 0.04475975036621094 total time spend for step 1 : 13.788490533828735 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.58user 2.67system 0:19.28elapsed 84%CPU (0avgtext+0avgdata 141420maxresident)k 168inputs+10440outputs (11major+266488minor)pagefaults 0swaps