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 : 3425204 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 : 1542>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3425204/ 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.2043495178222656 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 Jul 9 16:02: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/1752069748_3425204_1371404918_0f8b16f76ca185bb447ea9f2b5a4a0d0.jpg resize: (1080, 1632) 1371404918 -1.563776781152547 treat image : temp/1752069748_3425204_1371404910_46fb34abb4b15573665848cf091bee46.jpg resize: (1080, 1632) 1371404910 -1.563776781152547 treat image : temp/1752069748_3425204_1371404846_83eca86aa63f3315a02fc083190a08c8.jpg resize: (1080, 1632) 1371404846 -2.2932635904123075 treat image : temp/1752069748_3425204_1371404838_76d77e44061cc99f62aa411cf2c7a522.jpg resize: (1080, 1632) 1371404838 -2.2932635904123075 treat image : temp/1752069748_3425204_1371404768_b891f65a6e8f475f1ff1c81e5b8a3afb.jpg resize: (1080, 1632) 1371404768 -2.4618808190286767 treat image : temp/1752069748_3425204_1371404760_a23f22b10c7d8e21e7ef555a83f78651.jpg resize: (1080, 1632) 1371404760 -2.4618808190286767 treat image : temp/1752069748_3425204_1371404694_8cf47da9680c75b23413dad17bc90563.jpg resize: (1080, 1632) 1371404694 -1.005724172697364 treat image : temp/1752069748_3425204_1371404691_7574e0ddeaa81a04a02a63b929e3e8f3.jpg resize: (1080, 1632) 1371404691 -1.005724172697364 treat image : temp/1752069748_3425204_1371404631_79ccf1a964efe3a822809587dfc69c6c.jpg resize: (1080, 1632) 1371404631 -5.039585770025938 treat image : temp/1752069748_3425204_1371404624_3686f7cb16e478320459503fb077b778.jpg resize: (1080, 1632) 1371404624 -5.039585770025938 treat image : temp/1752069748_3425204_1371404556_b0afd759c15ebc518a7f82c9d16b8224.jpg resize: (1080, 1632) 1371404556 -5.0551289870321625 treat image : temp/1752069748_3425204_1371404554_7199e211461376552fb195883dce5ed7.jpg resize: (1080, 1632) 1371404554 -5.0551289870321625 treat image : temp/1752069748_3425204_1371404307_1ae96abf9e64644a651a84b836d8e326.jpg resize: (1080, 1632) 1371404307 -5.010597175395539 treat image : temp/1752069748_3425204_1371404229_fceee1e48845dbb5825dccdcf47b811d.jpg resize: (1080, 1632) 1371404229 -4.01906312753544 treat image : temp/1752069748_3425204_1371404163_c3480f8823b869d7122895d70937e3d9.jpg resize: (1080, 1632) 1371404163 -3.024101921054505 treat image : temp/1752069748_3425204_1371404116_e556852985f78c02cbd7c93e05e0c27a.jpg resize: (1080, 1632) 1371404116 -5.085992880430682 treat image : temp/1752069748_3425204_1371404080_7696081d770a6a4ff59909bda929c1b9.jpg resize: (1080, 1632) 1371404080 -4.989995229855971 treat image : temp/1752069748_3425204_1371404043_639ed4dd45092a907869de9e4c49300c.jpg resize: (1080, 1632) 1371404043 -4.533766782018984 treat image : temp/1752069748_3425204_1371403979_9774f3edc10e9a95a9deb450306dc767.jpg resize: (1080, 1632) 1371403979 -3.228909199327815 treat image : temp/1752069748_3425204_1371403966_1161c63e6c5d3e1222c056785d390a2c.jpg resize: (1080, 1632) 1371403966 -4.595865013851519 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.014808177947998047 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.013831615447998047 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016898632049560547 save missing photos in datou_result : time spend for datou_step_exec : 14.977282762527466 time spend to save output : 0.07438540458679199 total time spend for step 1 : 15.051668167114258 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.94user 2.15system 0:20.00elapsed 85%CPU (0avgtext+0avgdata 139012maxresident)k 7424inputs+7976outputs (6major+166045minor)pagefaults 0swaps