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 : 1652508 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 : 869>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1652508/ 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.8734021186828613 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 May 21 08:02:31 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/1747807348_1652508_1359974707_adb3c824f312aa9ddac38f7a57621a24.jpg resize: (1080, 1632) 1359974707 -5.786085896375329 treat image : temp/1747807348_1652508_1359974703_d6343fb2fa6a9a43bb9bc47041352e54.jpg resize: (1080, 1632) 1359974703 -5.7253926248779 treat image : temp/1747807348_1652508_1359974699_8f479c79fef34befef3df399f60cb6d1.jpg resize: (1080, 1632) 1359974699 -6.166419632698239 treat image : temp/1747807348_1652508_1359974695_bd583b3b74942dce5807bd942723b255.jpg resize: (1080, 1632) 1359974695 -4.406420619875592 treat image : temp/1747807348_1652508_1359974617_8383520fda53e46cfc7c34882e099c04.jpg resize: (1080, 1632) 1359974617 -5.5490078119000605 treat image : temp/1747807348_1652508_1359974612_b5df30e141ceae12139d1f6a4f6d2abe.jpg resize: (1080, 1632) 1359974612 -3.3329382809810237 treat image : temp/1747807348_1652508_1359974606_aeed393e9bfb24a1cfe7da32a0735835.jpg resize: (1080, 1632) 1359974606 -5.48884721503176 treat image : temp/1747807348_1652508_1359974601_b50cc1a25058cfe28ed0deb8f22d658f.jpg resize: (1080, 1632) 1359974601 -5.716230240994413 treat image : temp/1747807348_1652508_1359974596_8443f0582226a0c33e520b7b7df77f99.jpg resize: (1080, 1632) 1359974596 -4.785682619643585 treat image : temp/1747807348_1652508_1359974524_a69453aaa4a7253a33034a3dfc3d5063.jpg resize: (1080, 1632) 1359974524 -5.382517922721204 treat image : temp/1747807348_1652508_1359974518_29957097335d53924a9c369a1f139a48.jpg resize: (1080, 1632) 1359974518 -5.555044000524195 treat image : temp/1747807348_1652508_1359974511_501f262e1a16ba1ad57a957467663ced.jpg resize: (1080, 1632) 1359974511 -4.289261328098767 treat image : temp/1747807348_1652508_1359974505_eda2305123f35e5c99a0c65f725e788b.jpg resize: (1080, 1632) 1359974505 -4.9968690014302295 treat image : temp/1747807348_1652508_1359974496_ff3daa6ff3ae85abc4d83c87327e4dc8.jpg resize: (1080, 1632) 1359974496 -4.77052030036637 treat image : temp/1747807348_1652508_1359974462_0e5d463415ec9ff1e668e4f3d26def4b.jpg resize: (1080, 1632) 1359974462 -1.872577316674094 treat image : temp/1747807348_1652508_1359974452_4d8c841f02dea3c9a7689ad8d805fbb9.jpg resize: (1080, 1632) 1359974452 -3.500959676570695 treat image : temp/1747807348_1652508_1359974447_404f9a2a8e9e687613db4ce2c1035ff2.jpg resize: (1080, 1632) 1359974447 -1.4764026081518067 treat image : temp/1747807348_1652508_1359974437_87bcaabe12e3a2eb696ffb2bc8513c03.jpg resize: (1080, 1632) 1359974437 -5.716323699990706 treat image : temp/1747807348_1652508_1359974417_7417c0eec2d598273d79bc3321a0dc9d.jpg resize: (1080, 1632) 1359974417 -6.094038387385302 treat image : temp/1747807348_1652508_1359973300_ff1bb573e97a42d4ce8a99eb878a88cd.jpg resize: (1080, 1632) 1359973300 -5.000399413132678 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.013713836669921875 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.02689075469970703 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.025926589965820312 save missing photos in datou_result : time spend for datou_step_exec : 15.70534372329712 time spend to save output : 0.07151293754577637 total time spend for step 1 : 15.776856660842896 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.34user 3.54system 0:20.59elapsed 86%CPU (0avgtext+0avgdata 138024maxresident)k 2552inputs+9976outputs (12major+272268minor)pagefaults 0swaps