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 : 3237335 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 : 5506>100 please execute split_portfolio.py -i 26769748 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3700792'] with mtr_portfolio_ids : ['26769748'] and first list_photo_ids : [] new path : /proc/3237335/ 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 : 3.518737554550171 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 Sep 16 17:12:31 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/1758035548_3237335_1383563962_a2c503985a4654c59de0556115273ad4.jpg resize: (1080, 1632) 1383563962 -5.176790914010446 treat image : temp/1758035548_3237335_1383563960_cfb50d9a53af8fb4faf5eb8eb58b153d.jpg resize: (1080, 1632) 1383563960 -5.41692781435425 treat image : temp/1758035548_3237335_1383563941_d87ab765debc740a2df0c7040403d024.jpg resize: (1080, 1632) 1383563941 -4.491655480508047 treat image : temp/1758035548_3237335_1383563937_76bdd76258d4bfca4e9aa201c8d620e1.jpg resize: (1080, 1632) 1383563937 -5.959756282168794 treat image : temp/1758035548_3237335_1383563933_cf169e5dce0533ea2ffbf3bbdc57ab81.jpg resize: (1080, 1632) 1383563933 -4.688247991928245 treat image : temp/1758035548_3237335_1383563929_015433b0e5111a88a8b0d98dae444ce4.jpg resize: (1080, 1632) 1383563929 -6.115561690365228 treat image : temp/1758035548_3237335_1383563927_53816ff4d850d55022075443aedcff5f.jpg resize: (1080, 1632) 1383563927 -5.543407383975947 treat image : temp/1758035548_3237335_1383563926_41ca0c6ab3e8bb97f9813cbca18a8244.jpg resize: (1080, 1632) 1383563926 -4.807973191503634 treat image : temp/1758035548_3237335_1383563910_ff61c5e693780e83aeb03a89364daba7.jpg resize: (1080, 1632) 1383563910 -5.262992977634489 treat image : temp/1758035548_3237335_1383563907_52ececc279434176a5a0eea8606bd057.jpg resize: (1080, 1632) 1383563907 -5.9991871384386135 treat image : temp/1758035548_3237335_1383563903_490d6a903d07f4c38c671da60e212027.jpg resize: (1080, 1632) 1383563903 -1.5886091625441896 treat image : temp/1758035548_3237335_1383563895_4d7f5fa60f5b9e05d0d04b48e39c9833.jpg resize: (1080, 1632) 1383563895 -1.1493328738981512 treat image : temp/1758035548_3237335_1383563891_3b6ee11a9ac2d56caa9ceba3473510d2.jpg resize: (1080, 1632) 1383563891 -4.168589492988618 treat image : temp/1758035548_3237335_1383563890_4d2c8ec42ae049cbac902a39b0a96417.jpg resize: (1080, 1632) 1383563890 -6.066948819940038 treat image : temp/1758035548_3237335_1383563889_3be9fda663a2822dc87fb88403f62a19.jpg resize: (1080, 1632) 1383563889 -5.486938401924021 treat image : temp/1758035548_3237335_1383563862_325df235bef2d9e5f91ce90b1a3dfe53.jpg resize: (1080, 1632) 1383563862 -6.195769736732748 treat image : temp/1758035548_3237335_1383563854_5eec0fa51fc3636d26062abaf35f22bd.jpg resize: (1080, 1632) 1383563854 -3.566712097065334 treat image : temp/1758035548_3237335_1383563839_84ff5c4075e27c3449e83e2cef950ad8.jpg resize: (1080, 1632) 1383563839 -4.249591037170223 treat image : temp/1758035548_3237335_1383563815_2ec15648fe14520f22946a913a644e0e.jpg resize: (1080, 1632) 1383563815 -5.95084603685202 treat image : temp/1758035548_3237335_1383563813_9bd08b67cf5aada14bc31e46e3046e78.jpg resize: (1080, 1632) 1383563813 -5.763459487002661 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.014834403991699219 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.014933347702026367 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014904975891113281 save missing photos in datou_result : time spend for datou_step_exec : 15.977842092514038 time spend to save output : 0.049179792404174805 total time spend for step 1 : 16.027021884918213 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.35user 4.25system 0:22.22elapsed 83%CPU (0avgtext+0avgdata 138136maxresident)k 336inputs+10552outputs (6major+258921minor)pagefaults 0swaps