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 : 1599601 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 : 3138>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/1599601/ 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.085451602935791 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 16:32:28 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/1742657546_1599601_1346449074_a921125ad1ca21391eaab430d4896c32.jpg resize: (1080, 1632) 1346449074 -2.245749325435367 treat image : temp/1742657546_1599601_1346449071_3645002db3582eac28053c1729813cbc.jpg resize: (1080, 1632) 1346449071 -4.334268372581557 treat image : temp/1742657546_1599601_1346449067_b362452f6df0444aac7ea3e07a5faf5a.jpg resize: (1080, 1632) 1346449067 -6.531339372994484 treat image : temp/1742657546_1599601_1346449063_896e8e80d4d3de10dc3c2b17411ce86f.jpg resize: (1080, 1632) 1346449063 -5.05273903726491 treat image : temp/1742657546_1599601_1346449059_54f21a7c8a4561849c40f64bd525092d.jpg resize: (1080, 1632) 1346449059 -5.522228204950374 treat image : temp/1742657546_1599601_1346449055_fc1848317d9cebed37b71ef098ec4821.jpg resize: (1080, 1632) 1346449055 -5.9746240474257055 treat image : temp/1742657546_1599601_1346449043_792e379a49e20b8ef228bd59e315158e.jpg resize: (1080, 1632) 1346449043 -5.409374602415835 treat image : temp/1742657546_1599601_1346449037_431de7b7b4bbc910eb2b4c1fb64fb9ba.jpg resize: (1080, 1632) 1346449037 -5.7403626794603655 treat image : temp/1742657546_1599601_1346449033_7344112967b2d66a7a4f313eef01202c.jpg resize: (1080, 1632) 1346449033 -5.710099798963973 treat image : temp/1742657546_1599601_1346449029_fa4e73d54aa49051d4d81e0101ef61bc.jpg resize: (1080, 1632) 1346449029 -4.890718900111098 treat image : temp/1742657546_1599601_1346449009_911442871ee7ff63ec0199b77e0693cc.jpg resize: (1080, 1632) 1346449009 -2.6703502662788337 treat image : temp/1742657546_1599601_1346449006_023254e38cdc7ec7b9dcc7e45476c4d2.jpg resize: (1080, 1632) 1346449006 -2.4972566276732286 treat image : temp/1742657546_1599601_1346449003_73a4ba5825706546c0175ec5ee8764fc.jpg resize: (1080, 1632) 1346449003 -2.2977703075138 treat image : temp/1742657546_1599601_1346448990_b874aa3429aed56fc86133cb8e21728f.jpg resize: (1080, 1632) 1346448990 -5.597589509254694 treat image : temp/1742657546_1599601_1346448986_cff6d6e5807c1f9ed7508da26a9215cd.jpg resize: (1080, 1632) 1346448986 -4.972614429916935 treat image : temp/1742657546_1599601_1346448981_ad1fea06dc360fbebd0deba390d2569c.jpg resize: (1080, 1632) 1346448981 -5.8417685132665325 treat image : temp/1742657546_1599601_1346448980_4ac814eab2e46fb16ffb20f2d654923c.jpg resize: (1080, 1632) 1346448980 -6.268205465479602 treat image : temp/1742657546_1599601_1346448974_62094e45fb15b26a3379f88a3fa83663.jpg resize: (1080, 1632) 1346448974 -6.283903681370415 treat image : temp/1742657546_1599601_1346448967_b46f3646954fab9ffcc6b94eeb445906.jpg resize: (1080, 1632) 1346448967 -4.73526364399746 treat image : temp/1742657546_1599601_1346448964_297e9727bdaa6a4b34e8a0ad4d1731fa.jpg resize: (1080, 1632) 1346448964 -5.933690616974269 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.01266622543334961 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.01224207878112793 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0157468318939209 save missing photos in datou_result : time spend for datou_step_exec : 14.548338174819946 time spend to save output : 0.045349836349487305 total time spend for step 1 : 14.593688011169434 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.05user 3.40system 0:18.34elapsed 95%CPU (0avgtext+0avgdata 138740maxresident)k 0inputs+10544outputs (15major+259405minor)pagefaults 0swaps