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 : 1906995 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 : 498>100 please execute split_portfolio.py -i 20278395 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/1906995/ 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.2471444606781006 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 Feb 6 02:52:28 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/1738806746_1906995_1335093044_04c1459f49bd314e46b1dc5ae964330e.jpg resize: (1080, 1632) 1335093044 -5.097904167951416 treat image : temp/1738806746_1906995_1335093042_0f5b949c88e8fe5bc0556de80ce027f5.jpg resize: (1080, 1632) 1335093042 -5.776717853234612 treat image : temp/1738806746_1906995_1335093041_2191efbaef32d1288b0731a2fc8e062f.jpg resize: (1080, 1632) 1335093041 -6.301845569458739 treat image : temp/1738806746_1906995_1335093038_7b058f5e0d5186ed0b7da4c8ffcec05d.jpg resize: (1080, 1632) 1335093038 -6.034005423396791 treat image : temp/1738806746_1906995_1335093035_5ada3fe82191c628745953410226e487.jpg resize: (1080, 1632) 1335093035 -5.344818760277307 treat image : temp/1738806746_1906995_1335093033_c35f3ca0de6ef98d85e02a324364ed01.jpg resize: (1080, 1632) 1335093033 -5.302349678406726 treat image : temp/1738806746_1906995_1335093029_d5e72ce75d63a1093f9056e8570b905a.jpg resize: (1080, 1632) 1335093029 -5.176446335371638 treat image : temp/1738806746_1906995_1335093026_88b95d35f5d0d331327bb47954bc6f83.jpg resize: (1080, 1632) 1335093026 -6.393272523823015 treat image : temp/1738806746_1906995_1335093022_269f4def24d69be9790b7f913e3cc833.jpg resize: (1080, 1632) 1335093022 -4.6046099232352375 treat image : temp/1738806746_1906995_1335093019_b3cdeb3b7928291b0257d3c50d58d7cf.jpg resize: (1080, 1632) 1335093019 -6.342064324844949 treat image : temp/1738806746_1906995_1335093016_cb9a3cb947dfba765561efa47d9d09c1.jpg resize: (1080, 1632) 1335093016 -6.222475425699555 treat image : temp/1738806746_1906995_1335092983_0edc9e2e5ec4e770b10e5bc2ef1ccbe8.jpg resize: (1080, 1632) 1335092983 -6.225327979926314 treat image : temp/1738806746_1906995_1335092849_1aac3474559e626df1ee7d9b7ab1ec3c.jpg resize: (1080, 1632) 1335092849 -4.735860351692598 treat image : temp/1738806746_1906995_1335092846_27af14e84d672c654aa807f0aa7ccdb8.jpg resize: (1080, 1632) 1335092846 -5.448773048803304 treat image : temp/1738806746_1906995_1335092843_b87143f7510729ebca292351b1e87f57.jpg resize: (1080, 1632) 1335092843 -5.447632087527133 treat image : temp/1738806746_1906995_1335092841_717689ab27db8de47f1ccc5f35e3f80b.jpg resize: (1080, 1632) 1335092841 -2.4744250744905942 treat image : temp/1738806746_1906995_1335092835_31767c2be4b0e1277b3d2e20d3686457.jpg resize: (1080, 1632) 1335092835 -1.7948081343733442 treat image : temp/1738806746_1906995_1335092834_6300bb36383312634e694361f4364cd7.jpg resize: (1080, 1632) 1335092834 -4.157155077055918 treat image : temp/1738806746_1906995_1335092829_2bd81b5e0a0c01198554a9edf9a97e38.jpg resize: (1080, 1632) 1335092829 -4.847886215446785 treat image : temp/1738806746_1906995_1335092824_8653c3446058a22c6dc79029a5668893.jpg resize: (1080, 1632) 1335092824 -5.836207275355194 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.024378299713134766 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.21979975700378418 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.10130786895751953 save missing photos in datou_result : time spend for datou_step_exec : 13.367183208465576 time spend to save output : 0.3504831790924072 total time spend for step 1 : 13.717666387557983 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.42user 2.31system 0:18.06elapsed 92%CPU (0avgtext+0avgdata 141476maxresident)k 128inputs+10632outputs (3major+129312minor)pagefaults 0swaps