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 : 2639691 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 : 1964>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/2639691/ 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.408527374267578 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 Mon May 12 15:17: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/1747055847_2639691_1357646329_d5d8d9e1c9e51ec5ec7cd24d1c20d335.jpg resize: (1080, 1632) 1357646329 -4.289818320783029 treat image : temp/1747055847_2639691_1357646325_d9cabf2a83dced1ef3df2300c3ba367a.jpg resize: (1080, 1632) 1357646325 -5.5500865186573005 treat image : temp/1747055847_2639691_1357646321_8151027d4133032a4f5e88f8fe10a062.jpg resize: (1080, 1632) 1357646321 -3.9995444262508513 treat image : temp/1747055847_2639691_1357646318_5334cb2e03a0dfed9122805e8b4fea6e.jpg resize: (1080, 1632) 1357646318 0.01196406162266492 treat image : temp/1747055847_2639691_1357646295_134cfdc3a19bb15d1d95ae67f9c1054e.jpg resize: (1080, 1632) 1357646295 -3.388636131823027 treat image : temp/1747055847_2639691_1357646289_750a19d92d05392f68790220c549dd23.jpg resize: (1080, 1632) 1357646289 -5.491394001901164 treat image : temp/1747055847_2639691_1357646281_1ed788010c10b8b505aa12166608e678.jpg resize: (1080, 1632) 1357646281 -5.0353412270441975 treat image : temp/1747055847_2639691_1357646275_7ad90319652dd9beed789b37e938f830.jpg resize: (1080, 1632) 1357646275 -5.595202340514764 treat image : temp/1747055847_2639691_1357646270_4f3b532333b7bc854e0a5841c0412bc3.jpg resize: (1080, 1632) 1357646270 -3.9896349305233274 treat image : temp/1747055847_2639691_1357646266_49146180d91e9000b8b7da3d4ace9791.jpg resize: (1080, 1632) 1357646266 -3.6483019593778816 treat image : temp/1747055847_2639691_1357646229_aeea6a71d61ca211651e2da0bc06a642.jpg resize: (1080, 1632) 1357646229 -4.464669224252656 treat image : temp/1747055847_2639691_1357646226_a848dbd71e4e9cccfba7ea9ee8a698eb.jpg resize: (1080, 1632) 1357646226 -1.0736056086863388 treat image : temp/1747055847_2639691_1357646223_4db43cd36f69a284f382304314743a87.jpg resize: (1080, 1632) 1357646223 -1.1817690638219986 treat image : temp/1747055847_2639691_1357646221_5de6731d7a94dcdbeb5fd61062064396.jpg resize: (1080, 1632) 1357646221 -1.1014993807008102 treat image : temp/1747055847_2639691_1357646177_bf363fe6cbc41be9f0bb4aa551324de6.jpg resize: (1080, 1632) 1357646177 -4.487606747876265 treat image : temp/1747055847_2639691_1357646174_a15fc6dafb468dda1b233ca91400f633.jpg resize: (1080, 1632) 1357646174 -5.905751824853442 treat image : temp/1747055847_2639691_1357646160_674750f69008c6240c1c24e1079dbc2d.jpg resize: (1080, 1632) 1357646160 -5.27723551180271 treat image : temp/1747055847_2639691_1357646157_5af7fd1385bdb3dce655430885d53fa8.jpg resize: (1080, 1632) 1357646157 -5.419188388558447 treat image : temp/1747055847_2639691_1357646152_760081d6102bcd407027d828e6d1a107.jpg resize: (1080, 1632) 1357646152 -5.407204026389667 treat image : temp/1747055847_2639691_1357646147_045e7cde654763e0b1b7dd9b9e641776.jpg resize: (1080, 1632) 1357646147 -5.5907234220819975 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.013602256774902344 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.013668298721313477 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014995813369750977 save missing photos in datou_result : time spend for datou_step_exec : 16.997951984405518 time spend to save output : 0.04754161834716797 total time spend for step 1 : 17.045493602752686 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.31user 4.49system 0:21.17elapsed 93%CPU (0avgtext+0avgdata 140488maxresident)k 6200inputs+9416outputs (55major+260651minor)pagefaults 0swaps