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 : 574905 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 : 1348>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/574905/ 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.4725797176361084 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 Tue Aug 12 10:27:31 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/1754987249_574905_1376574845_87f9199932d2065fdd7a42f850231ce5.jpg resize: (1080, 1632) 1376574845 -1.5982950271945473 treat image : temp/1754987249_574905_1376574842_6d37503bdb4c893a94f5a9d0ee43fb0c.jpg resize: (1080, 1632) 1376574842 -1.7822055549105298 treat image : temp/1754987249_574905_1376574788_c15d1c6042e977419298053f76d3ae51.jpg resize: (1080, 1632) 1376574788 -4.740821741948135 treat image : temp/1754987249_574905_1376574784_8c59dfce7eb6738d0f566d247db8b0d4.jpg resize: (1080, 1632) 1376574784 -5.51597073593047 treat image : temp/1754987249_574905_1376574780_fa7978d715de01523b669322952a3172.jpg resize: (1080, 1632) 1376574780 -4.751386851824585 treat image : temp/1754987249_574905_1376570661_642f4c01ba54a3890a9a898414d96a27.jpg resize: (1080, 1632) 1376570661 -5.935461722171695 treat image : temp/1754987249_574905_1376570656_504665d07011db7d98161de1d6886241.jpg resize: (1080, 1632) 1376570656 -4.378844393697651 treat image : temp/1754987249_574905_1376570651_8e1c1528f565fabbcbf8a3591ab99d0f.jpg resize: (1080, 1632) 1376570651 -5.723947357347966 treat image : temp/1754987249_574905_1376570636_7393440a3de97030fa07bbe814ec957a.jpg resize: (1080, 1632) 1376570636 -6.349772282225018 treat image : temp/1754987249_574905_1376570634_71c9410ac2fcf0241fada9dce91b1ee9.jpg resize: (1080, 1632) 1376570634 -4.935292002542469 treat image : temp/1754987249_574905_1376570630_d08bc8e940ed5c177e7fe84b13337f52.jpg resize: (1080, 1632) 1376570630 0.4286059376896532 treat image : temp/1754987249_574905_1376570627_2aad9cb7631dad8c131a7cd8d01d42f4.jpg resize: (1080, 1632) 1376570627 -1.8189441528427677 treat image : temp/1754987249_574905_1376570625_afdaf72680266c9ec086405bd0d12dba.jpg resize: (1080, 1632) 1376570625 -1.3352745290079657 treat image : temp/1754987249_574905_1376570607_d07e72524c18dda190731edd8f44b5c6.jpg resize: (1080, 1632) 1376570607 -1.5622317282947185 treat image : temp/1754987249_574905_1376570603_686d4e749b36afbcae02b5c2bc10f474.jpg resize: (1080, 1632) 1376570603 -6.1336765193346725 treat image : temp/1754987249_574905_1376570599_2fedd9d7bf5fa818ee608f1ce6074611.jpg resize: (1080, 1632) 1376570599 -4.770098443673684 treat image : temp/1754987249_574905_1376570595_6a92af32dac8a18fc401c63f8a3682b0.jpg resize: (1080, 1632) 1376570595 -5.7492515188010005 treat image : temp/1754987249_574905_1376570591_623ee1835bd4fb3687cdf372c410008e.jpg resize: (1080, 1632) 1376570591 -5.067190404899927 treat image : temp/1754987249_574905_1376570589_e6f0acfc47e59991bc8be38f54156217.jpg resize: (1080, 1632) 1376570589 -4.539018516983227 treat image : temp/1754987249_574905_1376570568_dc60bae7695bbcf28191ba11e58c6eff.jpg resize: (1080, 1632) 1376570568 -4.102792492909624 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.015689611434936523 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.01695394515991211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014858722686767578 save missing photos in datou_result : time spend for datou_step_exec : 18.38510274887085 time spend to save output : 0.057327985763549805 total time spend for step 1 : 18.4424307346344 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.47user 6.54system 0:24.32elapsed 86%CPU (0avgtext+0avgdata 139008maxresident)k 344inputs+9520outputs (13major+253658minor)pagefaults 0swaps