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 : 1392337 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 : 966>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated 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/1392337/ 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.135089159011841 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 08:52:32 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/1747032750_1392337_1357606885_50f90e69107a32efe8376cea5ae062c5.jpg resize: (1080, 1632) 1357606885 -1.963070454608166 treat image : temp/1747032750_1392337_1357606881_f9667eb70d7153f609122d5b77824554.jpg resize: (1080, 1632) 1357606881 -3.8059865903880983 treat image : temp/1747032750_1392337_1357606873_4b2c04814dacf1cc463e6dc447f48250.jpg resize: (1080, 1632) 1357606873 -5.849035786832389 treat image : temp/1747032750_1392337_1357606752_0b2566b9f15cc5f8c2c2b857e6add1ea.jpg resize: (1080, 1632) 1357606752 -3.7563556032009013 treat image : temp/1747032750_1392337_1357606744_557eadabf39790cf8ca0babde9771afc.jpg resize: (1080, 1632) 1357606744 -5.14252529159645 treat image : temp/1747032750_1392337_1357606731_03de4b3b7a2632e1ce9b6763f4f5252b.jpg resize: (1080, 1632) 1357606731 -5.469360833942881 treat image : temp/1747032750_1392337_1357606712_5997f1f924e6801ee3dd3d8a38fe5b9b.jpg resize: (1080, 1632) 1357606712 -4.664174260920845 treat image : temp/1747032750_1392337_1357606669_b4d4555c9454567abe5ad3161deef05a.jpg resize: (1080, 1632) 1357606669 -6.220835161380801 treat image : temp/1747032750_1392337_1357606664_fe0bc35ad3ff0c76706bffc1236467b1.jpg resize: (1080, 1632) 1357606664 -5.5229230889514 treat image : temp/1747032750_1392337_1357606662_c63fcb9152e3ade559aae3eb72231695.jpg resize: (1080, 1632) 1357606662 -6.029781818583759 treat image : temp/1747032750_1392337_1357606659_4b6d1c3ac0e756669f5bd064d0cd647e.jpg resize: (1080, 1632) 1357606659 -3.316705873631241 treat image : temp/1747032750_1392337_1357606656_aca9d4ebc57ee691f81dbbe27165e0bf.jpg resize: (1080, 1632) 1357606656 -5.642478955913733 treat image : temp/1747032750_1392337_1357606653_ed4d74f122e046bdd0b4fe1a0de5f22e.jpg resize: (1080, 1632) 1357606653 -5.770258524535963 treat image : temp/1747032750_1392337_1357606625_3651e1fc77e56467b8f00156aebd97fc.jpg resize: (1080, 1632) 1357606625 -5.714105494160642 treat image : temp/1747032750_1392337_1357606620_4b316152c2c61f293fe05d4ca07370d9.jpg resize: (1080, 1632) 1357606620 -4.8040528169046395 treat image : temp/1747032750_1392337_1357606616_5d729dd8867aa0b8316d1ef91cc086c5.jpg resize: (1080, 1632) 1357606616 -1.8374956685331338 treat image : temp/1747032750_1392337_1357606611_83a9c8d265d5c4b2b18d80af8518bcf5.jpg resize: (1080, 1632) 1357606611 -3.1082242536437117 treat image : temp/1747032750_1392337_1357606607_bf1ef2c2f83343e1325b33b4e4851bac.jpg resize: (1080, 1632) 1357606607 -2.658780017819504 treat image : temp/1747032750_1392337_1357606581_44ebe45d9bc82ce50e5fe2dba68003ec.jpg resize: (1080, 1632) 1357606581 -4.079621328242004 treat image : temp/1747032750_1392337_1357606577_bd2f651e1eca13b0808d6a6d8f028116.jpg resize: (1080, 1632) 1357606577 -2.540730820151233 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.01312708854675293 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.07449007034301758 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1528792381286621 save missing photos in datou_result : time spend for datou_step_exec : 19.918606281280518 time spend to save output : 0.2583274841308594 total time spend for step 1 : 20.176933765411377 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.54user 7.42system 0:26.68elapsed 86%CPU (0avgtext+0avgdata 140532maxresident)k 12224inputs+9336outputs (22major+260778minor)pagefaults 0swaps