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 : 2376561 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 : 1178>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/2376561/ 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.5611658096313477 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 Thu May 22 10:22: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/1747902147_2376561_1360492021_f887e8acaa6e23ea8c0f28b0e58da0f3.jpg resize: (1080, 1632) 1360492021 -6.366354622356932 treat image : temp/1747902147_2376561_1360491996_ad5e99ef271da005620412bf04f1fcb8.jpg resize: (1080, 1632) 1360491996 -6.429392412598237 treat image : temp/1747902147_2376561_1360491955_13b7322bb4a2febb58206f2ff9e1eb20.jpg resize: (1080, 1632) 1360491955 -5.522519293642028 treat image : temp/1747902147_2376561_1360491929_d06e80f1dbacfa7d73a696465a779dd3.jpg resize: (1080, 1632) 1360491929 -5.624134985525549 treat image : temp/1747902147_2376561_1360491890_e975dd013c3d0f78eb969ccea27dd267.jpg resize: (1080, 1632) 1360491890 -5.297979422747991 treat image : temp/1747902147_2376561_1360491843_4b18c029f5295f3dc00bc6a5b7fdb5c1.jpg resize: (1080, 1632) 1360491843 -5.715296115942786 treat image : temp/1747902147_2376561_1360491076_029570949576bc20df77cdfb78b68938.jpg resize: (1080, 1632) 1360491076 -2.0135250760830625 treat image : temp/1747902147_2376561_1360491023_49781059b04fb818f42f352d4777c1fd.jpg resize: (1080, 1632) 1360491023 -2.6020676173645505 treat image : temp/1747902147_2376561_1360490985_0774d52ad665fc4d9e7b05c77947d366.jpg resize: (1080, 1632) 1360490985 -6.115477761054046 treat image : temp/1747902147_2376561_1360489546_d286a406169b643761e6cd52fefb2794.jpg resize: (1080, 1632) 1360489546 -2.501272644722838 treat image : temp/1747902147_2376561_1360487149_437f393c963ef038c022bbff4605af04.jpg resize: (1080, 1632) 1360487149 -6.20147510981737 treat image : temp/1747902147_2376561_1360486501_53faaec506c87742c860cdce66ac0505.jpg resize: (1080, 1632) 1360486501 -6.090427770163692 treat image : temp/1747902147_2376561_1360481630_a53716f8ea788d102af4d108bed607b2.jpg resize: (1080, 1632) 1360481630 -4.504974755510058 treat image : temp/1747902147_2376561_1360481593_a621546736abdf0e18c7bf445bed7f7f.jpg resize: (1080, 1632) 1360481593 -6.059064744115512 treat image : temp/1747902147_2376561_1360478913_bf74d426ea49a33bb1eb81c64692c6fb.jpg resize: (1080, 1632) 1360478913 -2.4704639256454626 treat image : temp/1747902147_2376561_1360478812_ea96a587dd90e79e030fdd586c95bdcf.jpg resize: (1080, 1632) 1360478812 -2.8268982429131513 treat image : temp/1747902147_2376561_1360478730_f4b0347a47e5eac91916c8f115dc7d59.jpg resize: (1080, 1632) 1360478730 -4.130145731437706 treat image : temp/1747902147_2376561_1360478585_1c2c31de120b12ce9221d1a4d1de3d32.jpg resize: (1080, 1632) 1360478585 -5.984185336190763 treat image : temp/1747902147_2376561_1360478509_4bb606fc88f135f7a724aaba665857d3.jpg resize: (1080, 1632) 1360478509 -5.116251873810846 treat image : temp/1747902147_2376561_1360475182_2c2fae5ce491d388305113635e415852.jpg resize: (1080, 1632) 1360475182 -4.099712507805889 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.019633769989013672 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.02134084701538086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.07104063034057617 save missing photos in datou_result : time spend for datou_step_exec : 16.936399221420288 time spend to save output : 0.11678862571716309 total time spend for step 1 : 17.05318784713745 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.93user 5.29system 0:22.58elapsed 89%CPU (0avgtext+0avgdata 137884maxresident)k 3088inputs+10232outputs (20major+253610minor)pagefaults 0swaps