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 : 2453870 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 : 1550>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/2453870/ 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.2595834732055664 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 May 21 11:52: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/1747821148_2453870_1360008800_0f24928ef9702754103b7e584b98d519.jpg resize: (1080, 1632) 1360008800 -6.194152728745108 treat image : temp/1747821148_2453870_1360008444_143dcf4115868026722648416f049257.jpg resize: (1080, 1632) 1360008444 -6.182142084670495 treat image : temp/1747821148_2453870_1360008409_f32c00d01a5194062e8ca2631d96d717.jpg resize: (1080, 1632) 1360008409 -5.6393739733955695 treat image : temp/1747821148_2453870_1360008403_ba6e710b833d4717cd9da32fe35841e4.jpg resize: (1080, 1632) 1360008403 -4.054756033307956 treat image : temp/1747821148_2453870_1360008373_6404aae506f90f56ad158d9de717670a.jpg resize: (1080, 1632) 1360008373 -4.1075406747911645 treat image : temp/1747821148_2453870_1360008368_522f8873ea149415d97df3ab447e7321.jpg resize: (1080, 1632) 1360008368 -1.0209741968339892 treat image : temp/1747821148_2453870_1360008362_47ada83f9d63108abfe129e947709100.jpg resize: (1080, 1632) 1360008362 -2.93052507382507 treat image : temp/1747821148_2453870_1360008359_3d998ba9981935d00bb5ecbff17954eb.jpg resize: (1080, 1632) 1360008359 -4.616787040651861 treat image : temp/1747821148_2453870_1360008329_21d347a63230d9c6d1b731c20fd51d51.jpg resize: (1080, 1632) 1360008329 -3.620343612476796 treat image : temp/1747821148_2453870_1360008326_ab68114fe5ed4f5790b4b9c58adc4ef3.jpg resize: (1080, 1632) 1360008326 -5.943287696655545 treat image : temp/1747821148_2453870_1360008322_981ad861b0face6a70fad9e43cd467ae.jpg resize: (1080, 1632) 1360008322 -4.976257097927704 treat image : temp/1747821148_2453870_1360008318_cc5aad22bc3e66b7bb0fbb337d5f9ca1.jpg resize: (1080, 1632) 1360008318 -6.315616021825867 treat image : temp/1747821148_2453870_1360008313_80307d64ada8fae6fdc8332003494070.jpg resize: (1080, 1632) 1360008313 -5.753284579823073 treat image : temp/1747821148_2453870_1360008310_89ba8f953bc91fa7cd5a7dde68503bf6.jpg resize: (1080, 1632) 1360008310 -2.604856673676836 treat image : temp/1747821148_2453870_1360008284_fc2227c934956078ea9622c53688224a.jpg resize: (1080, 1632) 1360008284 -1.2652573541059267 treat image : temp/1747821148_2453870_1360008278_9673d2e2329749176acb203976d8bb46.jpg resize: (1080, 1632) 1360008278 -5.112533978055786 treat image : temp/1747821148_2453870_1360008268_1c83e03dbbbe36b047095eda7a4cfbdf.jpg resize: (1080, 1632) 1360008268 -3.9954809843127514 treat image : temp/1747821148_2453870_1360008252_22894ed1feccb22ddddbd731cae122a2.jpg resize: (1080, 1632) 1360008252 -5.894849273873782 treat image : temp/1747821148_2453870_1360008247_ece58f0e56d7bf557c35f762092c9cba.jpg resize: (1080, 1632) 1360008247 -5.937580618322542 treat image : temp/1747821148_2453870_1360008241_7d319a47966c2139c91b17de286b5932.jpg resize: (1080, 1632) 1360008241 -5.803419750834566 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.020122528076171875 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.02066326141357422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020922422409057617 save missing photos in datou_result : time spend for datou_step_exec : 18.06765389442444 time spend to save output : 0.06714415550231934 total time spend for step 1 : 18.134798049926758 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.00user 5.42system 0:22.82elapsed 89%CPU (0avgtext+0avgdata 137664maxresident)k 80inputs+10192outputs (11major+257253minor)pagefaults 0swaps