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 : 784445 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/784445/ 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 : 3.462998867034912 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 Mar 26 03:17: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/1742955447_784445_1333353013_f649eb001fc701f37e5d8edae75105c7.jpg resize: (1080, 1632) 1333353013 3.9979090995223734 treat image : temp/1742955447_784445_1333353011_972ad4f6fda71720ad6865ee71dc0bc9.jpg resize: (1080, 1632) 1333353011 5.073018723933591 treat image : temp/1742955447_784445_1333353009_6061db2670320a6f644d135eed114dd7.jpg resize: (1080, 1632) 1333353009 3.228850374478142 treat image : temp/1742955447_784445_1333352983_4ddb4ac73709860f7ce2d116bcf6feba.jpg resize: (1080, 1632) 1333352983 0.5333334527821889 treat image : temp/1742955447_784445_1333352981_71be2c6dd961046d6a63c3bb311710c2.jpg resize: (1080, 1632) 1333352981 -0.05128826568205009 treat image : temp/1742955447_784445_1333352978_69915c73a6c049bdc764c9eb106eed23.jpg resize: (1080, 1632) 1333352978 0.16121163121021784 treat image : temp/1742955447_784445_1333352975_205fffc70f654709c5afe2abf5e85bd2.jpg resize: (1080, 1632) 1333352975 -1.4028591276446574 treat image : temp/1742955447_784445_1333352971_14a4bb5d044032358a51f19b836b87aa.jpg resize: (1080, 1632) 1333352971 -1.1039078478369642 treat image : temp/1742955447_784445_1333352967_cc0e96390ea35a7954b277a01e017b54.jpg resize: (1080, 1632) 1333352967 1.2498229057741526 treat image : temp/1742955447_784445_1333352936_49deb0cd8be1cfe2360b7dc92ad08980.jpg resize: (1080, 1632) 1333352936 1.0056291845365355 treat image : temp/1742955447_784445_1333352932_1db7837803ea9a6d8b3280ada7061653.jpg resize: (1080, 1632) 1333352932 3.8091821194026765 treat image : temp/1742955447_784445_1333352928_2def7425b8b9bc9b8471ef8a276a9396.jpg resize: (1080, 1632) 1333352928 1.9555169882985473 treat image : temp/1742955447_784445_1333352924_b1569e11ba294630e34138e89a89beb8.jpg resize: (1080, 1632) 1333352924 3.0914972009054535 treat image : temp/1742955447_784445_1333352916_ab00398f91fdd95ad0c4cc2df4c224cf.jpg resize: (1080, 1632) 1333352916 4.766160336409383 treat image : temp/1742955447_784445_1333352904_b2525330c72b19cd25909453c25f1e84.jpg resize: (1080, 1632) 1333352904 3.860130135435966 treat image : temp/1742955447_784445_1333352840_a533dd5731c0859b45cf0c021f5993e2.jpg resize: (1080, 1632) 1333352840 6.485540184185457 treat image : temp/1742955447_784445_1333352837_5ce02b97449f8efec1b76b63966ae2f9.jpg resize: (1080, 1632) 1333352837 6.663161717035191 treat image : temp/1742955447_784445_1333352835_fb04b13b3b5bbf0802239bc75285b9c9.jpg resize: (1080, 1632) 1333352835 0.4806284904010896 treat image : temp/1742955447_784445_1333352818_e51c705c5dae0724aa69e76d36512727.jpg resize: (1080, 1632) 1333352818 1.2139839582936214 treat image : temp/1742955447_784445_1333352805_9a92c94f155922d08c398a29e6c3a6f4.jpg resize: (1080, 1632) 1333352805 2.517135261476186 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.012822151184082031 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.043938636779785156 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.025868654251098633 save missing photos in datou_result : time spend for datou_step_exec : 14.800514221191406 time spend to save output : 0.08743453025817871 total time spend for step 1 : 14.887948751449585 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.86user 3.38system 0:20.57elapsed 83%CPU (0avgtext+0avgdata 137708maxresident)k 0inputs+3632outputs (9major+256984minor)pagefaults 0swaps