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 : 816584 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 : 5801>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/816584/ 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 : 3.0986826419830322 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 Jul 17 17:22:32 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/1752765749_816584_1372479428_053480fff8a5749921837d3dfd005b50.jpg resize: (1080, 1632) 1372479428 -5.66876356069279 treat image : temp/1752765749_816584_1372479410_0a11525415c97715bebf8d66ab939067.jpg resize: (1080, 1632) 1372479410 13.020936909438213 treat image : temp/1752765749_816584_1372479396_d3d306d349ba273722f91f808f0c1fc0.jpg resize: (1080, 1632) 1372479396 -2.6536779534596917 treat image : temp/1752765749_816584_1372479379_9c4709717141e6d93ae7e03b561d82d2.jpg resize: (1080, 1632) 1372479379 -1.991100020378398 treat image : temp/1752765749_816584_1372479363_c4f4c44977024e232f7275b6ddfb40eb.jpg resize: (1080, 1632) 1372479363 -1.1906103722935506 treat image : temp/1752765749_816584_1372479348_970945afd5b5ede254f35e0a258637d9.jpg resize: (1080, 1632) 1372479348 -4.390981664439004 treat image : temp/1752765749_816584_1372337027_0eb9809a2c86673be39ff5cb5c627842.jpg resize: (1080, 1632) 1372337027 -2.851771171372221 treat image : temp/1752765749_816584_1372337009_1d78b5ae5ab57a9eb08670b30d70b0f5.jpg resize: (1080, 1632) 1372337009 -4.19684328362669 treat image : temp/1752765749_816584_1372337007_37aa7e30730dcbdd4f9dcc949ad4f22a.jpg resize: (1080, 1632) 1372337007 -5.046333880731851 treat image : temp/1752765749_816584_1372337005_9f11066579430bf623b254c00ec6fc9f.jpg resize: (1080, 1632) 1372337005 -5.031571421986881 treat image : temp/1752765749_816584_1372337002_c754120d9c6050b5737a82a8cf688e1b.jpg resize: (1080, 1632) 1372337002 -1.2493201843310602 treat image : temp/1752765749_816584_1372337000_d37ca57d2253f4fd8b8836fbd5b9f9df.jpg resize: (1080, 1632) 1372337000 -1.757998885178394 treat image : temp/1752765749_816584_1372336998_aed5edd7791c37163a019f9e5a667478.jpg resize: (1080, 1632) 1372336998 -2.7950553942102 treat image : temp/1752765749_816584_1372336984_ee053beae9c110e70bc43c8bb5f7ee0b.jpg resize: (1080, 1632) 1372336984 -4.500243672916688 treat image : temp/1752765749_816584_1372336981_36aabc7285e3656accd116be8a51a3be.jpg resize: (1080, 1632) 1372336981 -4.4980122801898155 treat image : temp/1752765749_816584_1372336978_8acada6b24f0d767a5e19815b86ec11c.jpg resize: (1080, 1632) 1372336978 -4.4426391977170425 treat image : temp/1752765749_816584_1372336974_e7e1915f9d04e5532ff85be8ea359b27.jpg resize: (1080, 1632) 1372336974 -4.447973133066689 treat image : temp/1752765749_816584_1372336973_3eb0f78e61b52959f4b94b359c9539c4.jpg resize: (1080, 1632) 1372336973 -4.447682606296935 treat image : temp/1752765749_816584_1372336969_b01457951c91dc0c86728d378fbd79cc.jpg resize: (1080, 1632) 1372336969 -4.169392248551357 treat image : temp/1752765749_816584_1372336952_e5d1a8423f720e4d2548aecb67e69407.jpg resize: (1080, 1632) 1372336952 -5.12276026764262 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.043862342834472656 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.042839765548706055 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.040529489517211914 save missing photos in datou_result : time spend for datou_step_exec : 17.43390727043152 time spend to save output : 0.14563393592834473 total time spend for step 1 : 17.579541206359863 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.27user 5.44system 0:24.38elapsed 80%CPU (0avgtext+0avgdata 138068maxresident)k 96inputs+7848outputs (9major+263831minor)pagefaults 0swaps