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 : 4028393 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 : 4932>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/4028393/ 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.1113016605377197 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 9 21: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/1752088948_4028393_1371431528_f8ea85d27afba235905ad1ea780ca7d1.jpg resize: (1080, 1632) 1371431528 -2.6525717060677154 treat image : temp/1752088948_4028393_1371431526_1e6002948aafc1c53166a11aa3a777ed.jpg resize: (1080, 1632) 1371431526 -2.6542921476492576 treat image : temp/1752088948_4028393_1371431525_ef6b45a5d117db54ccb7e8c655f205fb.jpg resize: (1080, 1632) 1371431525 -2.641043252812571 treat image : temp/1752088948_4028393_1371431524_c01c1d5fade8572631a7406de115f3d1.jpg resize: (1080, 1632) 1371431524 -2.5998735306368563 treat image : temp/1752088948_4028393_1371431521_ac0cad338507b41a0b1a9c78d73b4302.jpg resize: (1080, 1632) 1371431521 -2.6015633628567114 treat image : temp/1752088948_4028393_1371431518_b2b0e224c1f330c069decb5f0ed03cce.jpg resize: (1080, 1632) 1371431518 -2.5726716256875446 treat image : temp/1752088948_4028393_1371431512_85fec804d472c4e06c015a4e4994a4d0.jpg resize: (1080, 1632) 1371431512 -2.1794241578156393 treat image : temp/1752088948_4028393_1371431509_0fefe11a1919414bc46a4f76d245d3d3.jpg resize: (1080, 1632) 1371431509 -1.5925026804150604 treat image : temp/1752088948_4028393_1371431508_aed2f7d3baa6ca12ce9772b51fff0635.jpg resize: (1080, 1632) 1371431508 -2.622222421617716 treat image : temp/1752088948_4028393_1371431507_5e6fc501fd611b058faeb3a05f2ab2db.jpg resize: (1080, 1632) 1371431507 -2.6395540074110557 treat image : temp/1752088948_4028393_1371431506_26346d0d9f8ce4d5ab6ee8c4753b7e89.jpg resize: (1080, 1632) 1371431506 -2.2756735450753194 treat image : temp/1752088948_4028393_1371431504_2afeb9ccf128112cda17cdad40f804a2.jpg resize: (1080, 1632) 1371431504 -3.0544593475441735 treat image : temp/1752088948_4028393_1371431376_9ad5d7a19aa5438d8c89278ea0ff7dc6.jpg resize: (1080, 1632) 1371431376 -2.7612508351418112 treat image : temp/1752088948_4028393_1371431375_3f3bf7865e295ba3ed7c23e87b1c594e.jpg resize: (1080, 1632) 1371431375 -2.7348622846332833 treat image : temp/1752088948_4028393_1371431374_ea7b070701241bc00ac750065fa14c17.jpg resize: (1080, 1632) 1371431374 -2.750518208052235 treat image : temp/1752088948_4028393_1371431372_863f13744156e0e429dfde4fb84d68b0.jpg resize: (1080, 1632) 1371431372 -1.4223621812553895 treat image : temp/1752088948_4028393_1371431370_39e8987727ed19edb8d1c6bfd06624cc.jpg resize: (1080, 1632) 1371431370 -1.450064224952597 treat image : temp/1752088948_4028393_1371431367_1081d24aba2439f787ed60ca933663cf.jpg resize: (1080, 1632) 1371431367 -4.677044161601706 treat image : temp/1752088948_4028393_1371431280_f7a89f227e4d20cda7f1dcc0a2712a74.jpg resize: (1080, 1632) 1371431280 -5.336424153402638 treat image : temp/1752088948_4028393_1371431279_a7c2fd27655e5c61a4bbc7d53841ee0b.jpg resize: (1080, 1632) 1371431279 -5.368453846502778 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.013677835464477539 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.011956214904785156 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013942718505859375 save missing photos in datou_result : time spend for datou_step_exec : 13.275727272033691 time spend to save output : 0.04460859298706055 total time spend for step 1 : 13.320335865020752 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.00user 2.07system 0:18.61elapsed 86%CPU (0avgtext+0avgdata 139252maxresident)k 0inputs+7088outputs (5major+118267minor)pagefaults 0swaps