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 : 1021026 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 : 1441>100 please execute split_portfolio.py -i 20166663 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2538794'] with mtr_portfolio_ids : ['20166663'] and first list_photo_ids : [] new path : /proc/1021026/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.9805941581726074 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 Mon Feb 3 18:07: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/1738602448_1021026_1334280817_2df69d095c09c111c33e1e721d3d4672.jpg resize: (1080, 1632) 1334280817 -6.234647364307558 treat image : temp/1738602448_1021026_1334280790_b54cdb49d00888f9ed33e66aadd41a7c.jpg resize: (1080, 1632) 1334280790 -5.748783973399734 treat image : temp/1738602448_1021026_1334280788_a13da40bcdcf7ed6a11f8eb376d49092.jpg resize: (1080, 1632) 1334280788 -6.360743728460214 treat image : temp/1738602448_1021026_1334280753_1bdc710a40612c53bd61110b4a548dd3.jpg resize: (1080, 1632) 1334280753 -6.248433209842496 treat image : temp/1738602448_1021026_1334280737_0a41702776a19be6a20bb2ba75e1119b.jpg resize: (1080, 1632) 1334280737 -5.96483314707324 treat image : temp/1738602448_1021026_1334280734_c67ae84a928024b51671ce77f395d059.jpg resize: (1080, 1632) 1334280734 -6.440442645135532 treat image : temp/1738602448_1021026_1334280506_df49af0e91dbed4272d6a18b0d86851d.jpg resize: (1080, 1632) 1334280506 -5.963408656597591 treat image : temp/1738602448_1021026_1334280461_62a3ba30cac5fb8de0177aa6de644915.jpg resize: (1080, 1632) 1334280461 -4.681248617481993 treat image : temp/1738602448_1021026_1334280349_1323d5783a6eeead9511bdde85f558a3.jpg resize: (1080, 1632) 1334280349 -6.012583082340632 treat image : temp/1738602448_1021026_1334279735_e40b536be40e865cb13a05c3b42a96cd.jpg resize: (1080, 1632) 1334279735 -5.891274248846226 treat image : temp/1738602448_1021026_1334279730_a881cceadfa90032d18f57f693412e67.jpg resize: (1080, 1632) 1334279730 -5.255854380845218 treat image : temp/1738602448_1021026_1334279725_0b14984849ebfd1d0ad455eae9683a9e.jpg resize: (1080, 1632) 1334279725 -5.592931354379546 treat image : temp/1738602448_1021026_1334279722_e57da20e92c6b560172408c9d9869664.jpg resize: (1080, 1632) 1334279722 -5.520215284081744 treat image : temp/1738602448_1021026_1334279700_3d9cb99070eae772311ad4afabc13c82.jpg resize: (1080, 1632) 1334279700 -2.5272410299058494 treat image : temp/1738602448_1021026_1334279696_51c759a9fdc36584c89385918a6b9572.jpg resize: (1080, 1632) 1334279696 -1.5786499483490397 treat image : temp/1738602448_1021026_1334279693_69fd3482f0da39c6dcc0bef89de9ed28.jpg resize: (1080, 1632) 1334279693 -4.450340532142185 treat image : temp/1738602448_1021026_1334279691_14c836f8da5de42c3071de8c34d276c1.jpg resize: (1080, 1632) 1334279691 -3.032794904194397 treat image : temp/1738602448_1021026_1334279689_caec67f8fd7c2280131c1aa0ad1dc3b9.jpg resize: (1080, 1632) 1334279689 -6.323751417644411 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 : 18 time used for this insertion : 0.012919187545776367 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012042522430419922 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014768838882446289 save missing photos in datou_result : time spend for datou_step_exec : 14.312513828277588 time spend to save output : 0.04540085792541504 total time spend for step 1 : 14.357914686203003 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.70user 4.00system 0:19.56elapsed 85%CPU (0avgtext+0avgdata 138472maxresident)k 2856inputs+9752outputs (16major+157315minor)pagefaults 0swaps