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 : 537365 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/537365/ 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 : 4.9745001792907715 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 Sat Jul 19 00:57:33 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/1752879448_537365_1372316557_4b952427b6058fed418545e55d447bcc.jpg resize: (1080, 1632) 1372316557 -6.097556575775986 treat image : temp/1752879448_537365_1372316555_355236c055c0579bf0eacfa0ff1ed4af.jpg resize: (1080, 1632) 1372316555 -6.022186133606177 treat image : temp/1752879448_537365_1372316551_ee9b50371955911a9b94692a0f0fbb46.jpg resize: (1080, 1632) 1372316551 -6.0172854185611575 treat image : temp/1752879448_537365_1372316547_607a6c21f785f60d178a8c04ce45954e.jpg resize: (1080, 1632) 1372316547 -6.1314718330284625 treat image : temp/1752879448_537365_1372316543_ae81116748fa297b1e8afd17071f5c8b.jpg resize: (1080, 1632) 1372316543 -5.234585677264306 treat image : temp/1752879448_537365_1372316527_977ae3836d6d950b40edb3578ba2efd6.jpg resize: (1080, 1632) 1372316527 -5.37433831116958 treat image : temp/1752879448_537365_1372316520_9847b52c68db33d0904b62076bf00963.jpg resize: (1080, 1632) 1372316520 -5.77105547014884 treat image : temp/1752879448_537365_1372316515_9ddc0911a245a346fe19fbb83d8d66dd.jpg resize: (1080, 1632) 1372316515 -5.738940779235987 treat image : temp/1752879448_537365_1372316512_38dad7edc6bbeceb78c0c3cc7f5d72de.jpg resize: (1080, 1632) 1372316512 -5.711471492695338 treat image : temp/1752879448_537365_1372316507_6891ee3e12066ac7e7853955a6efd1f6.jpg resize: (1080, 1632) 1372316507 -4.128401825019711 treat image : temp/1752879448_537365_1372316499_91a6edfbef1924a490e04cd26f01c509.jpg resize: (1080, 1632) 1372316499 -6.037598501431132 treat image : temp/1752879448_537365_1372316467_c7f8d2f92f1621953e8aff43568b32b2.jpg resize: (1080, 1632) 1372316467 -2.5193923623942385 treat image : temp/1752879448_537365_1372316461_b5e785e9bc2db1eb901c96d2d526ce91.jpg resize: (1080, 1632) 1372316461 -2.6118357845285223 treat image : temp/1752879448_537365_1372316455_13b2c7a99bb9d87200d41cdcea787650.jpg resize: (1080, 1632) 1372316455 -2.3903780049524443 treat image : temp/1752879448_537365_1372316450_6d8e887043a444ca6508c41f03b3ec99.jpg resize: (1080, 1632) 1372316450 -3.2474633224797627 treat image : temp/1752879448_537365_1372316446_bb439aa3b329581fe4eaa279c3482b47.jpg resize: (1080, 1632) 1372316446 -4.026733403681301 treat image : temp/1752879448_537365_1372316442_ce8ac838dfb1c1b1c611dc9d0f004a12.jpg resize: (1080, 1632) 1372316442 -5.1747275689629495 treat image : temp/1752879448_537365_1372316420_9d342596c284d3e4fb6322886bc51173.jpg resize: (1080, 1632) 1372316420 -2.783809673009239 treat image : temp/1752879448_537365_1372316416_d56af95ee6a04e8000d593a15f8f10f9.jpg resize: (1080, 1632) 1372316416 -2.386754039949348 treat image : temp/1752879448_537365_1372316411_b3d45953d6cb164dbf4bd2644551a250.jpg resize: (1080, 1632) 1372316411 -2.3422916427351854 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.011807918548583984 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.014915227890014648 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.392977237701416 save missing photos in datou_result : time spend for datou_step_exec : 20.24752902984619 time spend to save output : 0.4239170551300049 total time spend for step 1 : 20.671446084976196 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 8.39system 0:29.27elapsed 77%CPU (0avgtext+0avgdata 139544maxresident)k 96inputs+9584outputs (0major+250560minor)pagefaults 0swaps