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 : 1526101 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 updating current state to 1 we have a portfolio with more photos than limit : 1827>100 please execute split_portfolio.py -i 26463903 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3655228'] with mtr_portfolio_ids : ['26463903'] and first list_photo_ids : [] new path : /proc/1526101/ 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.1884679794311523 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 Sep 3 09:42: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/1756885348_1526101_1381046942_dd1ec903ac8a6bff3b73070600e573d2_62930771.jpg resize: (1080, 1632) 1381046942 -1.5162321222938926 treat image : temp/1756885348_1526101_1381046941_b2646ff3d880661d9a75f8cdabd4ce48_16084311.jpg resize: (1080, 1632) 1381046941 -3.0709781978577517 treat image : temp/1756885348_1526101_1381046940_4962e8eb09d2c534e62f260d00c8b4e0_50750702.jpg resize: (1080, 1632) 1381046940 -5.348749849874155 treat image : temp/1756885348_1526101_1381046939_ae794d6de6252c33703c8a7785bb5e31_52889293.jpg resize: (1080, 1632) 1381046939 -6.661759646112225 treat image : temp/1756885348_1526101_1381046686_2d0eb0f4713287f670aad62ed0f18996_72812017.jpg resize: (1080, 1632) 1381046686 -4.1136876290184325 treat image : temp/1756885348_1526101_1381046685_de7dcd0673fc06dce4f31c4d40bee11b_47663223.jpg resize: (1080, 1632) 1381046685 -5.247627068540702 treat image : temp/1756885348_1526101_1381046683_688502d177f499dad7bd16c84d1c039a_94156247.jpg resize: (1080, 1632) 1381046683 -4.843158737529992 treat image : temp/1756885348_1526101_1381046682_406e244636b80628a3561c3a521f8514_62041351.jpg resize: (1080, 1632) 1381046682 -5.209714184844435 treat image : temp/1756885348_1526101_1381046681_2a79c11368bc9931b12cd7ed650446b9_21812641.jpg resize: (1080, 1632) 1381046681 -5.342632605770784 treat image : temp/1756885348_1526101_1381046660_34f78674412159a52de77f68de197bdb_46793204.jpg resize: (1080, 1632) 1381046660 -3.9524781025075644 treat image : temp/1756885348_1526101_1381046659_bdd6717903d4fbd7e7a75deb408ab778_8866929.jpg resize: (1080, 1632) 1381046659 -4.974933078235304 treat image : temp/1756885348_1526101_1381046658_57fed676fa7b2edca0f747977528a2f5_16454132.jpg resize: (1080, 1632) 1381046658 -3.9109058321907226 treat image : temp/1756885348_1526101_1381046657_1ed837bcb6c110162bba7313bf439045_66749280.jpg resize: (1080, 1632) 1381046657 -1.7972129111001953 treat image : temp/1756885348_1526101_1381046656_77de6e5ade2df0439a54ac61d0837ac8_37149251.jpg resize: (1080, 1632) 1381046656 -2.2527124377488157 treat image : temp/1756885348_1526101_1381046627_00e8b27d4b9396024002645b93cb8ddc_53848591.jpg resize: (1080, 1632) 1381046627 -4.485894662593713 treat image : temp/1756885348_1526101_1381046626_183fb2dcd09d61339fe3db7986a70997_82598281.jpg resize: (1080, 1632) 1381046626 -4.816899302414161 treat image : temp/1756885348_1526101_1381046625_141411e4f9ca84819b07971477d29b48_28239314.jpg resize: (1080, 1632) 1381046625 -5.238935870042817 treat image : temp/1756885348_1526101_1381046624_30d3ac10b11ebac0a7159920d300918b_74868847.jpg resize: (1080, 1632) 1381046624 -4.452999694174126 treat image : temp/1756885348_1526101_1381046579_b74da290770b5ed091bc4c2d66f1a6e4_41073950.jpg resize: (1080, 1632) 1381046579 -1.221107104963765 treat image : temp/1756885348_1526101_1381046578_050f45046fd839a57868ea06d4757581_29803623.jpg resize: (1080, 1632) 1381046578 -1.2113919794501837 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.016869783401489258 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.01372671127319336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015832901000976562 save missing photos in datou_result : time spend for datou_step_exec : 17.696933269500732 time spend to save output : 0.05133509635925293 total time spend for step 1 : 17.748268365859985 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.76user 5.89system 0:23.58elapsed 87%CPU (0avgtext+0avgdata 139988maxresident)k 136inputs+8856outputs (8major+260664minor)pagefaults 0swaps