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 : 1976540 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 : 5952>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1976540/ 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.431835651397705 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 Wed Jul 2 22:47: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/1751489247_1976540_1370146197_94d25dce5453c98675f8816bcace111a.jpg resize: (1080, 1632) 1370146197 -5.837187131983124 treat image : temp/1751489247_1976540_1370146188_3065f81722dce590fcc5d03a61c43e1c.jpg resize: (1080, 1632) 1370146188 -5.836499225853672 treat image : temp/1751489247_1976540_1370146185_a1d1a7a910059d4f511f53416da7f7a8.jpg resize: (1080, 1632) 1370146185 -5.834365473364203 treat image : temp/1751489247_1976540_1370146170_d9e51739bd45e46be6069e15523dff0a.jpg resize: (1080, 1632) 1370146170 -5.835149304998003 treat image : temp/1751489247_1976540_1370146138_859d4e6f6f3593ce238ba9cf032915d3.jpg resize: (1080, 1632) 1370146138 -5.831238271646204 treat image : temp/1751489247_1976540_1370146099_7cf393ed41c46bdbc9f96210aeeeb58c.jpg resize: (1080, 1632) 1370146099 -5.833499447389023 treat image : temp/1751489247_1976540_1370145904_defbfabbda617118048e0e751485829b.jpg resize: (1080, 1632) 1370145904 -5.830365918758654 treat image : temp/1751489247_1976540_1370145894_f66b661c30efb283c98fa82b1580afcf.jpg resize: (1080, 1632) 1370145894 -5.830365918758654 treat image : temp/1751489247_1976540_1370145841_37a904fad0aa85edfca932006c41eadf.jpg resize: (1080, 1632) 1370145841 -5.826163796634471 treat image : temp/1751489247_1976540_1370145828_5a222bc022a77865ab7e3e88543f2524.jpg resize: (1080, 1632) 1370145828 -5.826163796634471 treat image : temp/1751489247_1976540_1370145782_56bd3b963398c4fcaaa5f28d5388ec3f.jpg resize: (1080, 1632) 1370145782 -5.830692349283604 treat image : temp/1751489247_1976540_1370145774_0cb3a8660c6a382d0012c1b4acce4519.jpg resize: (1080, 1632) 1370145774 -5.830692349283604 treat image : temp/1751489247_1976540_1370145745_2e5c905db3aed0724fa7c8a9d67a2477.jpg resize: (1080, 1632) 1370145745 -5.835082691930734 treat image : temp/1751489247_1976540_1370145741_15e98287d114c43b42aac97d5460a7e6.jpg resize: (1080, 1632) 1370145741 -5.835082691930734 treat image : temp/1751489247_1976540_1370145696_af6b3e68bc7f44de42c0ba142e24f430.jpg resize: (1080, 1632) 1370145696 -5.833273953409944 treat image : temp/1751489247_1976540_1370145691_08e4f130bc1af32293a6a91f1f81fe49.jpg resize: (1080, 1632) 1370145691 -5.833273953409944 treat image : temp/1751489247_1976540_1370145601_b557d7020f58ae2e13e8dcd7abcda9bd.jpg resize: (1080, 1632) 1370145601 -5.831849094978309 treat image : temp/1751489247_1976540_1370145593_a267b03db689613d511e31be8af5c556.jpg resize: (1080, 1632) 1370145593 -5.831849094978309 treat image : temp/1751489247_1976540_1370145365_9558126a4caaf93c9b4b311827906e2f.jpg resize: (1080, 1632) 1370145365 -5.16401494283364 treat image : temp/1751489247_1976540_1370145334_02e0212d7f7b1e9a667c53038f159262.jpg resize: (1080, 1632) 1370145334 -5.17734883983702 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.016604185104370117 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.014934778213500977 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016233205795288086 save missing photos in datou_result : time spend for datou_step_exec : 16.555603504180908 time spend to save output : 0.05216789245605469 total time spend for step 1 : 16.607771396636963 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 4.40system 0:21.54elapsed 88%CPU (0avgtext+0avgdata 138748maxresident)k 440inputs+11464outputs (10major+250525minor)pagefaults 0swaps