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 : 2010119 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 : 6204>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/2010119/ 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.3056814670562744 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 2 23:17:31 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/1751491049_2010119_1370160384_66e2615607adf12a1ab62ccb223451cc.jpg resize: (1080, 1632) 1370160384 -5.843001132613031 treat image : temp/1751491049_2010119_1370160309_0ddbcea44c72734f3126ca93089567d9.jpg resize: (1080, 1632) 1370160309 -5.846232209712115 treat image : temp/1751491049_2010119_1370160286_0b6f5bebcb8f6831cdb480a6afb09487.jpg resize: (1080, 1632) 1370160286 -5.844500088408897 treat image : temp/1751491049_2010119_1370160274_08869c6fd449edab6f7bf90209569439.jpg resize: (1080, 1632) 1370160274 -5.847733036237422 treat image : temp/1751491049_2010119_1370160232_60956fd1cb6836f78703ce381adce765.jpg resize: (1080, 1632) 1370160232 -5.842533797646677 treat image : temp/1751491049_2010119_1370160197_bbe1da0201f9e9b6157bc62a6dad00c7.jpg resize: (1080, 1632) 1370160197 -5.841047798465165 treat image : temp/1751491049_2010119_1370160080_f2a6e62eb8350f69a74d0e1f8cd1d10e.jpg resize: (1080, 1632) 1370160080 -3.064288715211009 treat image : temp/1751491049_2010119_1370160045_99e8460e1b31df89bdd8e98fcd1c79e6.jpg resize: (1080, 1632) 1370160045 -3.0328382393727504 treat image : temp/1751491049_2010119_1370160012_87e9a5126b622ff1786092dec8ef5a14.jpg resize: (1080, 1632) 1370160012 -2.9772147178853863 treat image : temp/1751491049_2010119_1370159980_a11a742584ed5cb1f9e91983ddb8c71e.jpg resize: (1080, 1632) 1370159980 -3.00046413589609 treat image : temp/1751491049_2010119_1370159979_48cba85cdeaca7299fdc8cbc5c58c91d.jpg resize: (1080, 1632) 1370159979 -3.602112475764078 treat image : temp/1751491049_2010119_1370159978_a4e537cb11cb64c955f003ccf0dd7308.jpg resize: (1080, 1632) 1370159978 -3.604831685800227 treat image : temp/1751491049_2010119_1370159964_82ca9fb03bc643388123080d265a738f.jpg resize: (1080, 1632) 1370159964 -5.844723339637393 treat image : temp/1751491049_2010119_1370159961_09d6097d3ca6b7fda8b105f0054f073b.jpg resize: (1080, 1632) 1370159961 -5.841869175096634 treat image : temp/1751491049_2010119_1370159953_e32a6b05e48b7e43688d62a7cc6e008a.jpg resize: (1080, 1632) 1370159953 -5.842826427319352 treat image : temp/1751491049_2010119_1370159950_97796aaad6cd6e6f2de48f1de2c7fe13.jpg resize: (1080, 1632) 1370159950 -5.842595549263067 treat image : temp/1751491049_2010119_1370159941_1c9ad6456065394a55d24972ee09437b.jpg resize: (1080, 1632) 1370159941 -5.8399038288452445 treat image : temp/1751491049_2010119_1370159900_05e5b328a2c99c62f7c450095cc64f14.jpg resize: (1080, 1632) 1370159900 -5.8425424500584455 treat image : temp/1751491049_2010119_1370158881_f163200d725f19023888701856e203d5.jpg resize: (1080, 1632) 1370158881 -5.929034002781722 treat image : temp/1751491049_2010119_1370158787_9b8a551cb0223f1aa022cda20752340a.jpg resize: (1080, 1632) 1370158787 -5.409446583214956 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.0133209228515625 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.013736248016357422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014962911605834961 save missing photos in datou_result : time spend for datou_step_exec : 16.23045301437378 time spend to save output : 0.046916961669921875 total time spend for step 1 : 16.2773699760437 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 4.45system 0:22.24elapsed 84%CPU (0avgtext+0avgdata 139036maxresident)k 112inputs+10424outputs (17major+258630minor)pagefaults 0swaps