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 : 3587751 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 : 2902>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3587751/ 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.2181079387664795 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 Mon May 12 19:17: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/1747070249_3587751_1357706438_d73ade13eb6d31e2569c6df13322d96f.jpg resize: (1080, 1632) 1357706438 -1.9365739921654357 treat image : temp/1747070249_3587751_1357706410_4c65f8a8aa2635273bcb1212a2144193.jpg resize: (1080, 1632) 1357706410 -5.276248043467305 treat image : temp/1747070249_3587751_1357706382_ba450dc0200004f18c04bafa3a44081a.jpg resize: (1080, 1632) 1357706382 -5.89075207436782 treat image : temp/1747070249_3587751_1357706357_b64fb4543fbbdd57f9ffd994267d4f6a.jpg resize: (1080, 1632) 1357706357 -5.517222133894927 treat image : temp/1747070249_3587751_1357706329_63d0e49fa1b7a272e14336ece23da2fd.jpg resize: (1080, 1632) 1357706329 -3.239549361722839 treat image : temp/1747070249_3587751_1357706099_385cf6b3804de03f144e8f840f8046ed.jpg resize: (1080, 1632) 1357706099 -5.438945620789469 treat image : temp/1747070249_3587751_1357706040_1254e17f5b4f34003378e4720d9bbf3a.jpg resize: (1080, 1632) 1357706040 -4.7099757464238285 treat image : temp/1747070249_3587751_1357706000_f0e85c30baba87ab37b95d4aba3958d1.jpg resize: (1080, 1632) 1357706000 -4.168934157264044 treat image : temp/1747070249_3587751_1357705931_b8baa5a41fe8206c1b524e06a4473aa1.jpg resize: (1080, 1632) 1357705931 -5.198240187211443 treat image : temp/1747070249_3587751_1357705692_b3c4a4813be7954f85f9b6ccd00053b3.jpg resize: (1080, 1632) 1357705692 -2.702933900224821 treat image : temp/1747070249_3587751_1357705689_a304c59ceb451e82d78e5869ab3664c0.jpg resize: (1080, 1632) 1357705689 -3.0164017525145392 treat image : temp/1747070249_3587751_1357705687_f874bc9ad164c663ed9be89e5497b21b.jpg resize: (1080, 1632) 1357705687 -5.6889862682606225 treat image : temp/1747070249_3587751_1357705685_62d5f42078202f5bd8671da332b35738.jpg resize: (1080, 1632) 1357705685 -5.654239093202814 treat image : temp/1747070249_3587751_1357705682_1b5532e66bf837bd46e2bbb4e3f25910.jpg resize: (1080, 1632) 1357705682 -5.682106437274279 treat image : temp/1747070249_3587751_1357705680_1a15a066e0516b502b0a8346a7bc4f05.jpg resize: (1080, 1632) 1357705680 -5.5698700407694925 treat image : temp/1747070249_3587751_1357705652_5af0b3149b66dc0ab436f0d8fc7cebd9.jpg resize: (1080, 1632) 1357705652 -6.269582648239179 treat image : temp/1747070249_3587751_1357705650_4b05131dffc67abf3c8fe78751c6ac0b.jpg resize: (1080, 1632) 1357705650 -5.909858756417983 treat image : temp/1747070249_3587751_1357705647_3c53498bd9f4e38e393b47818da0caea.jpg resize: (1080, 1632) 1357705647 -2.9006767796382262 treat image : temp/1747070249_3587751_1357705644_d14fdb022815713ea609cf2b9bd1f965.jpg resize: (1080, 1632) 1357705644 -0.05272560383782253 treat image : temp/1747070249_3587751_1357705623_c64eb822f32ca412f45b2e5f4f139c3b.jpg resize: (1080, 1632) 1357705623 -1.7847560607239479 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.01237034797668457 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.01192927360534668 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014250755310058594 save missing photos in datou_result : time spend for datou_step_exec : 18.56340456008911 time spend to save output : 0.12331771850585938 total time spend for step 1 : 18.68672227859497 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.04user 6.62system 0:23.92elapsed 90%CPU (0avgtext+0avgdata 139356maxresident)k 21224inputs+9904outputs (81major+258691minor)pagefaults 0swaps