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 : 1290628 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 list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2606245'] with mtr_portfolio_ids : ['20738676'] and first list_photo_ids : [] new path : /proc/1290628/ 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.454181432723999 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 Sat Feb 22 00:22:29 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/1740180147_1290628_1338940874_8375777ba620753b4828d2525c52d2ce.jpg resize: (1080, 1632) 1338940874 -4.365165286961686 treat image : temp/1740180147_1290628_1338940867_6a063bc4478da013bc558ea58ff6526d.jpg resize: (1080, 1632) 1338940867 -6.717673687155634 treat image : temp/1740180147_1290628_1338940861_a15eeb32232a88be28ff9961cf38aabc.jpg resize: (1080, 1632) 1338940861 -3.404402301473827 treat image : temp/1740180147_1290628_1338940854_ae24f1af77e0da84afdd3322cab37750.jpg resize: (1080, 1632) 1338940854 -6.586678619840457 treat image : temp/1740180147_1290628_1338940839_7655d9ff760a99ce4d2a603a2f64cde7.jpg resize: (1080, 1632) 1338940839 -6.672252889585576 treat image : temp/1740180147_1290628_1338940832_1cf70e68cf1d3650728c673d86a6f2dd.jpg resize: (1080, 1632) 1338940832 -6.355117246200049 treat image : temp/1740180147_1290628_1338940796_f10821db802bea20c276c2ee149837c1.jpg resize: (1080, 1632) 1338940796 -2.547806711559431 treat image : temp/1740180147_1290628_1338940795_cb049d9205577f797294e2ab8860d1c0.jpg resize: (1080, 1632) 1338940795 -3.5584209424937563 treat image : temp/1740180147_1290628_1338940793_0040d2d4d4fe798832d9d990179e94a1.jpg resize: (1080, 1632) 1338940793 -6.344537036423428 treat image : temp/1740180147_1290628_1338940791_869d73b2099276b92849ccb7787d8b73.jpg resize: (1080, 1632) 1338940791 -6.144708128102354 treat image : temp/1740180147_1290628_1338940768_7ed61dcce953e495c47e354b2bc3acb2.jpg resize: (1080, 1632) 1338940768 -4.6323748877806485 treat image : temp/1740180147_1290628_1338940765_6ae9c4ac704ab5db55749f4c7a51426e.jpg resize: (1080, 1632) 1338940765 -5.141210879009047 treat image : temp/1740180147_1290628_1338940764_6f13c2d9b7839ce0e97a4f2adbe1ecf1.jpg resize: (1080, 1632) 1338940764 -4.646216875627801 treat image : temp/1740180147_1290628_1338940762_4e17a52aa3a05f9cd12a9f213819657b.jpg resize: (1080, 1632) 1338940762 -5.831548788933591 treat image : temp/1740180147_1290628_1338940760_0b4695e8d127bdfb90f41f9b7d0a275b.jpg resize: (1080, 1632) 1338940760 -5.994718490622583 treat image : temp/1740180147_1290628_1338940758_33282b6c3d4e3423bfc1ea4991979219.jpg resize: (1080, 1632) 1338940758 -2.8689370181847687 treat image : temp/1740180147_1290628_1338940736_5b228bd8ac6cd1c518f7011e77cabe58.jpg resize: (1080, 1632) 1338940736 -6.439554556854345 treat image : temp/1740180147_1290628_1338940733_a7f31da7982e02615fb66f5f1df49732.jpg resize: (1080, 1632) 1338940733 -5.9676173202872285 treat image : temp/1740180147_1290628_1338940730_9caa85e515f671a1b4fd4a321cdde46b.jpg resize: (1080, 1632) 1338940730 -6.1098318807272 treat image : temp/1740180147_1290628_1338940728_486b93d4384d448b2af33aaf8592ab61.jpg resize: (1080, 1632) 1338940728 -6.153051503323561 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.015697956085205078 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.016857624053955078 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019886016845703125 save missing photos in datou_result : time spend for datou_step_exec : 22.28251361846924 time spend to save output : 0.05860304832458496 total time spend for step 1 : 22.341116666793823 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.14user 9.89system 0:26.72elapsed 93%CPU (0avgtext+0avgdata 139652maxresident)k 10472inputs+11552outputs (63major+249367minor)pagefaults 0swaps