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 : 4003666 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 : 6664>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/4003666/ 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.274317979812622 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 5 13:02: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/1751713348_4003666_1370789328_e522bd3dcc840ce5b2acd95868dd6280.jpg resize: (1080, 1632) 1370789328 -5.080590612379836 treat image : temp/1751713348_4003666_1370789327_179331fde9b9df4c96faa5160d91ce19.jpg resize: (1080, 1632) 1370789327 -5.080590612379836 treat image : temp/1751713348_4003666_1370789325_ab3e6269834eea589183aae2292a3767.jpg resize: (1080, 1632) 1370789325 -5.077110915619861 treat image : temp/1751713348_4003666_1370789324_38f40c0f1a99be8dca1238119f6fb923.jpg resize: (1080, 1632) 1370789324 -5.077110915619861 treat image : temp/1751713348_4003666_1370789320_b0d580c7763da8d9f271126517a12d2a.jpg resize: (1080, 1632) 1370789320 -5.103064458379867 treat image : temp/1751713348_4003666_1370789319_740a0167fab546e28aa70b04ca45733a.jpg resize: (1080, 1632) 1370789319 -5.103064458379867 treat image : temp/1751713348_4003666_1370789315_b39798108d9b512aa1dfe4f2cfb5d127.jpg resize: (1080, 1632) 1370789315 -5.107193098456985 treat image : temp/1751713348_4003666_1370789314_feba5a6d663ade16d8825303c1296fea.jpg resize: (1080, 1632) 1370789314 -5.107193098456985 treat image : temp/1751713348_4003666_1370789289_24a97daf26cd955f0c6c8f3a5d3247cb.jpg resize: (1080, 1632) 1370789289 -5.1126901695579114 treat image : temp/1751713348_4003666_1370789276_5b6187d46c992da3ca0a839ce6c47419.jpg resize: (1080, 1632) 1370789276 -5.1126901695579114 treat image : temp/1751713348_4003666_1370789229_62b8cb0f85650a69f4dec080e993ca5f.jpg resize: (1080, 1632) 1370789229 -5.110864724996489 treat image : temp/1751713348_4003666_1370789209_b7134725fc5cbaa177d21e8c96b7a105.jpg resize: (1080, 1632) 1370789209 -5.110864724996489 treat image : temp/1751713348_4003666_1370788972_48e7aa9d300f3d383b028df5c5e6ba4f.jpg resize: (1080, 1632) 1370788972 -5.128940217617913 treat image : temp/1751713348_4003666_1370788896_0e9aa2671546cf2bdabdafed597226b3.jpg resize: (1080, 1632) 1370788896 -5.128921689061012 treat image : temp/1751713348_4003666_1370788827_b0ae42868b222317d81bc0d47c85114d.jpg resize: (1080, 1632) 1370788827 -5.124971920350041 treat image : temp/1751713348_4003666_1370788758_fe39e48da5ba803473b965d73e125456.jpg resize: (1080, 1632) 1370788758 -5.086952742422562 treat image : temp/1751713348_4003666_1370788687_a12ac65e3dd2fff12abf862b3f825474.jpg resize: (1080, 1632) 1370788687 -5.111270712698391 treat image : temp/1751713348_4003666_1370788616_d303175bb5e2b2ed19fef7a0282158fc.jpg resize: (1080, 1632) 1370788616 -5.113679616862264 treat image : temp/1751713348_4003666_1370788305_ef574cbd7fd8d5f704be39574ac959cb.jpg resize: (1080, 1632) 1370788305 -5.0583748397942045 treat image : temp/1751713348_4003666_1370788237_6dafa9c9af8328945611a5c1197ce21c.jpg resize: (1080, 1632) 1370788237 -5.0222311892201 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.012179851531982422 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.012001752853393555 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013129472732543945 save missing photos in datou_result : time spend for datou_step_exec : 14.550865411758423 time spend to save output : 0.04290604591369629 total time spend for step 1 : 14.59377145767212 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.62user 3.90system 0:19.33elapsed 90%CPU (0avgtext+0avgdata 137900maxresident)k 0inputs+9600outputs (0major+258730minor)pagefaults 0swaps