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 : 401513 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 : 1992>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/401513/ 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.176225423812866 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 09:37: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/1742632649_401513_1346373296_d868059e004441f3c9d32cbd27b124d6.jpg resize: (1080, 1632) 1346373296 -4.683465798016791 treat image : temp/1742632649_401513_1346373294_55db437b6cea1924593dc22121702f16.jpg resize: (1080, 1632) 1346373294 -6.157834306517667 treat image : temp/1742632649_401513_1346373293_75c4b1a5c04ac963620e8951f421ff76.jpg resize: (1080, 1632) 1346373293 -5.855146887011809 treat image : temp/1742632649_401513_1346373292_549664ebfc3401f57d266fbfde705a41.jpg resize: (1080, 1632) 1346373292 -5.592297372488261 treat image : temp/1742632649_401513_1346373289_8efb238ffbfc2052859aa63fb2fba5f7.jpg resize: (1080, 1632) 1346373289 -5.620893212836105 treat image : temp/1742632649_401513_1346373279_ff747fbd54364b513611fcc213506014.jpg resize: (1080, 1632) 1346373279 -5.406410251517002 treat image : temp/1742632649_401513_1346373254_4a12c660299be48517fa8f20e0f1b424.jpg resize: (1080, 1632) 1346373254 -5.534827509415969 treat image : temp/1742632649_401513_1346373250_1e47d70941f9e47593e552aca4956ee9.jpg resize: (1080, 1632) 1346373250 -5.545792554489158 treat image : temp/1742632649_401513_1346373247_56ba49398b7cf2e315ef315a84133f06.jpg resize: (1080, 1632) 1346373247 -4.512354313076581 treat image : temp/1742632649_401513_1346373223_d02385a1bed0d69b8052aa7f9faab9fb.jpg resize: (1080, 1632) 1346373223 -5.495978203513323 treat image : temp/1742632649_401513_1346373196_8fea2b28ee6faa2f57a1dfaa6471c206.jpg resize: (1080, 1632) 1346373196 -6.207427290999783 treat image : temp/1742632649_401513_1346373179_0056660d57bf80f044e1b3a0d9a7d5ff.jpg resize: (1080, 1632) 1346373179 -6.331248478736359 treat image : temp/1742632649_401513_1346372696_43de8b67784f4823a7e4c7ee1c7e4fc1.jpg resize: (1080, 1632) 1346372696 -2.0186021293314123 treat image : temp/1742632649_401513_1346372688_a54eb26a7d60420f62cf5a6b1468b167.jpg resize: (1080, 1632) 1346372688 -3.168014131783366 treat image : temp/1742632649_401513_1346372675_be733794fde724625b1ca75c103e443a.jpg resize: (1080, 1632) 1346372675 -5.6906319409318575 treat image : temp/1742632649_401513_1346372663_cc0eca2b8f22fe0c79d2bd33654b769b.jpg resize: (1080, 1632) 1346372663 -5.721329266024575 treat image : temp/1742632649_401513_1346372644_4587ada59cacd829957e0c852f179875.jpg resize: (1080, 1632) 1346372644 -5.686953433643816 treat image : temp/1742632649_401513_1346372642_ef17d5e81a5725fb95ce8fd45137571d.jpg resize: (1080, 1632) 1346372642 -6.077567704639523 treat image : temp/1742632649_401513_1346372638_b83facc5e10ae2a02831c413555fdd81.jpg resize: (1080, 1632) 1346372638 -6.050809743029731 treat image : temp/1742632649_401513_1346372634_d3f77fa1eebd67f7baf46c1b8ea79d9b.jpg resize: (1080, 1632) 1346372634 -5.0120893942337945 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.01563739776611328 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.016028642654418945 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01619720458984375 save missing photos in datou_result : time spend for datou_step_exec : 14.782192945480347 time spend to save output : 0.052359580993652344 total time spend for step 1 : 14.834552526473999 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.91user 3.12system 0:20.64elapsed 82%CPU (0avgtext+0avgdata 139820maxresident)k 120inputs+11072outputs (6major+259834minor)pagefaults 0swaps