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 : 3860360 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 : 276>100 please execute split_portfolio.py -i 25155834 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3316381'] with mtr_portfolio_ids : ['25155834'] and first list_photo_ids : [] new path : /proc/3860360/ 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 : 3.2197136878967285 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 Tue Jul 22 02:47: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/1753145247_3860360_1373091018_58681f50cf2361eeae5fd4482e8e6337.jpg resize: (1080, 1632) 1373091018 -2.18778763877429 treat image : temp/1753145247_3860360_1373091017_55f2c756adda69199f94891a397e1960.jpg resize: (1080, 1632) 1373091017 -3.368865808745479 treat image : temp/1753145247_3860360_1373091016_d8d0803367b78855830be88a51b38317.jpg resize: (1080, 1632) 1373091016 -3.3418399121468814 treat image : temp/1753145247_3860360_1373091014_948a88fcc35865649856df2e66376ebd.jpg resize: (1080, 1632) 1373091014 -3.0554663039786765 treat image : temp/1753145247_3860360_1373091013_ab6404fef44ec854e1afedb06b9042cc.jpg resize: (1080, 1632) 1373091013 -4.218311048915941 treat image : temp/1753145247_3860360_1373091009_65061821ec70e8a74b24613ca6a9e9c7.jpg resize: (1080, 1632) 1373091009 -4.336132775435018 treat image : temp/1753145247_3860360_1373090989_64a74619f0916fcd476442ecba3f4a21.jpg resize: (1080, 1632) 1373090989 -5.034744904718203 treat image : temp/1753145247_3860360_1373090987_7b2920ffee85192d4c9db09cd1d5b31c.jpg resize: (1080, 1632) 1373090987 -2.1363935169872583 treat image : temp/1753145247_3860360_1373090984_d3626aeda0a2f33ec5085ff954f61d4e.jpg resize: (1080, 1632) 1373090984 -3.3031794323777586 treat image : temp/1753145247_3860360_1373090982_f62b9d4bb9ea628e1915b52ba2d93446.jpg resize: (1080, 1632) 1373090982 -3.270616579285014 treat image : temp/1753145247_3860360_1373090968_d935cb3159702926af06e367dded5db9.jpg resize: (1080, 1632) 1373090968 -3.255555097933157 treat image : temp/1753145247_3860360_1373090961_204b06a72dea28ad629e54f1b9e65190.jpg resize: (1080, 1632) 1373090961 -2.202505593731856 treat image : temp/1753145247_3860360_1373090950_9c6de7d1891d39982563105fcc608ecc.jpg resize: (1080, 1632) 1373090950 -5.31463818768186 treat image : temp/1753145247_3860360_1373090947_4444def00875a20b3c5b6caf6ba84822.jpg resize: (1080, 1632) 1373090947 -5.314933906742022 treat image : temp/1753145247_3860360_1373090942_c80963ab48e06d53edfbd2ea5dfda0fa.jpg resize: (1080, 1632) 1373090942 -5.818858480676746 treat image : temp/1753145247_3860360_1373090938_6eeb89bd7f2c729b2c1e3acb27922755.jpg resize: (1080, 1632) 1373090938 -5.823194117055831 treat image : temp/1753145247_3860360_1373090934_b44149a7214c518d1f0077442c5a4ce2.jpg resize: (1080, 1632) 1373090934 -5.707969832810816 treat image : temp/1753145247_3860360_1373090932_e8f7490b2a20a46665870970e0056560.jpg resize: (1080, 1632) 1373090932 -5.3775890341803345 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.012942075729370117 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.011806726455688477 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.013931751251220703 save missing photos in datou_result : time spend for datou_step_exec : 13.42051362991333 time spend to save output : 0.0435943603515625 total time spend for step 1 : 13.464107990264893 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.53user 3.95system 0:19.67elapsed 83%CPU (0avgtext+0avgdata 140016maxresident)k 0inputs+7792outputs (31major+231697minor)pagefaults 0swaps