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 : 1628349 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 : 462>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1628349/ 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.367619752883911 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 May 14 06:57: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/1747198647_1628349_1358096304_64753c3dd49f109edcc59e3f6bb527a4.jpg resize: (1080, 1632) 1358096304 -7.40598768102435 treat image : temp/1747198647_1628349_1358096303_0f9a7343142f05711242f8c8d9c1815c.jpg resize: (1080, 1632) 1358096303 -6.999660331280356 treat image : temp/1747198647_1628349_1358096302_15cb6b7a519fe66dcc5dee204a7781cf.jpg resize: (1080, 1632) 1358096302 -1.9330458910577213 treat image : temp/1747198647_1628349_1358096300_45c83b72bb7e6a0d48831d6b43e1286c.jpg resize: (1080, 1632) 1358096300 -1.7492347244640385 treat image : temp/1747198647_1628349_1358096267_299d394ef950af8bc771cfd6bca6551e.jpg resize: (1080, 1632) 1358096267 -3.7144544756794406 treat image : temp/1747198647_1628349_1358096264_63dbbc409490c6afbcbbc81d90e5b150.jpg resize: (1080, 1632) 1358096264 -4.778774495025258 treat image : temp/1747198647_1628349_1358096261_fe3551259c727ae6cf43503b82480fae.jpg resize: (1080, 1632) 1358096261 -3.9980915218969932 treat image : temp/1747198647_1628349_1358096259_d89e681c9128030c9446d40aad503db2.jpg resize: (1080, 1632) 1358096259 -6.9274239037609115 treat image : temp/1747198647_1628349_1358096257_3cd687dbcf65b6d9e8f27c6bb7daccab.jpg resize: (1080, 1632) 1358096257 -4.971089121139718 treat image : temp/1747198647_1628349_1358096254_38488f4cc6c01069fb2df27816e4893e.jpg resize: (1080, 1632) 1358096254 -6.844504313669698 treat image : temp/1747198647_1628349_1358096224_26fac2613b3bf4ee36884089375e7a37.jpg resize: (1080, 1632) 1358096224 -0.4729104409661466 treat image : temp/1747198647_1628349_1358096223_48b928546d67c3eb2fc9b20d8ddd7708.jpg resize: (1080, 1632) 1358096223 -2.0754179618965 treat image : temp/1747198647_1628349_1358096222_31b2f049f965cc2536401b87a7daaa85.jpg resize: (1080, 1632) 1358096222 -5.278240885727441 treat image : temp/1747198647_1628349_1358096220_996dcc4ff7afecd3fb1a3a18327eec03.jpg resize: (1080, 1632) 1358096220 -5.600955689117074 treat image : temp/1747198647_1628349_1358096183_0b438aa9d020e79f85076ee4b3817512.jpg resize: (1080, 1632) 1358096183 -6.2489061650104585 treat image : temp/1747198647_1628349_1358096179_220a9ad532ce6500131cdc9fc0369f10.jpg resize: (1080, 1632) 1358096179 -6.109926233037626 treat image : temp/1747198647_1628349_1358096176_3d1fc936ed4d0c99a966e0251ec4b6dd.jpg resize: (1080, 1632) 1358096176 -5.980984106174658 treat image : temp/1747198647_1628349_1358096174_0b0fa0e8d190fc02057ae133e4f26361.jpg resize: (1080, 1632) 1358096174 -2.548035730195392 treat image : temp/1747198647_1628349_1358096172_d9e0f608e2b8c157e5cd3f648393c64f.jpg resize: (1080, 1632) 1358096172 -4.6929421267013804 treat image : temp/1747198647_1628349_1358096169_0de62728176a0c0b90f6f5f408183f51.jpg resize: (1080, 1632) 1358096169 -3.4171871780110465 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.01251840591430664 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.09396171569824219 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021167993545532227 save missing photos in datou_result : time spend for datou_step_exec : 14.443064212799072 time spend to save output : 0.1329631805419922 total time spend for step 1 : 14.576027393341064 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.24user 2.63system 0:19.46elapsed 86%CPU (0avgtext+0avgdata 140988maxresident)k 112inputs+10704outputs (16major+260217minor)pagefaults 0swaps