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 : 4024574 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 : 1794>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/4024574/ 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.287806272506714 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 Fri Mar 21 14:42:30 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/1742564547_4024574_1346007428_3b8a6e919c9bd687568b8f9b50bcf578.jpg resize: (1080, 1632) 1346007428 -6.3962385920889515 treat image : temp/1742564547_4024574_1346007423_7ef622489fcddbdc498ba22a6d1400d3.jpg resize: (1080, 1632) 1346007423 -5.941015808083658 treat image : temp/1742564547_4024574_1346007414_ffe52d6bf4b402ad8bb2ed0be1ea871c.jpg resize: (1080, 1632) 1346007414 -5.98084334698679 treat image : temp/1742564547_4024574_1346007403_7b854c7d13a547cf6c2f970753197a07.jpg resize: (1080, 1632) 1346007403 -1.972308607867987 treat image : temp/1742564547_4024574_1346007398_f6e234f1752449d92f5e56bf518563f0.jpg resize: (1080, 1632) 1346007398 -3.658356513169974 treat image : temp/1742564547_4024574_1346007394_269aaa189660cf12b47ae0a7e5dd1777.jpg resize: (1080, 1632) 1346007394 -5.89894630065297 treat image : temp/1742564547_4024574_1346006972_a837be22220a181f6ef72ebbfc122426.jpg resize: (1080, 1632) 1346006972 -4.362138906218089 treat image : temp/1742564547_4024574_1346006938_a23afed50d645a937a6448b80364ed35.jpg resize: (1080, 1632) 1346006938 -5.894503880508414 treat image : temp/1742564547_4024574_1346006895_a278dd01e832b6d3821662010e5d69f6.jpg resize: (1080, 1632) 1346006895 -5.437600407980274 treat image : temp/1742564547_4024574_1346006858_6ade9463a2a1672fbfdc7747de34e5a6.jpg resize: (1080, 1632) 1346006858 -6.192951791550295 treat image : temp/1742564547_4024574_1346005753_608e7b587cfe5643732454cdcd726005.jpg resize: (1080, 1632) 1346005753 -5.707995221648368 treat image : temp/1742564547_4024574_1346005744_8572c1b64ec887565f8f21c83a70c1b3.jpg resize: (1080, 1632) 1346005744 -6.128709745289273 treat image : temp/1742564547_4024574_1346005738_95b4f0bc1351831ecd1e807145c7c2f0.jpg resize: (1080, 1632) 1346005738 -6.13125953366425 treat image : temp/1742564547_4024574_1346005731_14bdf3cd7aa3ab8920bb50f70f6209f4.jpg resize: (1080, 1632) 1346005731 -6.469830536988964 treat image : temp/1742564547_4024574_1346005717_116624d0c178716808ac290e3418b3aa.jpg resize: (1080, 1632) 1346005717 -4.808594351754508 treat image : temp/1742564547_4024574_1346005714_38077956da46e63342a7c718b0d2a8b5.jpg resize: (1080, 1632) 1346005714 -5.563211945788182 treat image : temp/1742564547_4024574_1346005709_ef8b7059499f9022cc87dec237d4f12a.jpg resize: (1080, 1632) 1346005709 -5.708893023765827 treat image : temp/1742564547_4024574_1346005705_eb2e3a137293747d3cd61ba0112ca901.jpg resize: (1080, 1632) 1346005705 -2.617280149574439 treat image : temp/1742564547_4024574_1346005677_f975a5196277e8dca3bf1536c30d8762.jpg resize: (1080, 1632) 1346005677 -3.3846509911195772 treat image : temp/1742564547_4024574_1346005654_710dc9330d842ec359171ea0c034d98d.jpg resize: (1080, 1632) 1346005654 -4.513914573523134 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.09038519859313965 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.013175487518310547 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 2.5833067893981934 save missing photos in datou_result : time spend for datou_step_exec : 16.517866134643555 time spend to save output : 2.7211673259735107 total time spend for step 1 : 19.239033460617065 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 4.07system 0:24.42elapsed 78%CPU (0avgtext+0avgdata 140428maxresident)k 2672inputs+10728outputs (15major+251354minor)pagefaults 0swaps