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 : 78996 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 : 7190>100 please execute split_portfolio.py -i 25430353 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3381100'] with mtr_portfolio_ids : ['25430353'] and first list_photo_ids : [] new path : /proc/78996/ 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.626569986343384 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 Fri Aug 1 03: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/1754013147_78996_1374705804_1eb4d25a7b9c1880d94736938d6a8328.jpg resize: (1080, 1632) 1374705804 -2.65343232968647 treat image : temp/1754013147_78996_1374705800_0f931eedb8ee00c5199e7a14b3eb9875.jpg resize: (1080, 1632) 1374705800 -2.8766132394354056 treat image : temp/1754013147_78996_1374705797_1ce6eacb14b16c334a5b177c0a1e1808.jpg resize: (1080, 1632) 1374705797 -3.952207662934435 treat image : temp/1754013147_78996_1374705795_73b9848a2cca2a19bdbef592a51bf6e2.jpg resize: (1080, 1632) 1374705795 -4.918867471716473 treat image : temp/1754013147_78996_1374705793_33a62100a6efb2c9402a098401278d1b.jpg resize: (1080, 1632) 1374705793 -3.387163702289432 treat image : temp/1754013147_78996_1374705791_0960d87d2039b86d72e316f1258d7726.jpg resize: (1080, 1632) 1374705791 -5.031482443021445 treat image : temp/1754013147_78996_1374705788_a331cf94442b3e9d12b927e1ecbeeb50.jpg resize: (1080, 1632) 1374705788 -5.078474721597371 treat image : temp/1754013147_78996_1374705786_44ef6dfedc36c09095c2300da367a58b.jpg resize: (1080, 1632) 1374705786 -3.4688195719653647 treat image : temp/1754013147_78996_1374705783_26daf568bb8b55478272704437e03430.jpg resize: (1080, 1632) 1374705783 -5.249746219618922 treat image : temp/1754013147_78996_1374705780_a370d5d8f563f1521711859b8d891a1b.jpg resize: (1080, 1632) 1374705780 -5.604825527658624 treat image : temp/1754013147_78996_1374705776_eacc9ceed068780f62c1739a51536ccc.jpg resize: (1080, 1632) 1374705776 -5.441552984276215 treat image : temp/1754013147_78996_1374705772_7351b0a9eca40c5dd589a860733f47be.jpg resize: (1080, 1632) 1374705772 -3.3263456155172153 treat image : temp/1754013147_78996_1374705766_9096b5b91d282ec4563437d50cd3e3c2.jpg resize: (1080, 1632) 1374705766 -3.615539970632207 treat image : temp/1754013147_78996_1374705765_8ea6763808011512ad34fbaf25166141.jpg resize: (1080, 1632) 1374705765 -1.9736770438855449 treat image : temp/1754013147_78996_1374705764_2e1ec8acb9f523881c6e6d3638a1d65c.jpg resize: (1080, 1632) 1374705764 -2.1308617545286683 treat image : temp/1754013147_78996_1374705763_421871005f00e8e65e4f080b5238b8b8.jpg resize: (1080, 1632) 1374705763 -4.593965902285279 treat image : temp/1754013147_78996_1374705762_e9eb4ba20892e3f626d46bcba290bd44.jpg resize: (1080, 1632) 1374705762 -4.392216559156805 treat image : temp/1754013147_78996_1374705758_1ece947e2eca1d4b8019f166c858a463.jpg resize: (1080, 1632) 1374705758 -5.329388172220288 treat image : temp/1754013147_78996_1374705751_d5d8652db3f43b43e4de56d402c6d69e.jpg resize: (1080, 1632) 1374705751 -5.8559905122863 treat image : temp/1754013147_78996_1374705749_f43e0b920abb0144e9d34d650cf2730d.jpg resize: (1080, 1632) 1374705749 -5.993201706334804 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.01201629638671875 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.016725778579711914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02317667007446289 save missing photos in datou_result : time spend for datou_step_exec : 16.70753502845764 time spend to save output : 0.056916236877441406 total time spend for step 1 : 16.764451265335083 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 4.71system 0:21.02elapsed 91%CPU (0avgtext+0avgdata 139412maxresident)k 120inputs+9640outputs (8major+262543minor)pagefaults 0swaps