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 : 3009377 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 : 1972>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3009377/ 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.425384283065796 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 Tue May 13 14:37:29 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/1747139846_3009377_1357844410_9a32a5b04d7d18d04810982cfcbc7ffc.jpg resize: (1080, 1632) 1357844410 -6.055697500746739 treat image : temp/1747139846_3009377_1357844378_0a8fa256d125c0dff4e255928e919cda.jpg resize: (1080, 1632) 1357844378 -6.15889629295233 treat image : temp/1747139846_3009377_1357844346_0b5c48ae807ec3014545d40e66db533a.jpg resize: (1080, 1632) 1357844346 -6.359923919228263 treat image : temp/1747139846_3009377_1357844316_3865a2ff5012435433b31d81c33cb13b.jpg resize: (1080, 1632) 1357844316 -5.479148014681783 treat image : temp/1747139846_3009377_1357844289_45c86f03f89a8a2602189b465ac77d42.jpg resize: (1080, 1632) 1357844289 -5.174720135044872 treat image : temp/1747139846_3009377_1357844259_9f9ce42b8ccbcd8ed5807d74b7021db4.jpg resize: (1080, 1632) 1357844259 -1.43025704341673 treat image : temp/1747139846_3009377_1357844077_aa0e8a5305d0e9ef0c06e4a705a3baa4.jpg resize: (1080, 1632) 1357844077 -0.9160995985150276 treat image : temp/1747139846_3009377_1357844064_c90a271a0e7823bc5b71341fe6f3d021.jpg resize: (1080, 1632) 1357844064 -2.3982676852324407 treat image : temp/1747139846_3009377_1357844054_a9018d993a0b0376e9bfbb5f1a7e402d.jpg resize: (1080, 1632) 1357844054 -4.284166114618946 treat image : temp/1747139846_3009377_1357844035_f8296f3db480d1aa94266b31bce7be3b.jpg resize: (1080, 1632) 1357844035 -5.75367402909891 treat image : temp/1747139846_3009377_1357844016_86085dbdc7c76a2d3bed5fbedcbfd15a.jpg resize: (1080, 1632) 1357844016 -5.72012379053883 treat image : temp/1747139846_3009377_1357843735_9747ccf371019b28eb3d84415f48adf5.jpg resize: (1080, 1632) 1357843735 -5.36791182957035 treat image : temp/1747139846_3009377_1357843675_320ade44355e2670e6a9e3a9fc2fb1cc.jpg resize: (1080, 1632) 1357843675 -4.032756520502615 treat image : temp/1747139846_3009377_1357843638_cc5c8732569bf70ec21ea29f0692efac.jpg resize: (1080, 1632) 1357843638 -5.944357858550963 treat image : temp/1747139846_3009377_1357843610_3a1de1c923e7bdab363204f56fb457b0.jpg resize: (1080, 1632) 1357843610 -3.543368090717161 treat image : temp/1747139846_3009377_1357843497_9d211d39e68b36c12de32d8544ea1c8e.jpg resize: (1080, 1632) 1357843497 -6.1442694886522276 treat image : temp/1747139846_3009377_1357843396_ddbbd633f41437aba71a96dcc36d171f.jpg resize: (1080, 1632) 1357843396 -1.4336238348767654 treat image : temp/1747139846_3009377_1357843393_e26cb3250be192a4d2d172508fbb8484.jpg resize: (1080, 1632) 1357843393 -2.900396438014551 treat image : temp/1747139846_3009377_1357843391_7d792acfa7b7e138c76bb1a4ab4ed882.jpg resize: (1080, 1632) 1357843391 -4.523890268799884 treat image : temp/1747139846_3009377_1357843389_5753f8d53e72395b988fa040e1a27125.jpg resize: (1080, 1632) 1357843389 -4.596670773098758 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.01352834701538086 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.012012481689453125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014799356460571289 save missing photos in datou_result : time spend for datou_step_exec : 17.22488021850586 time spend to save output : 0.045740365982055664 total time spend for step 1 : 17.270620584487915 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.91user 4.43system 0:21.28elapsed 90%CPU (0avgtext+0avgdata 139712maxresident)k 824inputs+9760outputs (39major+261209minor)pagefaults 0swaps