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 : 1027297 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 : 3732>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/1027297/ 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.1815598011016846 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 Feb 5 21:52:29 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/1738788747_1027297_1335028822_b49908890bc5f37951f01b7038d1cc4e.jpg resize: (1080, 1632) 1335028822 -2.0251280352482395 treat image : temp/1738788747_1027297_1335028818_3fdda8ebe8c5ae71021972f43be2ee1d.jpg resize: (1080, 1632) 1335028818 -2.3452876049944 treat image : temp/1738788747_1027297_1335028814_33a7675e7a9e6d0a8b4313e766fb6dab.jpg resize: (1080, 1632) 1335028814 -2.9049553106414447 treat image : temp/1738788747_1027297_1335028807_b28bd377e5934a5e7ed525c464151148.jpg resize: (1080, 1632) 1335028807 -6.215879316712214 treat image : temp/1738788747_1027297_1335028767_06cc7659bf92c15526232eac839c10f1.jpg resize: (1080, 1632) 1335028767 -5.901564479788975 treat image : temp/1738788747_1027297_1335028766_aa9ea84541c314ffaec9d1defbda7a05.jpg resize: (1080, 1632) 1335028766 -6.154826182307943 treat image : temp/1738788747_1027297_1335028764_6955424c73fbca71aa2d258e2ac99481.jpg resize: (1080, 1632) 1335028764 -5.713726925174103 treat image : temp/1738788747_1027297_1335028763_dd54f4c6380ea5d5ef4f69fd08912e45.jpg resize: (1080, 1632) 1335028763 -5.992040378935712 treat image : temp/1738788747_1027297_1335028739_15f3d33c696dac657385dc5477165a01.jpg resize: (1080, 1632) 1335028739 -4.162763458371466 treat image : temp/1738788747_1027297_1335028735_3ef658df5c976e2589b45f911ddd26c1.jpg resize: (1080, 1632) 1335028735 -4.706748745624372 treat image : temp/1738788747_1027297_1335028731_2d32780dabb0797a524b320d33bc467c.jpg resize: (1080, 1632) 1335028731 -6.391358000164979 treat image : temp/1738788747_1027297_1335028730_997c71ef92613b24ee0b81a76efcaaa6.jpg resize: (1080, 1632) 1335028730 -6.401443429652427 treat image : temp/1738788747_1027297_1335028727_24e9cf784e8615aaa346e152b22ea1d0.jpg resize: (1080, 1632) 1335028727 -5.70475269558786 treat image : temp/1738788747_1027297_1335028722_d29cc246f62bc54314b926489ca66f1c.jpg resize: (1080, 1632) 1335028722 -6.169236918485316 treat image : temp/1738788747_1027297_1335028678_c6229e59c9087068298cfe5f82b1d962.jpg resize: (1080, 1632) 1335028678 -6.474364856317712 treat image : temp/1738788747_1027297_1335028674_a489104526652c8c55c7f326adf4add7.jpg resize: (1080, 1632) 1335028674 -6.011557184395355 treat image : temp/1738788747_1027297_1335028671_3b7c671fb7310501abd9f0f12658ef13.jpg resize: (1080, 1632) 1335028671 -1.8030645311342295 treat image : temp/1738788747_1027297_1335028668_853c471435a58d36209da26264c95084.jpg resize: (1080, 1632) 1335028668 -3.011175654049917 treat image : temp/1738788747_1027297_1335028642_6b5f541bb350adece6969e829cc254ba.jpg resize: (1080, 1632) 1335028642 -5.715463298063583 treat image : temp/1738788747_1027297_1335028614_03f98e27be3a645b1b39d1793a05fa44.jpg resize: (1080, 1632) 1335028614 -3.714127999821042 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.01691913604736328 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.014389991760253906 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015893220901489258 save missing photos in datou_result : time spend for datou_step_exec : 13.65468430519104 time spend to save output : 0.05203056335449219 total time spend for step 1 : 13.706714868545532 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.75user 1.43system 0:18.80elapsed 86%CPU (0avgtext+0avgdata 141020maxresident)k 104inputs+10568outputs (22major+124820minor)pagefaults 0swaps