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 : 789294 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 list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/789294/ 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.353925943374634 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 Mon May 12 05:27:28 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/1747020446_789294_1357597422_2a5d2a92eb8677d0ab91da09c6993b7c.jpg resize: (1080, 1632) 1357597422 -1.5332106687035802 treat image : temp/1747020446_789294_1357597421_db080a7742b6d23dceabb19506794dbd.jpg resize: (1080, 1632) 1357597421 -3.7449490382424315 treat image : temp/1747020446_789294_1357597418_872ea128b54d7905d32956684ef6ad12.jpg resize: (1080, 1632) 1357597418 -3.3959254059955133 treat image : temp/1747020446_789294_1357597400_3b43456a5f37d37cb756280fb485a8f7.jpg resize: (1080, 1632) 1357597400 -4.647609889383411 treat image : temp/1747020446_789294_1357597399_674df9cb5d5938e010d34a6514139be1.jpg resize: (1080, 1632) 1357597399 -6.075086543014162 treat image : temp/1747020446_789294_1357597398_32c1e870ba87167c2ec3f17739a77bf7.jpg resize: (1080, 1632) 1357597398 -6.167751084594661 treat image : temp/1747020446_789294_1357597395_5c131702cc071c07c1a52dbdd85f13aa.jpg resize: (1080, 1632) 1357597395 -6.126013818023319 treat image : temp/1747020446_789294_1357597393_18961cd79b15e7748b90e9c6e5bdd0ba.jpg resize: (1080, 1632) 1357597393 -5.567162458482218 treat image : temp/1747020446_789294_1357597371_6dbdabab27f7db76e4721c9264dd3c87.jpg resize: (1080, 1632) 1357597371 -5.867935170669423 treat image : temp/1747020446_789294_1357597370_15ce4b80774ed41d768d2119f37e3149.jpg resize: (1080, 1632) 1357597370 -5.021686673211935 treat image : temp/1747020446_789294_1357597368_7042ae77d33fefba219f09f764d114c3.jpg resize: (1080, 1632) 1357597368 -4.493330917942749 treat image : temp/1747020446_789294_1357597366_845b0cda5e1087a7afa21fa95b0a2c97.jpg resize: (1080, 1632) 1357597366 -5.746345403905049 treat image : temp/1747020446_789294_1357597365_b55aeb7f6f7e6a9ccdcc13059334b894.jpg resize: (1080, 1632) 1357597365 -4.727639542527567 treat image : temp/1747020446_789294_1357597362_d379ff68c8961af01f5463c56040b0c6.jpg resize: (1080, 1632) 1357597362 -5.699025424687675 treat image : temp/1747020446_789294_1357597341_cfa316b1e2d5b60adce1ff454460a24d.jpg resize: (1080, 1632) 1357597341 -1.9175684439079201 treat image : temp/1747020446_789294_1357597339_f30dde26413c667a2fcdba05aae73d8d.jpg resize: (1080, 1632) 1357597339 -4.252359938206339 treat image : temp/1747020446_789294_1357597335_278e7b164ae2e30efa4308bdc142890e.jpg resize: (1080, 1632) 1357597335 -6.237698105194028 treat image : temp/1747020446_789294_1357597331_cc913876c5abdf78503fee1a1a20e387.jpg resize: (1080, 1632) 1357597331 -4.689151694564427 treat image : temp/1747020446_789294_1357597272_eacc5351bb423e92ca94e5619ad3c1da.jpg resize: (1080, 1632) 1357597272 -5.889807439487694 treat image : temp/1747020446_789294_1357597268_03ee2ae587e1cacc67c074a709442245.jpg resize: (1080, 1632) 1357597268 -5.349186277744129 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.014605283737182617 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.013366222381591797 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015235662460327148 save missing photos in datou_result : time spend for datou_step_exec : 15.366841793060303 time spend to save output : 0.049120187759399414 total time spend for step 1 : 15.415961980819702 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.17user 3.85system 0:19.36elapsed 93%CPU (0avgtext+0avgdata 141840maxresident)k 144inputs+9832outputs (3major+257527minor)pagefaults 0swaps