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 : 1183594 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1183594/ 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 : 5.197996616363525 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 19:42:34 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/1752774151_1183594_1372335046_38857126b4c2495a7ed8de53b0777616.jpg resize: (1080, 1632) 1372335046 -2.032431231036781 treat image : temp/1752774151_1183594_1372335045_0a289ac5acecb0362fd3955ac83f781f.jpg resize: (1080, 1632) 1372335045 -2.013723492195054 treat image : temp/1752774151_1183594_1372335028_d53e7db23bfdc319cc2f9464059fc4d0.jpg resize: (1080, 1632) 1372335028 -2.045112946232685 treat image : temp/1752774151_1183594_1372335025_27ed5fbb09c415ad89ea892eaa2cdefe.jpg resize: (1080, 1632) 1372335025 -2.032906904348895 treat image : temp/1752774151_1183594_1372335024_e5c2d4e1c9f4d889230ac6e532e10d64.jpg resize: (1080, 1632) 1372335024 -2.048732149311524 treat image : temp/1752774151_1183594_1372335022_692da08c9674405f15a7778845fa3469.jpg resize: (1080, 1632) 1372335022 -2.052428220437508 treat image : temp/1752774151_1183594_1372335021_a2c1bbf0e56ff8905c81784d6544006b.jpg resize: (1080, 1632) 1372335021 -2.0572135860096035 treat image : temp/1752774151_1183594_1372335019_a4cc4f665141b011930bba47214794fe.jpg resize: (1080, 1632) 1372335019 -2.059729324240132 treat image : temp/1752774151_1183594_1372334994_d0353aa78a296bf13fd74cba3069216b.jpg resize: (1080, 1632) 1372334994 -2.0577499613817647 treat image : temp/1752774151_1183594_1372334990_b9cab26f95750b9fa7697ad7f82353a6.jpg resize: (1080, 1632) 1372334990 -2.050221648928163 treat image : temp/1752774151_1183594_1372334988_e23253572e2da4986f01b884d88d4f87.jpg resize: (1080, 1632) 1372334988 -2.04420545945228 treat image : temp/1752774151_1183594_1372334985_84a97f33a3626488e8a76b7a9402986b.jpg resize: (1080, 1632) 1372334985 -2.0466129825018724 treat image : temp/1752774151_1183594_1372334981_3d8310eda8c87ec2f75950886f62ccc6.jpg resize: (1080, 1632) 1372334981 -2.058909702284768 treat image : temp/1752774151_1183594_1372334979_1cca8e7f087eb533f04f2a01e5b87138.jpg resize: (1080, 1632) 1372334979 -2.0397068668940967 treat image : temp/1752774151_1183594_1372334964_170849e9761035a585de8a9949b2773d.jpg resize: (1080, 1632) 1372334964 -2.0759422162461045 treat image : temp/1752774151_1183594_1372334962_51959b35eaa3c63d7a91fc08797c0d39.jpg resize: (1080, 1632) 1372334962 -2.0685890876729722 treat image : temp/1752774151_1183594_1372334960_a538c5dd2541e923fe3127d9ebecfdf4.jpg resize: (1080, 1632) 1372334960 -2.0544090039779004 treat image : temp/1752774151_1183594_1372334957_2d9a094d305610de3dde5497e99ab87b.jpg resize: (1080, 1632) 1372334957 -2.0566687433479958 treat image : temp/1752774151_1183594_1372334953_f979a4197e7a719b3773a8e91495e4fe.jpg resize: (1080, 1632) 1372334953 -2.0706279523619795 treat image : temp/1752774151_1183594_1372334949_6477e4c8bb0ac0fff935f0fd491b991a.jpg resize: (1080, 1632) 1372334949 -2.0583952695064642 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.01878952980041504 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.020890474319458008 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.38184571266174316 save missing photos in datou_result : time spend for datou_step_exec : 16.375836610794067 time spend to save output : 0.42648839950561523 total time spend for step 1 : 16.802325010299683 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 3.97system 0:24.66elapsed 74%CPU (0avgtext+0avgdata 137480maxresident)k 160inputs+6272outputs (2major+259667minor)pagefaults 0swaps