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 : 3509320 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 : 8405>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3509320/ 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.677952289581299 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 Thu Jul 31 20:52: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/1753987948_3509320_1374646184_52c7046066b7d75cb742d38823634e21.jpg resize: (1080, 1632) 1374646184 -1.9145454351238747 treat image : temp/1753987948_3509320_1374646183_b2ac504c1c9a12940ed6ea3c69bc92e6.jpg resize: (1080, 1632) 1374646183 -4.993021329676284 treat image : temp/1753987948_3509320_1374646182_9e79b0bcb788cbcdaf1ae750ebbf257b.jpg resize: (1080, 1632) 1374646182 -5.1861756566738055 treat image : temp/1753987948_3509320_1374646181_8ea148a1d3b9b7ea2b90d39c4cdbe451.jpg resize: (1080, 1632) 1374646181 -4.869934634834014 treat image : temp/1753987948_3509320_1374646178_363dbc0e4724160275f14ce796caa871.jpg resize: (1080, 1632) 1374646178 -6.064057851726231 treat image : temp/1753987948_3509320_1374646169_6aa96483a1fe23487525baa245a0b845.jpg resize: (1080, 1632) 1374646169 -6.082488391618172 treat image : temp/1753987948_3509320_1374645793_e169d6d2d9f8895fae4ad9aab9adad1a.jpg resize: (1080, 1632) 1374645793 -5.324677003559524 treat image : temp/1753987948_3509320_1374645791_845b9caba7850d166b4c18e47b50d96f.jpg resize: (1080, 1632) 1374645791 -5.1317078635097095 treat image : temp/1753987948_3509320_1374645789_b4c95004b4bfbb6666417141b4bacb00.jpg resize: (1080, 1632) 1374645789 -5.281616588909964 treat image : temp/1753987948_3509320_1374645787_45326e87369a19f688888d06a4343670.jpg resize: (1080, 1632) 1374645787 -5.003641060714109 treat image : temp/1753987948_3509320_1374645781_386b694f5fb64f5e113b184bb4f7f9db.jpg resize: (1080, 1632) 1374645781 -2.8682183231343634 treat image : temp/1753987948_3509320_1374645779_baf401c04f3cee4ad491d49e4c08be0a.jpg resize: (1080, 1632) 1374645779 -5.758203435176231 treat image : temp/1753987948_3509320_1374645776_7090ccc8f82666a94d3c3ece2365babf.jpg resize: (1080, 1632) 1374645776 -5.6582027236445915 treat image : temp/1753987948_3509320_1374645773_8724da2d75afaa684e7b4f6b93810d94.jpg resize: (1080, 1632) 1374645773 -4.50571281966685 treat image : temp/1753987948_3509320_1374645771_1c7310f8f520837b752f08fce0351578.jpg resize: (1080, 1632) 1374645771 -4.809743522436675 treat image : temp/1753987948_3509320_1374645761_d08218e23b241c0038f9b3536d12dd01.jpg resize: (1080, 1632) 1374645761 -4.108820760522147 treat image : temp/1753987948_3509320_1374644410_477165366cb202e7932825053c0cc5b3.jpg resize: (1080, 1632) 1374644410 -6.021894681534431 treat image : temp/1753987948_3509320_1374644409_3958d84016508bb938528c2baa08f9d5.jpg resize: (1080, 1632) 1374644409 -5.20584478952891 treat image : temp/1753987948_3509320_1374644407_78358c11b922347a3644dd93e0c18be6.jpg resize: (1080, 1632) 1374644407 -4.964161121460231 treat image : temp/1753987948_3509320_1374644405_578c700c2e81a70b28c64f713cba9b5f.jpg resize: (1080, 1632) 1374644405 -4.695695589425924 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.011708974838256836 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.011923551559448242 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013940572738647461 save missing photos in datou_result : time spend for datou_step_exec : 16.328026294708252 time spend to save output : 0.042710065841674805 total time spend for step 1 : 16.370736360549927 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 4.36system 0:21.68elapsed 88%CPU (0avgtext+0avgdata 136768maxresident)k 152inputs+9760outputs (0major+258219minor)pagefaults 0swaps