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 : 359134 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 : 2533>100 please execute split_portfolio.py -i 20860610 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2618064'] with mtr_portfolio_ids : ['20860610'] and first list_photo_ids : [] new path : /proc/359134/ 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.1782846450805664 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 Thu Feb 27 17:22: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/1740673350_359134_1339950081_4b4d1ac965764942299c5292279936d8.jpg resize: (1080, 1632) 1339950081 -3.0331432841269863 treat image : temp/1740673350_359134_1339950076_ca35c6e50a302fb4196ba9bf70fd9886.jpg resize: (1080, 1632) 1339950076 -4.704064540045013 treat image : temp/1740673350_359134_1339950069_cb5cd03ae98362dc1c0e3f2406b8de91.jpg resize: (1080, 1632) 1339950069 -6.035629089055065 treat image : temp/1740673350_359134_1339950058_ce055ca36f3f6553780c48c2bec5049e.jpg resize: (1080, 1632) 1339950058 -6.459620728926192 treat image : temp/1740673350_359134_1339949914_ca0e5993dc2caa078a04edee6a98359e.jpg resize: (1080, 1632) 1339949914 -4.224223305570341 treat image : temp/1740673350_359134_1339949667_fbaf1de83f7e91215db1f3efa517fcdc.jpg resize: (1080, 1632) 1339949667 -5.91893095044246 treat image : temp/1740673350_359134_1339949286_ef726c6301af1b000b58ae9986987a2a.jpg resize: (1080, 1632) 1339949286 -4.352209006282034 treat image : temp/1740673350_359134_1339949087_53706c199201eba311898aeaa6b62b48.jpg resize: (1080, 1632) 1339949087 -5.853828250935459 treat image : temp/1740673350_359134_1339948974_100b739a8136b7463667de96c4f47874.jpg resize: (1080, 1632) 1339948974 -5.434456530407409 treat image : temp/1740673350_359134_1339948937_c43268ff40e5f3f090e72e7643ddfa8f.jpg resize: (1080, 1632) 1339948937 -6.345937527029743 treat image : temp/1740673350_359134_1339948936_c2711846c8dc2f73dc7fbe36973b1dd1.jpg resize: (1080, 1632) 1339948936 -6.2288281357081905 treat image : temp/1740673350_359134_1339948932_2bd8c6db8fc6a6775a8079ebf8c67dd7.jpg resize: (1080, 1632) 1339948932 -5.93016502012761 treat image : temp/1740673350_359134_1339948703_37f34b1e510ec05f4df16d2f3ab7b63f.jpg resize: (1080, 1632) 1339948703 -1.4957545677895792 treat image : temp/1740673350_359134_1339948691_5f08d57f57356e85aeef05b1d5ef5376.jpg resize: (1080, 1632) 1339948691 -1.5976307268586354 treat image : temp/1740673350_359134_1339948687_29cfea8121e64f1c728192c96a682060.jpg resize: (1080, 1632) 1339948687 -4.575813744439258 treat image : temp/1740673350_359134_1339948671_4b2671953882f101ea0d556885fd8fcf.jpg resize: (1080, 1632) 1339948671 -4.122969556515325 treat image : temp/1740673350_359134_1339948645_a3cb54dc56d3bc2375f288018711f5c7.jpg resize: (1080, 1632) 1339948645 -5.589560293242534 treat image : temp/1740673350_359134_1339948643_c28243451ee4fc0ec58244d818728d65.jpg resize: (1080, 1632) 1339948643 -3.0500971850469103 treat image : temp/1740673350_359134_1339948636_4ab22e759048c6d19d07d56adfca10ff.jpg resize: (1080, 1632) 1339948636 -2.298806826593593 treat image : temp/1740673350_359134_1339948627_a09d7ab97409a497527c3a684b4e8406.jpg resize: (1080, 1632) 1339948627 -3.3615769528350703 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.013671636581420898 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.012073278427124023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01510310173034668 save missing photos in datou_result : time spend for datou_step_exec : 16.36660099029541 time spend to save output : 0.04611945152282715 total time spend for step 1 : 16.412720441818237 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.22user 3.70system 0:23.15elapsed 81%CPU (0avgtext+0avgdata 138604maxresident)k 160inputs+10368outputs (13major+257393minor)pagefaults 0swaps