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 : 3320245 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 : 2276>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3320245/ 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.5018951892852783 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 Wed May 21 16:02: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/1747836148_3320245_1360051796_7c098c5312223df038177a08d5617fd8.jpg resize: (1080, 1632) 1360051796 -6.258986636058958 treat image : temp/1747836148_3320245_1360051791_91a52cd1c026a8e59fefee6b662d5bca.jpg resize: (1080, 1632) 1360051791 -5.728945290359429 treat image : temp/1747836148_3320245_1360051786_d1f0b9ba89d87776fe296bbe587c83bb.jpg resize: (1080, 1632) 1360051786 -5.71481464016679 treat image : temp/1747836148_3320245_1360051781_780dbe4252488171e2ace5893e48bb87.jpg resize: (1080, 1632) 1360051781 -3.7810219906140827 treat image : temp/1747836148_3320245_1360051777_3419476fcb5afb0a16d78420205b1a2f.jpg resize: (1080, 1632) 1360051777 -5.533815273150919 treat image : temp/1747836148_3320245_1360051726_a392cf3c47a0e3c82cb9e020e0f6474d.jpg resize: (1080, 1632) 1360051726 -2.8237239069156055 treat image : temp/1747836148_3320245_1360051718_d735e327cf0d460faa005283d0c4305f.jpg resize: (1080, 1632) 1360051718 -3.799263753888308 treat image : temp/1747836148_3320245_1360051711_588ce80470d4813c3290e509db2e496d.jpg resize: (1080, 1632) 1360051711 -4.448007413688839 treat image : temp/1747836148_3320245_1360051705_d83f0b295e64ca33dda8253693da1ca6.jpg resize: (1080, 1632) 1360051705 -3.306759962798036 treat image : temp/1747836148_3320245_1360051701_efd2aff322f4063857c2f2356c4cbfdf.jpg resize: (1080, 1632) 1360051701 -6.203042351838281 treat image : temp/1747836148_3320245_1360051473_ecb2086311af8133f24b5877a80236f4.jpg resize: (1080, 1632) 1360051473 -5.608659829474055 treat image : temp/1747836148_3320245_1360051470_0b949d729c64bab4692b3bdb2c98c076.jpg resize: (1080, 1632) 1360051470 -6.168084039425515 treat image : temp/1747836148_3320245_1360051450_83b2591c369430b5bfb169b6b382fb33.jpg resize: (1080, 1632) 1360051450 -1.4284554467387305 treat image : temp/1747836148_3320245_1360051421_2fce5b52a4187be81727312016f0df2f.jpg resize: (1080, 1632) 1360051421 -1.8174579487709335 treat image : temp/1747836148_3320245_1360051396_13a0f2085b13f00c79e36eaf4d8de556.jpg resize: (1080, 1632) 1360051396 -1.5121884306200377 treat image : temp/1747836148_3320245_1360051183_a3c9d707bfd32ff0edcd8ad1e76a5d56.jpg resize: (1080, 1632) 1360051183 -5.484706882566238 treat image : temp/1747836148_3320245_1360051179_8ba41da0d79d43c1ce439636cf03bdc4.jpg resize: (1080, 1632) 1360051179 -5.186394116206145 treat image : temp/1747836148_3320245_1360051174_285737dfa8d858c44b0118bab8c40b90.jpg resize: (1080, 1632) 1360051174 -6.079824923968036 treat image : temp/1747836148_3320245_1360051168_8dd9124ce2d2bdda61c46b1c7c3b225f.jpg resize: (1080, 1632) 1360051168 -5.6060696860645995 treat image : temp/1747836148_3320245_1360051163_33e4b01376f79930180c5f7405024ce2.jpg resize: (1080, 1632) 1360051163 -3.629071519196066 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.01308584213256836 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.0246431827545166 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017107486724853516 save missing photos in datou_result : time spend for datou_step_exec : 19.278985023498535 time spend to save output : 0.0601804256439209 total time spend for step 1 : 19.339165449142456 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.80user 7.05system 0:25.82elapsed 84%CPU (0avgtext+0avgdata 139768maxresident)k 24inputs+9776outputs (20major+268942minor)pagefaults 0swaps