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 : 4146091 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 : 3033>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/4146091/ 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.469837188720703 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 20:22:28 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/1747851746_4146091_1360150759_6159cb61af4e589c33b32196e9522621.jpg resize: (1080, 1632) 1360150759 -5.23922817943838 treat image : temp/1747851746_4146091_1360147203_5ed7ca30f13ea2e54333ae95431e8ae4.jpg resize: (1080, 1632) 1360147203 -6.162669200553062 treat image : temp/1747851746_4146091_1360147200_80328835e104e4ce5f049c9dfeb9a63a.jpg resize: (1080, 1632) 1360147200 -5.479630517389352 treat image : temp/1747851746_4146091_1360147170_4a0c6f9d9134f52d315f158a8311e195.jpg resize: (1080, 1632) 1360147170 -1.0774017716800532 treat image : temp/1747851746_4146091_1360147165_5212242b686a0b66324e1d94a61a639c.jpg resize: (1080, 1632) 1360147165 -1.7512098865688004 treat image : temp/1747851746_4146091_1360147160_42836a951fbae631509e08c2430d97c6.jpg resize: (1080, 1632) 1360147160 -3.203865368786742 treat image : temp/1747851746_4146091_1360147157_0c2768e708567e9f88366b46bb98a8bd.jpg resize: (1080, 1632) 1360147157 -1.4938238174580394 treat image : temp/1747851746_4146091_1360147154_aaca48351607c4afe357243098229d9d.jpg resize: (1080, 1632) 1360147154 -4.633426826276702 treat image : temp/1747851746_4146091_1360147139_73b3e8202a817814dd48a286357cc8e1.jpg resize: (1080, 1632) 1360147139 -6.355996058564689 treat image : temp/1747851746_4146091_1360147136_05f932f3578f1a64c2393f40d5b228be.jpg resize: (1080, 1632) 1360147136 -3.9634894259739504 treat image : temp/1747851746_4146091_1360147133_2433a0abb62ee802385545099ebd8e88.jpg resize: (1080, 1632) 1360147133 -5.473799605589805 treat image : temp/1747851746_4146091_1360147129_3cf8740e9700f2aa8f7b05c7491308f5.jpg resize: (1080, 1632) 1360147129 -5.583609454220495 treat image : temp/1747851746_4146091_1360147125_d50677af919ccfba31752c9244361292.jpg resize: (1080, 1632) 1360147125 -6.026320970539101 treat image : temp/1747851746_4146091_1360147122_2aa4d74e9bbf42b07ea4a9d2ad74642d.jpg resize: (1080, 1632) 1360147122 -4.268039089057164 treat image : temp/1747851746_4146091_1360146858_34e313e9bb727470a625f08a7622ca1c.jpg resize: (1080, 1632) 1360146858 -6.016182875704233 treat image : temp/1747851746_4146091_1360146828_755c9245d0f19cb4fe98ff0dc3b43dbe.jpg resize: (1080, 1632) 1360146828 -5.847792557739408 treat image : temp/1747851746_4146091_1360146799_5997ca2148111ffc15457929f4d8378f.jpg resize: (1080, 1632) 1360146799 -5.9938368531955994 treat image : temp/1747851746_4146091_1360146766_ed7c6e862ed75bffb2a7de718fa0eddc.jpg resize: (1080, 1632) 1360146766 -5.683366130092333 treat image : temp/1747851746_4146091_1360146510_2c99ea1aa5731ddab83a9ff1b714c02b.jpg resize: (1080, 1632) 1360146510 -1.1072632079756952 treat image : temp/1747851746_4146091_1360146480_5c320a7db6923f402a66c8c23a7c9dbf.jpg resize: (1080, 1632) 1360146480 -1.7865326578060947 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.012784481048583984 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.015884876251220703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019064903259277344 save missing photos in datou_result : time spend for datou_step_exec : 19.777825593948364 time spend to save output : 0.23186087608337402 total time spend for step 1 : 20.00968647003174 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.01user 7.28system 0:24.10elapsed 92%CPU (0avgtext+0avgdata 137264maxresident)k 11376inputs+9616outputs (44major+258295minor)pagefaults 0swaps