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 : 3544390 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 : 672>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/3544390/ 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.1696770191192627 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 Fri Mar 21 12: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/1742557948_3544390_1345976907_95821838b4e8ddc3e89e641923165c57.jpg resize: (1080, 1632) 1345976907 -6.020923156922031 treat image : temp/1742557948_3544390_1345976905_3b01753eb9706f24200fa5df5fbe57ad.jpg resize: (1080, 1632) 1345976905 -5.96798187530709 treat image : temp/1742557948_3544390_1345976902_ef4248ea694401422fa43e17c636e1f4.jpg resize: (1080, 1632) 1345976902 -5.907150970000687 treat image : temp/1742557948_3544390_1345976899_2bc030f7c0c135e59212f476fb5e9345.jpg resize: (1080, 1632) 1345976899 -4.909851540642573 treat image : temp/1742557948_3544390_1345976896_e42580ea6b7fd12ccf7fcf3c70f5bc71.jpg resize: (1080, 1632) 1345976896 -5.791442162234348 treat image : temp/1742557948_3544390_1345976893_191db3cbcf4cfe0aedff9cccf816139b.jpg resize: (1080, 1632) 1345976893 -5.906659889439938 treat image : temp/1742557948_3544390_1345976879_1fe662bd01223723966d998edb5a1c71.jpg resize: (1080, 1632) 1345976879 -2.097926905109855 treat image : temp/1742557948_3544390_1345976874_61ddcb6bb5096321dd340ab40f7a2490.jpg resize: (1080, 1632) 1345976874 -2.534186016194259 treat image : temp/1742557948_3544390_1345976870_b8a92b47ab50b9dbea24b19e370b308a.jpg resize: (1080, 1632) 1345976870 -5.675881038770807 treat image : temp/1742557948_3544390_1345976865_f2145d25f9d372a1211578c95e65decf.jpg resize: (1080, 1632) 1345976865 -5.996938685146988 treat image : temp/1742557948_3544390_1345976860_95864e2180126a92a15c8b5ac43e8de5.jpg resize: (1080, 1632) 1345976860 -5.927665482081872 treat image : temp/1742557948_3544390_1345976856_dc2d77013e2a17abdba3d961453928fa.jpg resize: (1080, 1632) 1345976856 -6.471545170320871 treat image : temp/1742557948_3544390_1345974771_2874aa5cb698416c92532e4a59b89d65.jpg resize: (1080, 1632) 1345974771 -5.917560097109296 treat image : temp/1742557948_3544390_1345974766_7ccd50e1af182a0788bf578669d7643c.jpg resize: (1080, 1632) 1345974766 -4.250445714559853 treat image : temp/1742557948_3544390_1345974762_eb2211e4e82cb6210a44653a45194691.jpg resize: (1080, 1632) 1345974762 -5.14322200222794 treat image : temp/1742557948_3544390_1345974758_b2f55e91aef58875a08bcb7a0cc0ded4.jpg resize: (1080, 1632) 1345974758 -6.356415513391978 treat image : temp/1742557948_3544390_1345973145_7c9a1a41630112ad6bd3ed2dcb182038.jpg resize: (1080, 1632) 1345973145 -5.278227343291437 treat image : temp/1742557948_3544390_1345973140_5796550bd921f997d2a503dd87bfea00.jpg resize: (1080, 1632) 1345973140 -5.210350537689653 treat image : temp/1742557948_3544390_1345973135_f0064f292d0fa2ef3b8fba2771ee746d.jpg resize: (1080, 1632) 1345973135 -6.176093364390525 treat image : temp/1742557948_3544390_1345973129_389ec96ebd34b205f229d9c6136da7b7.jpg resize: (1080, 1632) 1345973129 -5.758040526504455 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.012915849685668945 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.013930082321166992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01893162727355957 save missing photos in datou_result : time spend for datou_step_exec : 16.28408932685852 time spend to save output : 0.05032539367675781 total time spend for step 1 : 16.33441472053528 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 4.64system 0:21.34elapsed 88%CPU (0avgtext+0avgdata 139540maxresident)k 152inputs+11520outputs (6major+255611minor)pagefaults 0swaps