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 : 2680300 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 : 6695>100 please execute split_portfolio.py -i 25155834 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3316381'] with mtr_portfolio_ids : ['25155834'] and first list_photo_ids : [] new path : /proc/2680300/ 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.2288269996643066 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 Aug 2 04:12: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/1754100748_2680300_1374861474_18b047b1a4fe599426eacf85454ce604.jpg resize: (1080, 1632) 1374861474 -4.053478999370455 treat image : temp/1754100748_2680300_1374861471_82a36afabfca900b115030bc1e65ad9b.jpg resize: (1080, 1632) 1374861471 -6.015134401784429 treat image : temp/1754100748_2680300_1374861467_635a32db79103f077ce3fd3d35a1b1b7.jpg resize: (1080, 1632) 1374861467 -4.740465706009702 treat image : temp/1754100748_2680300_1374861464_415bbc96f04ff2f8cc6486792eac21d6.jpg resize: (1080, 1632) 1374861464 -5.326737791161422 treat image : temp/1754100748_2680300_1374861461_c798b121d59264b7475ac40d6e6a6fe2.jpg resize: (1080, 1632) 1374861461 -3.2108809314330946 treat image : temp/1754100748_2680300_1374861459_ee746e7a659841ecbc455b06cd70697c.jpg resize: (1080, 1632) 1374861459 -5.751080987520388 treat image : temp/1754100748_2680300_1374861020_8172e53973e0c80e5db741483bce4554.jpg resize: (1080, 1632) 1374861020 -5.550768594633569 treat image : temp/1754100748_2680300_1374861016_af231059b8afc3f139db1cbb8e7a182f.jpg resize: (1080, 1632) 1374861016 -4.596062725795368 treat image : temp/1754100748_2680300_1374861013_326d5a9c5ccacdfd01ccaa507a014dd0.jpg resize: (1080, 1632) 1374861013 -5.858625075786389 treat image : temp/1754100748_2680300_1374861011_dd1827a9003125661caa2970790be264.jpg resize: (1080, 1632) 1374861011 -2.8588045226940557 treat image : temp/1754100748_2680300_1374861008_e038c51bc06d37d1d08a0de533468843.jpg resize: (1080, 1632) 1374861008 -1.4861074831705543 treat image : temp/1754100748_2680300_1374861007_fcd349a73c72298b42f36fd82ffb9218.jpg resize: (1080, 1632) 1374861007 -4.710172797935428 treat image : temp/1754100748_2680300_1374860987_a382cd22f96eee9696aebc64660a3a8b.jpg resize: (1080, 1632) 1374860987 -4.161682408251798 treat image : temp/1754100748_2680300_1374860984_307e18f7d48351ab89fc047bb1093e6d.jpg resize: (1080, 1632) 1374860984 -5.106394996730223 treat image : temp/1754100748_2680300_1374860981_139285ba646607d2d183fb983fbe2a48.jpg resize: (1080, 1632) 1374860981 -5.308213240328539 treat image : temp/1754100748_2680300_1374860977_c21ee5924e55d5ab6332f9fa6f8cb282.jpg resize: (1080, 1632) 1374860977 -0.5972746211934263 treat image : temp/1754100748_2680300_1374860974_9cc2af73d8f6e7e8f78934562d25e037.jpg resize: (1080, 1632) 1374860974 -3.2574941071340335 treat image : temp/1754100748_2680300_1374860972_b5bf76b3837b000c33045d9127ceb7aa.jpg resize: (1080, 1632) 1374860972 -2.5245816326079837 treat image : temp/1754100748_2680300_1374860953_739c06883ce4f98de7924589a578f219.jpg resize: (1080, 1632) 1374860953 -3.5775673068057467 treat image : temp/1754100748_2680300_1374860951_4194ef617bc2998a2261ed5ef2707438.jpg resize: (1080, 1632) 1374860951 -4.8259905427709615 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.013672590255737305 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.10825109481811523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2701148986816406 save missing photos in datou_result : time spend for datou_step_exec : 14.948579549789429 time spend to save output : 0.3965625762939453 total time spend for step 1 : 15.345142126083374 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.08user 3.34system 0:19.63elapsed 88%CPU (0avgtext+0avgdata 137200maxresident)k 0inputs+8944outputs (14major+245869minor)pagefaults 0swaps