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 : 2474595 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 : 196>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/2474595/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 17 ; length of list_pids : 17 ; length of list_args : 17 time to download the photos : 1.976684331893921 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 Mar 17 06: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/1742188649_2474595_1344656327_fa6404c481152fbc3a4601f5629bff1c.jpg resize: (1080, 1632) 1344656327 -2.720432358261661 treat image : temp/1742188649_2474595_1344656324_f6cfbb182176315a89f682b8ec95dcb7.jpg resize: (1080, 1632) 1344656324 -3.7775447071462405 treat image : temp/1742188649_2474595_1344656321_f7835d1ef29e36bdb3bd4b9af0948beb.jpg resize: (1080, 1632) 1344656321 -2.04025686170423 treat image : temp/1742188649_2474595_1344656314_8d9fdf7de4084c2e16fd93142eb4bcf5.jpg resize: (1080, 1632) 1344656314 -4.688877419945548 treat image : temp/1742188649_2474595_1344656308_f0c5475c887a7db16ac60a02fcbc04fd.jpg resize: (1080, 1632) 1344656308 -6.385268470882864 treat image : temp/1742188649_2474595_1344656306_787f15269acf4e057ebc3a75c2a76778.jpg resize: (1080, 1632) 1344656306 -6.816929312057573 treat image : temp/1742188649_2474595_1344656286_992f69b65868b5e7096929a1500a587e.jpg resize: (1080, 1632) 1344656286 -4.094779829484493 treat image : temp/1742188649_2474595_1344656282_87c6032b10c11f9a85732aff99326679.jpg resize: (1080, 1632) 1344656282 -4.596812500980985 treat image : temp/1742188649_2474595_1344656277_17de8ed11bec01dd25bf88b8e04fdb7e.jpg resize: (1080, 1632) 1344656277 -5.40641008980438 treat image : temp/1742188649_2474595_1344656276_56c5c48ec9a40fd68c1609eb9a4f79c6.jpg resize: (1080, 1632) 1344656276 -6.097894608847246 treat image : temp/1742188649_2474595_1344656275_3e92aeecb656c9afe6830aecae8ece1b.jpg resize: (1080, 1632) 1344656275 -1.6018109915089194 treat image : temp/1742188649_2474595_1344656258_bab762919e08a8e79f16446d184fa853.jpg resize: (1080, 1632) 1344656258 -3.756093983661608 treat image : temp/1742188649_2474595_1344656253_c0eea7a39464b47795730348c883dc4b.jpg resize: (1080, 1632) 1344656253 -6.4463992692136225 treat image : temp/1742188649_2474595_1344656250_907e70b7b446a485a6f2cd32d6e47302.jpg resize: (1080, 1632) 1344656250 -6.449359378011462 treat image : temp/1742188649_2474595_1344656248_a5bcf7fb750b1e5e4fb11865ee33b630.jpg resize: (1080, 1632) 1344656248 -4.738107250319263 treat image : temp/1742188649_2474595_1344656243_bbe0c9796aa89e8dfcafa0fb9e7af727.jpg resize: (1080, 1632) 1344656243 -5.769573817310227 treat image : temp/1742188649_2474595_1344656237_55088302bdb67ef4acc83e8adaa969b5.jpg resize: (1080, 1632) 1344656237 -6.1814729840411635 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 : 17 time used for this insertion : 0.015643596649169922 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 17 time used for this insertion : 0.014851570129394531 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 17 time used for this insertion : 0.01610541343688965 save missing photos in datou_result : time spend for datou_step_exec : 13.630435943603516 time spend to save output : 0.051021575927734375 total time spend for step 1 : 13.68145751953125 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 17 set_done_treatment 12.45user 3.41system 0:19.65elapsed 80%CPU (0avgtext+0avgdata 141128maxresident)k 144inputs+9360outputs (15major+199872minor)pagefaults 0swaps