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 : 147203 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/147203/ 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 : 3.0564589500427246 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 Mar 26 00:32:32 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/1742945549_147203_1333438096_0741c365930199a5efce14bc7b7fab9a.jpg resize: (1080, 1632) 1333438096 5.568754547006734 treat image : temp/1742945549_147203_1333438093_1f3717c0749a6035a2ec51243c98eb70.jpg resize: (1080, 1632) 1333438093 5.051171953084904 treat image : temp/1742945549_147203_1333438088_7a426df216e7d85f8fa4310f5db58028.jpg resize: (1080, 1632) 1333438088 5.81701910324472 treat image : temp/1742945549_147203_1333437882_bb3d6f8824b49f36ebf9a17dbd0b95af.jpg resize: (1080, 1632) 1333437882 5.683737260606144 treat image : temp/1742945549_147203_1333437869_221179b04454a2885f0985568914c360.jpg resize: (1080, 1632) 1333437869 4.07920892892925 treat image : temp/1742945549_147203_1333437865_fc6399b657976012e5133ed1a302ba42.jpg resize: (1080, 1632) 1333437865 4.304492145204635 treat image : temp/1742945549_147203_1333437859_c8f3e9414c3dbbd5cb9131a08f902182.jpg resize: (1080, 1632) 1333437859 0.8372007866023663 treat image : temp/1742945549_147203_1333437855_fcbe8f211c905a66a8aafb67785812cd.jpg resize: (1080, 1632) 1333437855 0.22236592850775677 treat image : temp/1742945549_147203_1333437852_ba462ada99c0fc1f0c39c5fede9fbff6.jpg resize: (1080, 1632) 1333437852 1.6006194334479202 treat image : temp/1742945549_147203_1333437708_c2840ded6d242c5df798c0907584bea0.jpg resize: (1080, 1632) 1333437708 2.804640633702218 treat image : temp/1742945549_147203_1333437704_af5655178a8cfa3ccb3d9f326234d14a.jpg resize: (1080, 1632) 1333437704 2.470515779901907 treat image : temp/1742945549_147203_1333437700_82a4c52db0b0dab4438425ba3d3122e5.jpg resize: (1080, 1632) 1333437700 4.727716911797348 treat image : temp/1742945549_147203_1333437685_2ba669b18c140874e4d945b6ae014bbf.jpg resize: (1080, 1632) 1333437685 5.288406665234186 treat image : temp/1742945549_147203_1333437680_2adb4162eb98140037e2995b1dd9faf4.jpg resize: (1080, 1632) 1333437680 7.6361265023554665 treat image : temp/1742945549_147203_1333437675_91f42e047363f86c9acacede458d3184.jpg resize: (1080, 1632) 1333437675 6.310400137048434 treat image : temp/1742945549_147203_1333437400_33c6289cc3fe727140fe8c932ea5d848.jpg resize: (1080, 1632) 1333437400 6.316001622985616 treat image : temp/1742945549_147203_1333437362_bdcefcd00f9cbe21eafb7c4c6e26867d.jpg resize: (1080, 1632) 1333437362 5.517179142957926 treat image : temp/1742945549_147203_1333437358_c92985cd60bbf8ab82401c0d942dbfc7.jpg resize: (1080, 1632) 1333437358 7.05839846766077 treat image : temp/1742945549_147203_1333437352_020f228fa56bcf91d6aa9bb6e164d79c.jpg resize: (1080, 1632) 1333437352 10.4844783061503 treat image : temp/1742945549_147203_1333437346_91950d378d84a8f3df773d786c5c46f5.jpg resize: (1080, 1632) 1333437346 0.821400607580408 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.01462244987487793 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.014868497848510742 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01598525047302246 save missing photos in datou_result : time spend for datou_step_exec : 16.392653226852417 time spend to save output : 0.05188131332397461 total time spend for step 1 : 16.44453454017639 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.46user 4.14system 0:23.49elapsed 79%CPU (0avgtext+0avgdata 138460maxresident)k 328inputs+2616outputs (18major+258447minor)pagefaults 0swaps