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 : 4155684 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/4155684/ 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 : 3.64951491355896 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 Wed Sep 17 00:12:31 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/1758060748_4155684_1383502011_bda184737baea805cb1f53cef3b9ccee.jpg resize: (1080, 1632) 1383502011 -5.435379086256855 treat image : temp/1758060748_4155684_1383502010_66f1e7140bfccd12deeda1b82b8334a9.jpg resize: (1080, 1632) 1383502010 -5.563506685423306 treat image : temp/1758060748_4155684_1383502006_d47f3bb27366701eaa2be350778524b7.jpg resize: (1080, 1632) 1383502006 -3.6047389303389425 treat image : temp/1758060748_4155684_1383501804_19756de00a26fb82cac6e0e19af12e48.jpg resize: (1080, 1632) 1383501804 -4.934812060634727 treat image : temp/1758060748_4155684_1383501753_18739d5586cf16b74b52c245fe06cb6c.jpg resize: (1080, 1632) 1383501753 -5.0829803914378004 treat image : temp/1758060748_4155684_1383501695_bb90b087da45358c3c15760f14c84ee4.jpg resize: (1080, 1632) 1383501695 -1.5144800454241045 treat image : temp/1758060748_4155684_1383501642_a84a8662a6c63227354b3eef4bb26a90.jpg resize: (1080, 1632) 1383501642 -2.0385023669894804 treat image : temp/1758060748_4155684_1383501536_4fa0485dd8be7b6eaf1d47270a99e4d0.jpg resize: (1080, 1632) 1383501536 -5.867533941096868 treat image : temp/1758060748_4155684_1383501477_7b5e7bca49b43b710219b076b51ad344.jpg resize: (1080, 1632) 1383501477 -1.3625019107967635 treat image : temp/1758060748_4155684_1383501472_6729d6caa3e26369f2576ba281c19064.jpg resize: (1080, 1632) 1383501472 -5.687950847408764 treat image : temp/1758060748_4155684_1383501468_272a997782260a11e7264e5794211020.jpg resize: (1080, 1632) 1383501468 -5.042067169196517 treat image : temp/1758060748_4155684_1383501445_3ef938436d0f6898de6113ced269e790.jpg resize: (1080, 1632) 1383501445 -3.376614791097047 treat image : temp/1758060748_4155684_1383501397_aed4c0727d706c5573fdd2864a1bcd2f.jpg resize: (1080, 1632) 1383501397 -5.353393303958276 treat image : temp/1758060748_4155684_1383501348_2650a871d70faa43d8f6cbaed6b13242.jpg resize: (1080, 1632) 1383501348 -5.045730116482424 treat image : temp/1758060748_4155684_1383500933_91fc56f463e7e9c804427c6235e185c8.jpg resize: (1080, 1632) 1383500933 -3.7881226400948105 treat image : temp/1758060748_4155684_1383500890_855cbab24319db369d627b81d6074c84.jpg resize: (1080, 1632) 1383500890 -6.114036777210369 treat image : temp/1758060748_4155684_1383500842_709cbbef453fe3a8ecaa4c1b952c0e1a.jpg resize: (1080, 1632) 1383500842 -3.383253527305929 treat image : temp/1758060748_4155684_1383500792_b15eec11f9f806f7e07790b36b9ebb45.jpg resize: (1080, 1632) 1383500792 -0.3989248428367332 treat image : temp/1758060748_4155684_1383500740_114b1c65b04eb3d39a56ba2a87d75250.jpg resize: (1080, 1632) 1383500740 -1.5930721355135142 treat image : temp/1758060748_4155684_1383500554_e87dcd48b46f096ecc31c8f57b3661d5.jpg resize: (1080, 1632) 1383500554 -1.2158470595095046 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.012622594833374023 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.24570178985595703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.08428692817687988 save missing photos in datou_result : time spend for datou_step_exec : 15.362713813781738 time spend to save output : 0.3472633361816406 total time spend for step 1 : 15.709977149963379 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.98user 3.85system 0:23.36elapsed 76%CPU (0avgtext+0avgdata 137716maxresident)k 128inputs+9152outputs (2major+257385minor)pagefaults 0swaps