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 : 4097506 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 : 5310>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/4097506/ 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.408571481704712 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 21:57: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/1752091047_4097506_1371432063_81df28d8ddd31826e759a2084fd397d0.jpg resize: (1080, 1632) 1371432063 -5.097158952703878 treat image : temp/1752091047_4097506_1371432062_1ccfb7a839bd1bd16b974588d21b5c53.jpg resize: (1080, 1632) 1371432062 -5.034337005025762 treat image : temp/1752091047_4097506_1371431853_f8c466000dce9f611e36fad6b63f0355.jpg resize: (1080, 1632) 1371431853 -5.562690696450411 treat image : temp/1752091047_4097506_1371431852_2c3bfcbc1367206af15e44d249b822fd.jpg resize: (1080, 1632) 1371431852 -5.5441392279118835 treat image : temp/1752091047_4097506_1371431850_6388e6329ac4a85359c96cb7c54836bb.jpg resize: (1080, 1632) 1371431850 -5.783839679851973 treat image : temp/1752091047_4097506_1371431848_ba79f5deb83bdf6bcca6bf6bf06c570f.jpg resize: (1080, 1632) 1371431848 -5.785421626518962 treat image : temp/1752091047_4097506_1371431846_b5ca84e01f96d98c6769e1af191f6b5a.jpg resize: (1080, 1632) 1371431846 -1.857487433819611 treat image : temp/1752091047_4097506_1371431844_9bd02b5b41c18dd0ae8810a7f18af725.jpg resize: (1080, 1632) 1371431844 -2.980088224251807 treat image : temp/1752091047_4097506_1371431814_98d29d7d2d0b8c57ab705b73e53f8bce.jpg resize: (1080, 1632) 1371431814 -5.618781229303522 treat image : temp/1752091047_4097506_1371431813_3e7e2bd4298cbce159960b241d64299f.jpg resize: (1080, 1632) 1371431813 -5.618781229303522 treat image : temp/1752091047_4097506_1371431811_eb5d4ed1be89b944f619c551fc703487.jpg resize: (1080, 1632) 1371431811 -5.5950610009477675 treat image : temp/1752091047_4097506_1371431810_90298bc619db13e9ce6a90e872140e81.jpg resize: (1080, 1632) 1371431810 -5.5950610009477675 treat image : temp/1752091047_4097506_1371431805_6ca9d118060d4ddbf4c4fd3afc9f2ee3.jpg resize: (1080, 1632) 1371431805 -4.500925029765102 treat image : temp/1752091047_4097506_1371431804_0ce661048bfd7f24d06fd80e3b859f0d.jpg resize: (1080, 1632) 1371431804 -4.74998651240583 treat image : temp/1752091047_4097506_1371431803_9bae67461c414bbd1036926231b0b3bf.jpg resize: (1080, 1632) 1371431803 -4.587043866725785 treat image : temp/1752091047_4097506_1371431802_ed0c357d973fb7af4a5d5d166ca330fe.jpg resize: (1080, 1632) 1371431802 -5.653102922130478 treat image : temp/1752091047_4097506_1371431800_f58376c5fde769cc0733542963f77f0b.jpg resize: (1080, 1632) 1371431800 -2.5862227867273004 treat image : temp/1752091047_4097506_1371431799_0c66ebc437206397af2500477ee7b751.jpg resize: (1080, 1632) 1371431799 -1.3606972731440146 treat image : temp/1752091047_4097506_1371431798_e958a6052d2e37af8dc982a0bfc0671b.jpg resize: (1080, 1632) 1371431798 -4.8430746634007775 treat image : temp/1752091047_4097506_1371431796_11258c2c53d348d1d8d290585aebc215.jpg resize: (1080, 1632) 1371431796 -4.8349280614685375 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.012606382369995117 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.011988162994384766 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014866828918457031 save missing photos in datou_result : time spend for datou_step_exec : 15.289899349212646 time spend to save output : 0.04400277137756348 total time spend for step 1 : 15.33390212059021 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.86user 3.70system 0:19.54elapsed 89%CPU (0avgtext+0avgdata 139392maxresident)k 8inputs+9328outputs (17major+258246minor)pagefaults 0swaps