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 : 3136442 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 : 2121>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3136442/ 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.2437901496887207 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 Tue May 13 15:17: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/1747142248_3136442_1357855323_fb7b3dee848f68e2d3c2aac38d168f52.jpg resize: (1080, 1632) 1357855323 -1.1724581891105577 treat image : temp/1747142248_3136442_1357855302_9811022bcf63371efb4c954934a4d51a.jpg resize: (1080, 1632) 1357855302 -2.249570995379316 treat image : temp/1747142248_3136442_1357855299_0a18c028cb49c5d977d0eab87b3f980f.jpg resize: (1080, 1632) 1357855299 -3.105823173738174 treat image : temp/1747142248_3136442_1357855294_966fddfce15181d6ec24118bbbd1d7dc.jpg resize: (1080, 1632) 1357855294 -2.6532593402665445 treat image : temp/1747142248_3136442_1357855121_ed12675d09aff115da388a2b7c71c875.jpg resize: (1080, 1632) 1357855121 -5.484761037088745 treat image : temp/1747142248_3136442_1357855091_3eca28a48e10ed62579997d0edd685b8.jpg resize: (1080, 1632) 1357855091 -3.2790644727078844 treat image : temp/1747142248_3136442_1357855060_46cf049ce4d6a03035e053e23e3ef519.jpg resize: (1080, 1632) 1357855060 -4.021506709468662 treat image : temp/1747142248_3136442_1357854962_06302e87aa03cd35ad118484f51f075e.jpg resize: (1080, 1632) 1357854962 -3.4173473312048426 treat image : temp/1747142248_3136442_1357854957_a60005b0d78abf43f2fa1e03a2d864ce.jpg resize: (1080, 1632) 1357854957 -5.720316883534159 treat image : temp/1747142248_3136442_1357854944_9a9b96b58ed4a99ef110b3db7f9435e4.jpg resize: (1080, 1632) 1357854944 -5.547907370223142 treat image : temp/1747142248_3136442_1357854923_94f4eff27779e77b9dd07ae90a434ba8.jpg resize: (1080, 1632) 1357854923 -5.345357026527684 treat image : temp/1747142248_3136442_1357854918_5f4d02c0f2b33a67562e33eaf50ecc50.jpg resize: (1080, 1632) 1357854918 -5.633160067992051 treat image : temp/1747142248_3136442_1357854891_99d606a9911a4214f2468dabe0c3b494.jpg resize: (1080, 1632) 1357854891 -6.040952026765775 treat image : temp/1747142248_3136442_1357854672_ae3ca2dd91ec24aa6e3ead65c78df47b.jpg resize: (1080, 1632) 1357854672 -3.630362631504873 treat image : temp/1747142248_3136442_1357854668_294aa4b34095b59effdc55c34c084699.jpg resize: (1080, 1632) 1357854668 -1.5765811372052834 treat image : temp/1747142248_3136442_1357854663_e28e9ee874633f7e885802ccc5829799.jpg resize: (1080, 1632) 1357854663 -2.4328908053491767 treat image : temp/1747142248_3136442_1357854659_1b591c12c72872191d65c302df554052.jpg resize: (1080, 1632) 1357854659 -1.479327735964001 treat image : temp/1747142248_3136442_1357854630_d31fe50ca0dbc03be35254ce153dc580.jpg resize: (1080, 1632) 1357854630 -6.2062345030869706 treat image : temp/1747142248_3136442_1357854601_6c70b36e2f0f51df216626a22729425c.jpg resize: (1080, 1632) 1357854601 -5.8311084032151905 treat image : temp/1747142248_3136442_1357854573_08c04668ad78505996d8ffd9cfb5e702.jpg resize: (1080, 1632) 1357854573 -5.757543781796216 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.014072656631469727 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.012508392333984375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014780044555664062 save missing photos in datou_result : time spend for datou_step_exec : 15.661710977554321 time spend to save output : 0.046639442443847656 total time spend for step 1 : 15.708350419998169 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 3.63system 0:21.12elapsed 86%CPU (0avgtext+0avgdata 139160maxresident)k 176inputs+9256outputs (2major+255074minor)pagefaults 0swaps