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 : 543720 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 : 2478>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/543720/ 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 : 1.9114856719970703 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 Mar 22 10:22: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/1742635347_543720_1346380571_2a548f17932ba43f22b2c66b4433bdb6.jpg resize: (1080, 1632) 1346380571 -6.098950137699503 treat image : temp/1742635347_543720_1346380570_94a4bcd0a9aa25570364db08724ffaf0.jpg resize: (1080, 1632) 1346380570 -6.098950137699503 treat image : temp/1742635347_543720_1346380567_548a8906ba5ba67a35e02e724a1cfbb3.jpg resize: (1080, 1632) 1346380567 -5.473857113131559 treat image : temp/1742635347_543720_1346380566_da1733e366d1816ee6adfd1df7344252.jpg resize: (1080, 1632) 1346380566 -5.473857113131559 treat image : temp/1742635347_543720_1346380562_e5785d3b381ecbcf65735c4e0f35e524.jpg resize: (1080, 1632) 1346380562 -6.4462900488575405 treat image : temp/1742635347_543720_1346380560_6a8fb61b53931e1617e53441e3ae3b30.jpg resize: (1080, 1632) 1346380560 -6.4462900488575405 treat image : temp/1742635347_543720_1346380556_efbe80913d882457ec089d60baf89532.jpg resize: (1080, 1632) 1346380556 -1.7670520582384455 treat image : temp/1742635347_543720_1346380554_fadedb85cd484be48e3578811a0b995e.jpg resize: (1080, 1632) 1346380554 -1.7670520582384455 treat image : temp/1742635347_543720_1346380550_1417ffdb543ad46c43bb6b406f517a70.jpg resize: (1080, 1632) 1346380550 -2.7270418425525196 treat image : temp/1742635347_543720_1346380548_038e271182195b9e10c0061cbd38aa96.jpg resize: (1080, 1632) 1346380548 -2.7270418425525196 treat image : temp/1742635347_543720_1346380544_8f7ae3d88d71409cea8fdae01b03c2e2.jpg resize: (1080, 1632) 1346380544 -5.4341394571101524 treat image : temp/1742635347_543720_1346380542_5a50d48b6ad74ad426e52e8299ef193c.jpg resize: (1080, 1632) 1346380542 -5.4341394571101524 treat image : temp/1742635347_543720_1346380533_3b184270259c08ae1b9ecc6bf0273081.jpg resize: (1080, 1632) 1346380533 -5.173827864995157 treat image : temp/1742635347_543720_1346380511_a4ac6b7330262fe52f64605b15d5691a.jpg resize: (1080, 1632) 1346380511 -4.9812408371662595 treat image : temp/1742635347_543720_1346380504_563af27335174d3df571966491d7bf89.jpg resize: (1080, 1632) 1346380504 -3.161567781555826 treat image : temp/1742635347_543720_1346380483_8df6af5f0c0fe433e5b531ba7781ee8a.jpg resize: (1080, 1632) 1346380483 -4.622947871294204 treat image : temp/1742635347_543720_1346380466_8b2eb8544d12777055146990e864c103.jpg resize: (1080, 1632) 1346380466 -5.408425627037987 treat image : temp/1742635347_543720_1346380452_98f3ff9075581dc4f258a4ad659f85be.jpg resize: (1080, 1632) 1346380452 -5.465921500717735 treat image : temp/1742635347_543720_1346380129_6b8bbf113177ad140896e1d93a6aab91.jpg resize: (1080, 1632) 1346380129 -5.570160586867896 treat image : temp/1742635347_543720_1346380125_7595c381aeaa570ad674ec18704e379e.jpg resize: (1080, 1632) 1346380125 -4.0764099693784255 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.11669754981994629 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.012890815734863281 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015877723693847656 save missing photos in datou_result : time spend for datou_step_exec : 12.735867261886597 time spend to save output : 0.15076208114624023 total time spend for step 1 : 12.886629343032837 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.73user 1.80system 0:18.29elapsed 84%CPU (0avgtext+0avgdata 138352maxresident)k 88inputs+10048outputs (19major+128230minor)pagefaults 0swaps