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 : 3073841 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 : 2029>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/3073841/ 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.2440381050109863 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:57:30 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/1747141048_3073841_1357849603_29fa725c9a55551f86e75457f62064d6.jpg resize: (1080, 1632) 1357849603 -5.9150024665078895 treat image : temp/1747141048_3073841_1357849568_abb0a2c4cb9b682717516a31d5c1e22b.jpg resize: (1080, 1632) 1357849568 -5.35055072409403 treat image : temp/1747141048_3073841_1357849564_6cf034f888f6489ae6910d794e21b968.jpg resize: (1080, 1632) 1357849564 -6.2066955778499056 treat image : temp/1747141048_3073841_1357849560_70cdfb5a3f196781e0e140a59fbf3f39.jpg resize: (1080, 1632) 1357849560 -6.381782210592116 treat image : temp/1747141048_3073841_1357849525_a3e8961f2b1ec617cc4ea83008d32f40.jpg resize: (1080, 1632) 1357849525 -5.904180006896188 treat image : temp/1747141048_3073841_1357849521_df487b30e541825436c592db917e2b6f.jpg resize: (1080, 1632) 1357849521 -6.134704375568658 treat image : temp/1747141048_3073841_1357849518_a1cf5da34e5a54dbf770a669aee693ce.jpg resize: (1080, 1632) 1357849518 -1.341314566908867 treat image : temp/1747141048_3073841_1357849444_50060867320b23dd1bd3e70a40b19d99.jpg resize: (1080, 1632) 1357849444 -6.129648869477081 treat image : temp/1747141048_3073841_1357849431_95e3848d37aa767b8a2751559889533f.jpg resize: (1080, 1632) 1357849431 -6.208594996137064 treat image : temp/1747141048_3073841_1357849407_f827dffe154d7fc801547a3c33b76a93.jpg resize: (1080, 1632) 1357849407 -6.096951424499888 treat image : temp/1747141048_3073841_1357849384_1a440eeec65cb514a8672d7437cc5244.jpg resize: (1080, 1632) 1357849384 -5.767322762208942 treat image : temp/1747141048_3073841_1357849375_0a4553647a7b7e325ad7314de704ff10.jpg resize: (1080, 1632) 1357849375 -3.1983739345192883 treat image : temp/1747141048_3073841_1357849359_bb2fa39be5a34c82df100eab1e92aa52.jpg resize: (1080, 1632) 1357849359 -5.8039732205621 treat image : temp/1747141048_3073841_1357838506_5c7c94ac926544fbc8daa75acafe5816.jpg resize: (1080, 1632) 1357838506 -1.3961309500316714 treat image : temp/1747141048_3073841_1357838501_0646d99028ab1ae4a6ebe2259343f851.jpg resize: (1080, 1632) 1357838501 -2.1917901420205173 treat image : temp/1747141048_3073841_1357838498_2fc473b2d412217364c6a4b71a15cc56.jpg resize: (1080, 1632) 1357838498 -4.452042850574976 treat image : temp/1747141048_3073841_1357838494_def6aedca8e718fde426f48ec340a421.jpg resize: (1080, 1632) 1357838494 -3.224593266966035 treat image : temp/1747141048_3073841_1357838393_231e8e27bdbc320bd9c83fde79ce75fb.jpg resize: (1080, 1632) 1357838393 -3.7741975889598653 treat image : temp/1747141048_3073841_1357838366_13d385b2de868da91f9357d44c671b4b.jpg resize: (1080, 1632) 1357838366 -3.6859007362978207 treat image : temp/1747141048_3073841_1357838346_4e96b67cdd62609cf04797b75800405b.jpg resize: (1080, 1632) 1357838346 -4.808475780975338 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.015460491180419922 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.015976428985595703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018917560577392578 save missing photos in datou_result : time spend for datou_step_exec : 15.266153812408447 time spend to save output : 0.0557703971862793 total time spend for step 1 : 15.321924209594727 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.21user 3.83system 0:20.03elapsed 90%CPU (0avgtext+0avgdata 140624maxresident)k 120inputs+10304outputs (6major+255643minor)pagefaults 0swaps