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 : 451213 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 : 260>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/451213/ 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.3461315631866455 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 01:27:29 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/1747092447_451213_1357756471_28c503300c359a7f6ead6d18bbf38702.jpg resize: (1080, 1632) 1357756471 -3.5837881959336646 treat image : temp/1747092447_451213_1357751215_b1461f03201a76d97dd04c77557da431.jpg resize: (1080, 1632) 1357751215 -5.993586165697921 treat image : temp/1747092447_451213_1357751213_f098f2697243f6de8389d65965855b3c.jpg resize: (1080, 1632) 1357751213 -5.428545049652757 treat image : temp/1747092447_451213_1357751193_fc7f240d2b3eb281316f3fa5ead1acd4.jpg resize: (1080, 1632) 1357751193 -1.6560843942025363 treat image : temp/1747092447_451213_1357751191_65cd7e6087d2d8893929a2881e468025.jpg resize: (1080, 1632) 1357751191 -1.8735222848336694 treat image : temp/1747092447_451213_1357751190_e68b5766edd9432c033628260e9b4b51.jpg resize: (1080, 1632) 1357751190 -4.417020992876403 treat image : temp/1747092447_451213_1357751188_689b8981ccc65d71a8d70185f58a9a88.jpg resize: (1080, 1632) 1357751188 -6.316807130410977 treat image : temp/1747092447_451213_1357751186_da6aa0463e1d935e237968ed756afbb6.jpg resize: (1080, 1632) 1357751186 -2.932900499793113 treat image : temp/1747092447_451213_1357751160_f18f2e7bfeb811149caba655a51edcf3.jpg resize: (1080, 1632) 1357751160 -4.952741066486003 treat image : temp/1747092447_451213_1357751158_760e4c4829397256a7ed18e8e1de7fcb.jpg resize: (1080, 1632) 1357751158 -4.477713856217537 treat image : temp/1747092447_451213_1357751156_2d56067cae2f8d5e5eb6f4dabf5c458c.jpg resize: (1080, 1632) 1357751156 -5.737234771758836 treat image : temp/1747092447_451213_1357751153_84d22094e805578175303ad99ceb8168.jpg resize: (1080, 1632) 1357751153 -0.5154252407171785 treat image : temp/1747092447_451213_1357751129_fb6ed3f6945d3f45e5b2c40a1098e8eb.jpg resize: (1080, 1632) 1357751129 -6.014095693598163 treat image : temp/1747092447_451213_1357751127_425eecd1a408586e3f0510bdc2f74da7.jpg resize: (1080, 1632) 1357751127 -6.160313547449434 treat image : temp/1747092447_451213_1357751124_0791e3fb5c19fe77a189b2db70c739f0.jpg resize: (1080, 1632) 1357751124 -6.314941592675464 treat image : temp/1747092447_451213_1357751122_3f4d6ee5ab85e517760f3b0904ca9916.jpg resize: (1080, 1632) 1357751122 -6.327609708026623 treat image : temp/1747092447_451213_1357751119_07fb94bfb12d298ec4f49082808f58c7.jpg resize: (1080, 1632) 1357751119 -6.17033917111043 treat image : temp/1747092447_451213_1357751003_e933786ae89c617fb78c6818438bd475.jpg resize: (1080, 1632) 1357751003 -3.977544745233116 treat image : temp/1747092447_451213_1357751002_1f5605f5e6f975f455c4744405f5fd47.jpg resize: (1080, 1632) 1357751002 -2.1309468646096326 treat image : temp/1747092447_451213_1357750997_7a240d325838dfbc28bdb1fcce9a6ef0.jpg resize: (1080, 1632) 1357750997 -4.959732025818577 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.014496326446533203 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.2030494213104248 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02490544319152832 save missing photos in datou_result : time spend for datou_step_exec : 15.505863904953003 time spend to save output : 0.24781584739685059 total time spend for step 1 : 15.753679752349854 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.12user 3.79system 0:20.82elapsed 86%CPU (0avgtext+0avgdata 137752maxresident)k 112inputs+9960outputs (0major+244376minor)pagefaults 0swaps