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 : 181448 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 list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2889281'] with mtr_portfolio_ids : ['23101416'] and first list_photo_ids : [] new path : /proc/181448/ 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.2808101177215576 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 Mon May 19 05:22: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/1747624948_181448_1359276552_dd8888eb4683ffc22f5b62b050805747.jpg resize: (1080, 1632) 1359276552 -5.167870511414611 treat image : temp/1747624948_181448_1359276550_ecc2a82cfe69b620179baaacbf7c52f2.jpg resize: (1080, 1632) 1359276550 -5.288512380270783 treat image : temp/1747624948_181448_1359276548_85d1395097df52d62c04ac79d8eb50ca.jpg resize: (1080, 1632) 1359276548 -5.753141846767655 treat image : temp/1747624948_181448_1359276546_e5eb6842b3b6e6224c609be17a0876de.jpg resize: (1080, 1632) 1359276546 -4.0199917565349255 treat image : temp/1747624948_181448_1359276530_76d26203befa4b2379fa793285e16282.jpg resize: (1080, 1632) 1359276530 -5.418448947860875 treat image : temp/1747624948_181448_1359276527_aed1cfe6a33378ba7ed123cc03af07d4.jpg resize: (1080, 1632) 1359276527 -6.013285426760793 treat image : temp/1747624948_181448_1359276525_ab342b80caa873371a72d10e723b01be.jpg resize: (1080, 1632) 1359276525 -5.5668013948050925 treat image : temp/1747624948_181448_1359276523_3a069c8ff043d79617e019ca2c6effc0.jpg resize: (1080, 1632) 1359276523 -1.9899248602050292 treat image : temp/1747624948_181448_1359276521_f0d1461828a76fd79fa434e3bdae6cdd.jpg resize: (1080, 1632) 1359276521 -5.4962684474685135 treat image : temp/1747624948_181448_1359276518_744756e8ec2e1ae7981a443f9a541740.jpg resize: (1080, 1632) 1359276518 -4.4070410544821215 treat image : temp/1747624948_181448_1359276490_97256d64beb09041b3adbbed7231b714.jpg resize: (1080, 1632) 1359276490 -1.752912986238343 treat image : temp/1747624948_181448_1359276470_b7ae2b3a6d11f3ebca546aa84a3718d5.jpg resize: (1080, 1632) 1359276470 -2.358955879178698 treat image : temp/1747624948_181448_1359276468_45ef006ea8e36356b64710507b0106d6.jpg resize: (1080, 1632) 1359276468 -4.1049823180970195 treat image : temp/1747624948_181448_1359276466_f43bfe0084541d6baf471a4f4f9beeaf.jpg resize: (1080, 1632) 1359276466 -4.7230222810962985 treat image : temp/1747624948_181448_1359276464_53fc599caad07ceb312c7edfcc2da9e8.jpg resize: (1080, 1632) 1359276464 -4.126007002682212 treat image : temp/1747624948_181448_1359276434_3b52797aa8158089742d07536236ffb9.jpg resize: (1080, 1632) 1359276434 -5.691962340406106 treat image : temp/1747624948_181448_1359276432_1a24073d20f008dd8ccc26a5e0bcabf3.jpg resize: (1080, 1632) 1359276432 -5.611494355980236 treat image : temp/1747624948_181448_1359276430_6601e7168e4d4a4dcb3079e42a2b084c.jpg resize: (1080, 1632) 1359276430 -4.537478928441531 treat image : temp/1747624948_181448_1359276428_ae445d43bdd26af4a1ff191fd695bf78.jpg resize: (1080, 1632) 1359276428 -0.6587282174946528 treat image : temp/1747624948_181448_1359276410_84ca013a19f818aafb184db7fa3046dc.jpg resize: (1080, 1632) 1359276410 -4.981375431834397 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.01658177375793457 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.09990954399108887 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.12277746200561523 save missing photos in datou_result : time spend for datou_step_exec : 15.1990225315094 time spend to save output : 0.2440347671508789 total time spend for step 1 : 15.443057298660278 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 3.09system 0:19.69elapsed 88%CPU (0avgtext+0avgdata 139336maxresident)k 112inputs+9200outputs (8major+277352minor)pagefaults 0swaps