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 : 359968 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 : 203>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/359968/ 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.2870311737060547 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 May 13 00: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/1747090048_359968_1357753748_a3b0eaca4482b87c626aadcf291ac83f.jpg resize: (1080, 1632) 1357753748 -2.0589962573914553 treat image : temp/1747090048_359968_1357753746_933a63f4fae7a497e2c0d88ead8d4571.jpg resize: (1080, 1632) 1357753746 -5.8474430482246325 treat image : temp/1747090048_359968_1357753744_d5ac7fcd815df3bc7afa639806ecd42c.jpg resize: (1080, 1632) 1357753744 -5.203227671379957 treat image : temp/1747090048_359968_1357753741_90b4da12e83e72aeaf23bfbb42e644aa.jpg resize: (1080, 1632) 1357753741 -5.426452377467362 treat image : temp/1747090048_359968_1357753707_3db09b950a194bac3a3c873f078d0186.jpg resize: (1080, 1632) 1357753707 -6.148493826675362 treat image : temp/1747090048_359968_1357753681_ca0306183223af5f4ac628975faf45bc.jpg resize: (1080, 1632) 1357753681 -3.8942898067515537 treat image : temp/1747090048_359968_1357753657_9820977a5b66ee901737dca3464a4684.jpg resize: (1080, 1632) 1357753657 -6.020841543786118 treat image : temp/1747090048_359968_1357753629_34be66c761d238a7447a748e6d170f58.jpg resize: (1080, 1632) 1357753629 -3.209790981332464 treat image : temp/1747090048_359968_1357753569_e642a139df7eccb8194bfc28c91a6012.jpg resize: (1080, 1632) 1357753569 -5.840832406168161 treat image : temp/1747090048_359968_1357753550_b04e987dc4143363ac4742159e93dcd9.jpg resize: (1080, 1632) 1357753550 -3.3691831815586584 treat image : temp/1747090048_359968_1357753547_0a567273c01b9b541cf6d725f61c86b3.jpg resize: (1080, 1632) 1357753547 -5.9148956458059745 treat image : temp/1747090048_359968_1357753544_39f99dc64018c1bb0a7486a70e0bd827.jpg resize: (1080, 1632) 1357753544 -6.119186152724096 treat image : temp/1747090048_359968_1357753524_7d0c45e542424fdea2d0c0979c5dac59.jpg resize: (1080, 1632) 1357753524 -6.055505262867122 treat image : temp/1747090048_359968_1357753394_b17a3c05345fb6f67e531cd36709c53b.jpg resize: (1080, 1632) 1357753394 -1.7738852558708946 treat image : temp/1747090048_359968_1357753366_76d89b1edb8b00282945dcb9a96d7785.jpg resize: (1080, 1632) 1357753366 -3.1996920095625407 treat image : temp/1747090048_359968_1357753336_7211fc26ca79314c9270750adc45caa7.jpg resize: (1080, 1632) 1357753336 -5.70565687787764 treat image : temp/1747090048_359968_1357753328_f555798a715c60ce3b50490118a97e01.jpg resize: (1080, 1632) 1357753328 -1.9253837608927853 treat image : temp/1747090048_359968_1357753324_a8763954d84434b54ccf402668b98d2b.jpg resize: (1080, 1632) 1357753324 -5.83154035963141 treat image : temp/1747090048_359968_1357753307_9c723fda13c4fb08d146b8b650f15a51.jpg resize: (1080, 1632) 1357753307 -5.649878604494687 treat image : temp/1747090048_359968_1357753279_ced0c14186318ee0d1a07a654d6832f6.jpg resize: (1080, 1632) 1357753279 -3.0237848862379235 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.013531923294067383 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.015009641647338867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01906442642211914 save missing photos in datou_result : time spend for datou_step_exec : 16.360771894454956 time spend to save output : 0.053031206130981445 total time spend for step 1 : 16.413803100585938 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 4.54system 0:22.20elapsed 84%CPU (0avgtext+0avgdata 138248maxresident)k 1896inputs+10064outputs (18major+257649minor)pagefaults 0swaps