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 : 1131388 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 : 2760>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1131388/ 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.221453905105591 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 Jul 2 16:22:29 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/1751466147_1131388_1369957943_5de2b8ac2b596cc2c3f2e7e8cfdf78ef.jpg resize: (1080, 1632) 1369957943 -5.155959207072967 treat image : temp/1751466147_1131388_1369957925_5f523946b735b81bc63ac4e3a40469f3.jpg resize: (1080, 1632) 1369957925 -5.155959207072967 treat image : temp/1751466147_1131388_1369957905_f66f9e4758f90de9b15a4586c7de515f.jpg resize: (1080, 1632) 1369957905 -5.712191205898958 treat image : temp/1751466147_1131388_1369957890_869c1aca5c3b5762ff4716788ea119ed.jpg resize: (1080, 1632) 1369957890 -5.712191205898958 treat image : temp/1751466147_1131388_1369957873_4bbe03e3dab2574195a9b2720d2e8a6b.jpg resize: (1080, 1632) 1369957873 -5.0346865766144155 treat image : temp/1751466147_1131388_1369957858_44d3f9fd6925ecb289d5bfe6c58492e3.jpg resize: (1080, 1632) 1369957858 -5.0346865766144155 treat image : temp/1751466147_1131388_1369957852_05b61235290e45526864b9579b330987.jpg resize: (1080, 1632) 1369957852 -1.2573243908214902 treat image : temp/1751466147_1131388_1369957847_4c0363068d7233194fb549346ec44b25.jpg resize: (1080, 1632) 1369957847 -1.2573243908214902 treat image : temp/1751466147_1131388_1369957824_6c0c5bbb39821880a82ff516de467767.jpg resize: (1080, 1632) 1369957824 -2.407286632269934 treat image : temp/1751466147_1131388_1369957820_1786dbf0b276d69afad7b62d65dd4b65.jpg resize: (1080, 1632) 1369957820 -2.407286632269934 treat image : temp/1751466147_1131388_1369957795_95af932fe6d131dccf1c79c621f511f3.jpg resize: (1080, 1632) 1369957795 -1.3207540716424584 treat image : temp/1751466147_1131388_1369957792_30fad8051a143115bae4f7958162e91b.jpg resize: (1080, 1632) 1369957792 -1.3207540716424584 treat image : temp/1751466147_1131388_1369957679_e8efd03bd709fa2415d65019bc796ca3.jpg resize: (1080, 1632) 1369957679 -4.863489943846955 treat image : temp/1751466147_1131388_1369957652_1dc94ee5d5c6c7fd47ea2a12949615dd.jpg resize: (1080, 1632) 1369957652 -4.855724295179317 treat image : temp/1751466147_1131388_1369957629_f26a4f51145b7cc9b1475bf05cf4c966.jpg resize: (1080, 1632) 1369957629 -4.863306997674733 treat image : temp/1751466147_1131388_1369957593_cd73bca2e9931c637c12903d636c94c3.jpg resize: (1080, 1632) 1369957593 -4.847677816527839 treat image : temp/1751466147_1131388_1369957559_1a3d9e484015b3981835e35b5e8abf84.jpg resize: (1080, 1632) 1369957559 -4.864438124909074 treat image : temp/1751466147_1131388_1369957507_fa1d83c9d30c6287a0abee30e90f9583.jpg resize: (1080, 1632) 1369957507 -4.8738539300001404 treat image : temp/1751466147_1131388_1369945505_b2df4fab6d841912f26ccd069afc9b0f.jpg resize: (1080, 1632) 1369945505 -5.150811317890372 treat image : temp/1751466147_1131388_1369945426_f346021f1733a0dec1bbf8cd537a35a6.jpg resize: (1080, 1632) 1369945426 -1.422326624480419 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.017771244049072266 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.0159909725189209 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019851207733154297 save missing photos in datou_result : time spend for datou_step_exec : 19.170937538146973 time spend to save output : 0.058274269104003906 total time spend for step 1 : 19.229211807250977 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.14user 6.64system 0:23.72elapsed 91%CPU (0avgtext+0avgdata 136588maxresident)k 4216inputs+8664outputs (37major+257886minor)pagefaults 0swaps