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 : 1471917 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 updating current state to 1 we have a portfolio with more photos than limit : 2728>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1471917/ 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.657676935195923 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 Thu Sep 4 18:22: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/1757002947_1471917_1381468030_4f955a980b71fab80ace9207388b6641_9173121.jpg resize: (1080, 1632) 1381468030 -5.955860220098109 treat image : temp/1757002947_1471917_1381468029_648c76dcf1f1593bd37cbd07c408c194_81257995.jpg resize: (1080, 1632) 1381468029 -5.853888828739157 treat image : temp/1757002947_1471917_1381468027_1f0293e44c27185cb216094f57262820_75103366.jpg resize: (1080, 1632) 1381468027 -5.326673750238351 treat image : temp/1757002947_1471917_1381468025_6b812ea57307b016b39fba059e2a247b_59337278.jpg resize: (1080, 1632) 1381468025 -1.1908841960134247 treat image : temp/1757002947_1471917_1381467972_6dc6c2071695753bc8b4a8541f1bc3ac_63109283.jpg resize: (1080, 1632) 1381467972 -4.645157635933657 treat image : temp/1757002947_1471917_1381467971_193d05a4e0eb275827957a31d42c0cac_97401920.jpg resize: (1080, 1632) 1381467971 -6.204286412338088 treat image : temp/1757002947_1471917_1381467969_6f76e6338a4d12e043e447a477ec71db_85995889.jpg resize: (1080, 1632) 1381467969 -6.0752520565416335 treat image : temp/1757002947_1471917_1381467968_bc68f9826988ec8f79fce76b1e13e6d9_97333838.jpg resize: (1080, 1632) 1381467968 -6.1205675690031125 treat image : temp/1757002947_1471917_1381467967_da96b93ef28af2bf93cacf412fd6a2a5_61425477.jpg resize: (1080, 1632) 1381467967 -5.96836589451955 treat image : temp/1757002947_1471917_1381467966_6604c63b5e428e6b88acc8ab291b4c98_95715841.jpg resize: (1080, 1632) 1381467966 -6.291539238690572 treat image : temp/1757002947_1471917_1381448003_4ab5414a948d7d921193f2df583db5a0_94000402.jpg resize: (1080, 1632) 1381448003 -4.591792517809186 treat image : temp/1757002947_1471917_1381448000_b631af8b64a5991402715f2b94efaa75_65375004.jpg resize: (1080, 1632) 1381448000 -3.8683702262525217 treat image : temp/1757002947_1471917_1381447997_3208ffa2bd8e0b22d0c80f7ef2487fd8_12681206.jpg resize: (1080, 1632) 1381447997 -4.722525854882455 treat image : temp/1757002947_1471917_1381447994_333d86c421efa9d3af2df95191862c17_59225587.jpg resize: (1080, 1632) 1381447994 -3.8663354589734733 treat image : temp/1757002947_1471917_1381447851_4f1659d84db3ec1d42d81bcc1c16159a_59808794.jpg resize: (1080, 1632) 1381447851 -0.7334757643179242 treat image : temp/1757002947_1471917_1381447847_911c88cd7edb833d9f498b5938df2a1c_24930.jpg resize: (1080, 1632) 1381447847 -1.9702048854917023 treat image : temp/1757002947_1471917_1381447843_401267995a9340e03ef2b430c5b7a0bf_88221500.jpg resize: (1080, 1632) 1381447843 -3.208172793404896 treat image : temp/1757002947_1471917_1381447838_7158d03030aa8329d08c680a6ce3cd02_6259521.jpg resize: (1080, 1632) 1381447838 -4.8226025468893505 treat image : temp/1757002947_1471917_1381447833_b0030764a3c5dca0a94d721ef1e13b21_75813945.jpg resize: (1080, 1632) 1381447833 -3.565020267866309 treat image : temp/1757002947_1471917_1381447829_2739f7e9cb5c15c7fedd63ec7057b9b9_48349323.jpg resize: (1080, 1632) 1381447829 -5.194974990345899 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.0332951545715332 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.034128665924072266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03151822090148926 save missing photos in datou_result : time spend for datou_step_exec : 18.761303186416626 time spend to save output : 0.11360454559326172 total time spend for step 1 : 18.874907732009888 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.47user 7.00system 0:25.04elapsed 85%CPU (0avgtext+0avgdata 139648maxresident)k 152inputs+9712outputs (5major+258568minor)pagefaults 0swaps