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 : 108463 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 : 3485>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/108463/ 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.2585930824279785 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 23:37: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/1747085846_108463_1357745877_e9dadab822d88e18a551243a5cec194c.jpg resize: (1080, 1632) 1357745877 -1.8228597843872605 treat image : temp/1747085846_108463_1357745874_38bf2ef6e3e6471611b5f7113a9e460c.jpg resize: (1080, 1632) 1357745874 -4.095882448899712 treat image : temp/1747085846_108463_1357745871_cc5be0816bb767bb8c9016b62e2c482e.jpg resize: (1080, 1632) 1357745871 -4.99373691592956 treat image : temp/1747085846_108463_1357745868_54ca78fc22d708fdbf7be5dd0c249628.jpg resize: (1080, 1632) 1357745868 -1.6008821667606026 treat image : temp/1747085846_108463_1357745865_f6fd52e28f4a54ea97d5859585fa33b2.jpg resize: (1080, 1632) 1357745865 -5.566326460635057 treat image : temp/1747085846_108463_1357745799_eff06dacf9ee8771bbd16fa600db6ae9.jpg resize: (1080, 1632) 1357745799 -1.6148429590965832 treat image : temp/1747085846_108463_1357745792_62b57c2610cdcbf95572d95c86cc34ac.jpg resize: (1080, 1632) 1357745792 -0.7895995289450651 treat image : temp/1747085846_108463_1357745788_e3abf56f657587468f78b85e5666c657.jpg resize: (1080, 1632) 1357745788 -1.5409747907336175 treat image : temp/1747085846_108463_1357745751_8713018385c13a228ccf31ddbb5b2122.jpg resize: (1080, 1632) 1357745751 -5.980552470937104 treat image : temp/1747085846_108463_1357745749_d98f60ee923e5ad272185d6eda59fd15.jpg resize: (1080, 1632) 1357745749 -5.712880533344674 treat image : temp/1747085846_108463_1357745747_d8dca00d90f3ccb25d8332ca13d28489.jpg resize: (1080, 1632) 1357745747 -5.719506852991431 treat image : temp/1747085846_108463_1357745745_4858f6288f7aa63b59ccc675021269cb.jpg resize: (1080, 1632) 1357745745 -5.884343975113353 treat image : temp/1747085846_108463_1357745717_370ee18eb0589811700daadeb1959dac.jpg resize: (1080, 1632) 1357745717 -6.308964014570859 treat image : temp/1747085846_108463_1357745715_1c6a25e0c8858dd6b8cd79b726fecc80.jpg resize: (1080, 1632) 1357745715 -5.980544992503553 treat image : temp/1747085846_108463_1357745713_0b705a07d1a820f03872520ac14a7258.jpg resize: (1080, 1632) 1357745713 -3.238846121870833 treat image : temp/1747085846_108463_1357745711_8bb086d3f600954eea964b6d22023abd.jpg resize: (1080, 1632) 1357745711 -5.992759017724381 treat image : temp/1747085846_108463_1357745709_b31fea31abeb772bd420e43e1101d6d3.jpg resize: (1080, 1632) 1357745709 -3.58743002755776 treat image : temp/1747085846_108463_1357745681_2bb66da47c3925f0f9c362c8bc29656e.jpg resize: (1080, 1632) 1357745681 -5.447328404600605 treat image : temp/1747085846_108463_1357745678_f5493dee719d4c502d34288ff9304e50.jpg resize: (1080, 1632) 1357745678 -5.781985669839226 treat image : temp/1747085846_108463_1357745676_2d86d540d500e477a872188d4699fb59.jpg resize: (1080, 1632) 1357745676 -6.65473773601733 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.015421390533447266 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.015360355377197266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018108129501342773 save missing photos in datou_result : time spend for datou_step_exec : 15.911941051483154 time spend to save output : 0.054121971130371094 total time spend for step 1 : 15.966063022613525 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 3.62system 0:19.62elapsed 94%CPU (0avgtext+0avgdata 141004maxresident)k 176inputs+9888outputs (18major+264416minor)pagefaults 0swaps