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 : 3277646 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 : 2236>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3277646/ 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.2825357913970947 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 21 15:52: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/1747835548_3277646_1360050949_fee6d608f1cbd3f337b0a26fa43dcdc9.jpg resize: (1080, 1632) 1360050949 -3.7518305321972543 treat image : temp/1747835548_3277646_1360050942_88b280bf70f67ef392fc3b2e4f4656f9.jpg resize: (1080, 1632) 1360050942 -5.86152477907079 treat image : temp/1747835548_3277646_1360050918_459450cba0586cbf9540f086d5fe4318.jpg resize: (1080, 1632) 1360050918 -4.425590498957745 treat image : temp/1747835548_3277646_1360050788_fdcbaa54b05a086fbd93552e60281108.jpg resize: (1080, 1632) 1360050788 -5.144554233825867 treat image : temp/1747835548_3277646_1360050784_1971192fa624fbf955fa481862949536.jpg resize: (1080, 1632) 1360050784 -5.889228127653215 treat image : temp/1747835548_3277646_1360050780_657e49342b7a6993d367683d4d8f6124.jpg resize: (1080, 1632) 1360050780 -5.896406388375086 treat image : temp/1747835548_3277646_1360050774_29b5cdcd0ba13b4fabde5ffb6d0c3980.jpg resize: (1080, 1632) 1360050774 -4.410108065872809 treat image : temp/1747835548_3277646_1360050769_9994396c0a4b23d54b882a257b69599d.jpg resize: (1080, 1632) 1360050769 -5.834746913043731 treat image : temp/1747835548_3277646_1360050763_ba7ad11e9b1f7d1d127c201feb080b2a.jpg resize: (1080, 1632) 1360050763 -5.506168409412878 treat image : temp/1747835548_3277646_1360050732_44b8a007279bff80cabc6581d3c7af63.jpg resize: (1080, 1632) 1360050732 -1.5730489029766188 treat image : temp/1747835548_3277646_1360050727_d375845cfc4106a7cee2f71610ab5573.jpg resize: (1080, 1632) 1360050727 -2.0104877977754256 treat image : temp/1747835548_3277646_1360050720_9da92a21c94f8b68beed0708eb19d6ae.jpg resize: (1080, 1632) 1360050720 -0.26916392192462735 treat image : temp/1747835548_3277646_1360050714_bf7a60bd44b7ea381eb12a55633cef01.jpg resize: (1080, 1632) 1360050714 -4.089490321327903 treat image : temp/1747835548_3277646_1360050691_d8e54de947f96abcd338ed2d7073de35.jpg resize: (1080, 1632) 1360050691 -5.795148233217951 treat image : temp/1747835548_3277646_1360050687_a910de44b28bf486a148c9ee3d03fdd2.jpg resize: (1080, 1632) 1360050687 -5.678301911557883 treat image : temp/1747835548_3277646_1360050682_581aaa434c50a3fa5cdca107b71966f5.jpg resize: (1080, 1632) 1360050682 -5.836702018309124 treat image : temp/1747835548_3277646_1360050678_04aa16e90d748e2db932bf03439bb4ba.jpg resize: (1080, 1632) 1360050678 -5.7912013237809745 treat image : temp/1747835548_3277646_1360050674_d9c20dde22ec81d3b2e3c0f37e2300d5.jpg resize: (1080, 1632) 1360050674 -5.905576876568677 treat image : temp/1747835548_3277646_1360050670_e81565288c024857ba43b8e04a1f494c.jpg resize: (1080, 1632) 1360050670 -4.629398341089105 treat image : temp/1747835548_3277646_1360050647_7f976017a9c74c5e8a27972144a35d60.jpg resize: (1080, 1632) 1360050647 -4.921023843325723 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.01276850700378418 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.012798786163330078 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01520848274230957 save missing photos in datou_result : time spend for datou_step_exec : 17.329225063323975 time spend to save output : 0.046059370040893555 total time spend for step 1 : 17.375284433364868 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.99user 5.02system 0:22.09elapsed 90%CPU (0avgtext+0avgdata 140780maxresident)k 112inputs+10000outputs (3major+251135minor)pagefaults 0swaps