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 : 34946 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 : 3998>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/34946/ 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.8061435222625732 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 Thu Jul 17 11: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/1752746248_34946_1372346115_dc3ca832fd56cfa510d5ae398f849a10.jpg resize: (1080, 1632) 1372346115 -3.9023096932820307 treat image : temp/1752746248_34946_1372346111_81c4b9faf15de2d6efb81e61f56e2ee7.jpg resize: (1080, 1632) 1372346111 -5.764747527673818 treat image : temp/1752746248_34946_1372346108_748c5c98ed318613be716e39c3145715.jpg resize: (1080, 1632) 1372346108 -5.348927098521538 treat image : temp/1752746248_34946_1372346106_d5434af4220bdcdd9eb8910e2ebcd1e8.jpg resize: (1080, 1632) 1372346106 -5.531015759385565 treat image : temp/1752746248_34946_1372346104_13f38f4dc6ec6f6f2dee23d8e59702d8.jpg resize: (1080, 1632) 1372346104 -5.603991766296484 treat image : temp/1752746248_34946_1372346103_df47b9049a52a9c22eb3215170926814.jpg resize: (1080, 1632) 1372346103 -5.559632634527847 treat image : temp/1752746248_34946_1372346081_08955c74342570ae9d4c029d3e791b2c.jpg resize: (1080, 1632) 1372346081 -5.12564693227649 treat image : temp/1752746248_34946_1372346078_ea3f4c88408194fcffdd617cb67335eb.jpg resize: (1080, 1632) 1372346078 -5.029514782306926 treat image : temp/1752746248_34946_1372346074_e325cca835ebf4b4eccf10b42b48f556.jpg resize: (1080, 1632) 1372346074 -5.402726769586545 treat image : temp/1752746248_34946_1372346073_1e8fd4e8ed7df1224f9de8aab82fb344.jpg resize: (1080, 1632) 1372346073 -3.842612118576408 treat image : temp/1752746248_34946_1372346071_1cf1716f98eb7c5262247159f0ac234e.jpg resize: (1080, 1632) 1372346071 -5.439611098703791 treat image : temp/1752746248_34946_1372346069_fc4289428b8e3822afc25ddd83ba923e.jpg resize: (1080, 1632) 1372346069 -5.641932946727483 treat image : temp/1752746248_34946_1372346057_ea7f462d3e63c5993c69330da25170f3.jpg resize: (1080, 1632) 1372346057 -3.2007649142611645 treat image : temp/1752746248_34946_1372346054_bbc2ff2945fbe891cc9267064a88790f.jpg resize: (1080, 1632) 1372346054 -3.3764541711725706 treat image : temp/1752746248_34946_1372346050_ba807b81947b3517c6651d0708f40765.jpg resize: (1080, 1632) 1372346050 -4.589866047275592 treat image : temp/1752746248_34946_1372346048_350b62804c013fe12ed95dcb135813d4.jpg resize: (1080, 1632) 1372346048 -4.560116175571859 treat image : temp/1752746248_34946_1372346045_d7f598eba70fa430a628b62b58b1f72f.jpg resize: (1080, 1632) 1372346045 -4.560755897815802 treat image : temp/1752746248_34946_1372346042_a61addad5919c9d5fdb0f6fe8677bf2a.jpg resize: (1080, 1632) 1372346042 -5.120106224729959 treat image : temp/1752746248_34946_1372346022_5ea8a42aec94c564941d235215f5aa75.jpg resize: (1080, 1632) 1372346022 -2.862853421146077 treat image : temp/1752746248_34946_1372346019_9e6c78d5b19a0eff40690ca6be27d2c5.jpg resize: (1080, 1632) 1372346019 -2.788557013072718 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.024054288864135742 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.024646520614624023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.026795387268066406 save missing photos in datou_result : time spend for datou_step_exec : 13.865950584411621 time spend to save output : 0.08722758293151855 total time spend for step 1 : 13.95317816734314 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.36user 2.69system 0:19.85elapsed 80%CPU (0avgtext+0avgdata 138492maxresident)k 0inputs+9232outputs (0major+258326minor)pagefaults 0swaps