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 : 3591857 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 : 3829>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/3591857/ 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.4098994731903076 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 Jul 18 17:47: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/1752853646_3591857_1372632587_0e6f4b6cd6ee0f6f5961441afc04683f.jpg resize: (1080, 1632) 1372632587 -5.6836293733548375 treat image : temp/1752853646_3591857_1372632577_3b813aa56bf77fd4b5e97536874b9ce7.jpg resize: (1080, 1632) 1372632577 -5.6835591417565245 treat image : temp/1752853646_3591857_1372632562_d23e998453dcebb30192a9f31ca37dd6.jpg resize: (1080, 1632) 1372632562 -5.681549025656342 treat image : temp/1752853646_3591857_1372632559_acc2d8a09f6fbfa8c03463a59214eb98.jpg resize: (1080, 1632) 1372632559 -5.688776137865794 treat image : temp/1752853646_3591857_1372632552_990b6b068fcdb8876775d3e7d3200e10.jpg resize: (1080, 1632) 1372632552 -5.690337009235747 treat image : temp/1752853646_3591857_1372632547_6f252898cb9861653bd7ac93052aa125.jpg resize: (1080, 1632) 1372632547 -5.68941354853776 treat image : temp/1752853646_3591857_1372632522_7de61a023f6d3b76d1a4aabca8e7d8eb.jpg resize: (1080, 1632) 1372632522 -5.681721843322915 treat image : temp/1752853646_3591857_1372632513_576812cb3f8b80faef50ff1743c6af35.jpg resize: (1080, 1632) 1372632513 -5.687448630597136 treat image : temp/1752853646_3591857_1372632510_e5693f4c115c36b4fce1599dd03e3442.jpg resize: (1080, 1632) 1372632510 -5.679798571211658 treat image : temp/1752853646_3591857_1372632508_33062854db294e2248525ebf5b6e25bc.jpg resize: (1080, 1632) 1372632508 -5.687668371654112 treat image : temp/1752853646_3591857_1372632505_16fe8afe3101890019ff06934f8bb21e.jpg resize: (1080, 1632) 1372632505 -5.689780922357561 treat image : temp/1752853646_3591857_1372632493_16f5612d7768845c9a8d37b3eba33b48.jpg resize: (1080, 1632) 1372632493 -5.689936725154054 treat image : temp/1752853646_3591857_1372632082_c4c91e15c64bfe13e4c460b2e52755ff.jpg resize: (1080, 1632) 1372632082 -5.685106057708775 treat image : temp/1752853646_3591857_1372632080_1f2b9e419960831fa91047b39b0502e5.jpg resize: (1080, 1632) 1372632080 -5.691986272362106 treat image : temp/1752853646_3591857_1372632066_1390077c042fa8afaac99b848acab662.jpg resize: (1080, 1632) 1372632066 -5.675184633719932 treat image : temp/1752853646_3591857_1372632063_7b10eb31d80e57302b4de7f4e0e081b3.jpg resize: (1080, 1632) 1372632063 -5.676514636426354 treat image : temp/1752853646_3591857_1372632060_94ee2a37b0b94b105c87f8c767fbe48a.jpg resize: (1080, 1632) 1372632060 -5.681708303333507 treat image : temp/1752853646_3591857_1372632057_7b49fd26340d31e8e53afa3fae45de08.jpg resize: (1080, 1632) 1372632057 -5.680223738461585 treat image : temp/1752853646_3591857_1372632054_34246164f845a09160f4dab5f50f4ca5.jpg resize: (1080, 1632) 1372632054 -5.682587412687697 treat image : temp/1752853646_3591857_1372632051_a6b635cf2c5d4fd10ee7de7f161cb7b2.jpg resize: (1080, 1632) 1372632051 -5.6556494277002445 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.01231074333190918 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.012832164764404297 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016040563583374023 save missing photos in datou_result : time spend for datou_step_exec : 17.881948471069336 time spend to save output : 0.04618358612060547 total time spend for step 1 : 17.92813205718994 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 6.02system 0:22.33elapsed 92%CPU (0avgtext+0avgdata 139316maxresident)k 4808inputs+11064outputs (28major+252686minor)pagefaults 0swaps