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 : 711024 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 : 2118>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/711024/ 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.2684197425842285 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 15:02: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/1751461349_711024_1369928808_c10dcf164ed71f70bbfe1dbef92dbf53.jpg resize: (1080, 1632) 1369928808 -4.971181987538214 treat image : temp/1751461349_711024_1369928783_bfe088e6a5547907d0313ff24f4fc9fc.jpg resize: (1080, 1632) 1369928783 -5.1110980241995625 treat image : temp/1751461349_711024_1369928749_b2d7234208c2e6fb95add167fab47d67.jpg resize: (1080, 1632) 1369928749 -5.05212658604065 treat image : temp/1751461349_711024_1369928714_10dd29e229dd4759477ff0f3ba46c925.jpg resize: (1080, 1632) 1369928714 -5.140117595702932 treat image : temp/1751461349_711024_1369928691_4c0d026338e4987329e912bc5bff0909.jpg resize: (1080, 1632) 1369928691 -5.125514126755838 treat image : temp/1751461349_711024_1369928658_8f7069425a802fc9dc820d5a4ed72b74.jpg resize: (1080, 1632) 1369928658 -5.1248835081734505 treat image : temp/1751461349_711024_1369928431_ba632b0824e5b2ef169b928cd6912c22.jpg resize: (1080, 1632) 1369928431 -4.863639402632036 treat image : temp/1751461349_711024_1369928293_39f3916a9be4cdc88af1cfacd888af6f.jpg resize: (1080, 1632) 1369928293 -5.163682702200261 treat image : temp/1751461349_711024_1369928177_a8f35c1287d01c573adb421c7ebe2e3b.jpg resize: (1080, 1632) 1369928177 -5.175893035317263 treat image : temp/1751461349_711024_1369928118_98e7a96a187c49e69d5c2a6a3407f90f.jpg resize: (1080, 1632) 1369928118 -5.175287212427391 treat image : temp/1751461349_711024_1369928067_d5b758ef2fe1d154b8afa0a5d30d7222.jpg resize: (1080, 1632) 1369928067 -5.204279806610076 treat image : temp/1751461349_711024_1369928004_5107015ce1da48e1918fec94c79fb805.jpg resize: (1080, 1632) 1369928004 -5.2267623040926505 treat image : temp/1751461349_711024_1369927924_55dfd0d09d02e8690f3a288b93e2312c.jpg resize: (1080, 1632) 1369927924 -5.198281928279134 treat image : temp/1751461349_711024_1369927911_d1e680641f30c8e53f4deb2756c787f8.jpg resize: (1080, 1632) 1369927911 -5.098427081320403 treat image : temp/1751461349_711024_1369927874_995df8203338ec0c43e12772dddc1f3a.jpg resize: (1080, 1632) 1369927874 -4.989125821413114 treat image : temp/1751461349_711024_1369927819_92a0a534ea615be9abe076a77d7f09b8.jpg resize: (1080, 1632) 1369927819 -5.057399353656728 treat image : temp/1751461349_711024_1369927752_81e79646fdb143e324f3a07df8f41bf6.jpg resize: (1080, 1632) 1369927752 -5.143198407462969 treat image : temp/1751461349_711024_1369927668_c7b5d31d0a85bf1205feb70187434f79.jpg resize: (1080, 1632) 1369927668 -5.115369968029542 treat image : temp/1751461349_711024_1369922675_a5c0ffc8130164bc0eff846b3a5ac0c6.jpg resize: (1080, 1632) 1369922675 -5.43946355883812 treat image : temp/1751461349_711024_1369922670_d6bf25fcbab1be9e68c67856da3ec06a.jpg resize: (1080, 1632) 1369922670 -5.435772609339692 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.016636133193969727 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.012902259826660156 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018008708953857422 save missing photos in datou_result : time spend for datou_step_exec : 15.647576332092285 time spend to save output : 0.05274176597595215 total time spend for step 1 : 15.700318098068237 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.79user 3.51system 0:20.54elapsed 89%CPU (0avgtext+0avgdata 138348maxresident)k 3840inputs+9992outputs (51major+260293minor)pagefaults 0swaps