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 : 865064 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 : 235>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/865064/ 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.47835373878479 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 12 06:02: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/1747022548_865064_1357598520_b7abc1e00e0738a891ba1171cf296b1b.jpg resize: (1080, 1632) 1357598520 -5.404032052349696 treat image : temp/1747022548_865064_1357598518_d2c29234d01154a6d6417746fda2334a.jpg resize: (1080, 1632) 1357598518 -6.097227751610371 treat image : temp/1747022548_865064_1357598516_78c23f2e34fc4a7a1b544dc3b87941c5.jpg resize: (1080, 1632) 1357598516 -3.711258068897961 treat image : temp/1747022548_865064_1357598514_d247bab6e97e9c3619f3ccac339f214f.jpg resize: (1080, 1632) 1357598514 -0.8818214814211777 treat image : temp/1747022548_865064_1357598512_ffe0ca19dacf468d5fe37203d2d77eba.jpg resize: (1080, 1632) 1357598512 -1.9917321360749902 treat image : temp/1747022548_865064_1357598492_502e684ff52b0209cebc4330d6fdac80.jpg resize: (1080, 1632) 1357598492 -5.334468607530438 treat image : temp/1747022548_865064_1357598486_33bbb2244bd7e2a4bfebf4d372769f86.jpg resize: (1080, 1632) 1357598486 -5.334468607530438 treat image : temp/1747022548_865064_1357598485_0bbe09f33f25fc3b49a95b6056fc6261.jpg resize: (1080, 1632) 1357598485 -3.5969102612328 treat image : temp/1747022548_865064_1357598482_36af8940c47b23fe06f7ee39819dc0bd.jpg resize: (1080, 1632) 1357598482 -3.5969102612328 treat image : temp/1747022548_865064_1357598481_40f6f12677d66b512ab0b70e53eaf12b.jpg resize: (1080, 1632) 1357598481 -6.281069894270917 treat image : temp/1747022548_865064_1357598480_248105310b55aa60a478f13de7004ce9.jpg resize: (1080, 1632) 1357598480 -6.281069894270917 treat image : temp/1747022548_865064_1357598478_4473520cddc9b543878c4f38d5054597.jpg resize: (1080, 1632) 1357598478 -6.058074579895948 treat image : temp/1747022548_865064_1357598477_1ea3a953aefe272552feca8a0fffb8c4.jpg resize: (1080, 1632) 1357598477 -6.058074579895948 treat image : temp/1747022548_865064_1357598476_ea28eba4404c4363fe1501c516ffa634.jpg resize: (1080, 1632) 1357598476 -3.9565295139493415 treat image : temp/1747022548_865064_1357598475_78203433a627879a7009f142f6c0dbf9.jpg resize: (1080, 1632) 1357598475 -3.9565295139493415 treat image : temp/1747022548_865064_1357598465_c59c748b7a8c9c1fcd25757774889fce.jpg resize: (1080, 1632) 1357598465 -1.883543366406318 treat image : temp/1747022548_865064_1357598461_3f87fd46fff8c91ec2e9038e7a82a975.jpg resize: (1080, 1632) 1357598461 -6.244511825437199 treat image : temp/1747022548_865064_1357598454_c76798357b344602bffa6431b17a1096.jpg resize: (1080, 1632) 1357598454 -6.051666002829219 treat image : temp/1747022548_865064_1357598450_b5a7100d515ead77f1f48f6e46983734.jpg resize: (1080, 1632) 1357598450 -6.167509426217313 treat image : temp/1747022548_865064_1357598422_b83b71e9435ed6245c7b3395c1178542.jpg resize: (1080, 1632) 1357598422 -6.274007459621337 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.01390695571899414 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.012778997421264648 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016916751861572266 save missing photos in datou_result : time spend for datou_step_exec : 17.20101761817932 time spend to save output : 0.0485844612121582 total time spend for step 1 : 17.24960207939148 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 5.92system 0:22.91elapsed 87%CPU (0avgtext+0avgdata 140568maxresident)k 5400inputs+10544outputs (68major+260789minor)pagefaults 0swaps