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 : 3850043 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 : 3264>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3850043/ 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.025235414505005 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 05:52: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/1742619147_3850043_1346340048_037ca5fc57a4602ca37754cf7a333cae.jpg resize: (1080, 1632) 1346340048 -6.039467119016308 treat image : temp/1742619147_3850043_1346340044_2219976d789d88e607c52eba76440426.jpg resize: (1080, 1632) 1346340044 -6.039467119016308 treat image : temp/1742619147_3850043_1346340042_1ea73efb880c17b3e0d40bd14905abf0.jpg resize: (1080, 1632) 1346340042 -6.03965179497492 treat image : temp/1742619147_3850043_1346340039_4421d3e7c1ca821a569787bfc9ac0678.jpg resize: (1080, 1632) 1346340039 -6.03965179497492 treat image : temp/1742619147_3850043_1346340037_974a9e4575c6d1507b6422d00af63eaa.jpg resize: (1080, 1632) 1346340037 -6.019440946336865 treat image : temp/1742619147_3850043_1346340034_0620ad711b8dc098951648ee4b0eb8d3.jpg resize: (1080, 1632) 1346340034 -6.019440946336865 treat image : temp/1742619147_3850043_1346340032_4fa0969fcd3ff253f482443cf93021a7.jpg resize: (1080, 1632) 1346340032 -5.044004348562718 treat image : temp/1742619147_3850043_1346340030_1380406a8ed76a8a888da5bdddb15a30.jpg resize: (1080, 1632) 1346340030 -5.044004348562718 treat image : temp/1742619147_3850043_1346340028_b3394866b708242973f543ae72af549e.jpg resize: (1080, 1632) 1346340028 -6.005674586207231 treat image : temp/1742619147_3850043_1346340026_254207432957e321f0e36d679e21e56b.jpg resize: (1080, 1632) 1346340026 -6.005674586207231 treat image : temp/1742619147_3850043_1346340024_d296ffb12b05272862803fe15d061298.jpg resize: (1080, 1632) 1346340024 -5.603828943876254 treat image : temp/1742619147_3850043_1346340023_0f5830ac5d2f165e0482510d73f4bbcf.jpg resize: (1080, 1632) 1346340023 -5.603828943876254 treat image : temp/1742619147_3850043_1346340016_6eb9313d74e45d849a9d623820be27b3.jpg resize: (1080, 1632) 1346340016 -5.700660214738617 treat image : temp/1742619147_3850043_1346340013_7efabd637b03d85b576e7b541fc023b7.jpg resize: (1080, 1632) 1346340013 -5.755007778966843 treat image : temp/1742619147_3850043_1346340010_24464cfc8d751eeb2d43e1bbe02ca42d.jpg resize: (1080, 1632) 1346340010 -2.260487981414955 treat image : temp/1742619147_3850043_1346340007_f3f75d83dca454d8e55c5b958821c53f.jpg resize: (1080, 1632) 1346340007 -1.5358432761803742 treat image : temp/1742619147_3850043_1346340006_d5fcda9e170ab626359d2b8b50c6c748.jpg resize: (1080, 1632) 1346340006 -5.271599341199633 treat image : temp/1742619147_3850043_1346340004_77415e39b607dad70b32d4f936a67c80.jpg resize: (1080, 1632) 1346340004 -5.862936471253808 treat image : temp/1742619147_3850043_1346339899_c490e11d15a62a84567de5b7d1961d8c.jpg resize: (1080, 1632) 1346339899 -6.504508136609306 treat image : temp/1742619147_3850043_1346339896_9040e276431c51786f697430f714157f.jpg resize: (1080, 1632) 1346339896 -6.158172672159952 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.32277464866638184 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.015952348709106445 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017811298370361328 save missing photos in datou_result : time spend for datou_step_exec : 15.574781656265259 time spend to save output : 0.36167311668395996 total time spend for step 1 : 15.936454772949219 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.27user 3.77system 0:20.59elapsed 87%CPU (0avgtext+0avgdata 139680maxresident)k 40inputs+11208outputs (3major+260131minor)pagefaults 0swaps