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 : 2308825 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 : 1122>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2308825/ 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.4879491329193115 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 May 16 05:52:29 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/1747367547_2308825_1358808797_25e3b4a11cdf8cf0984464b005773b2e.jpg resize: (1080, 1632) 1358808797 -2.6761687115971866 treat image : temp/1747367547_2308825_1358808790_08bb77dfb9d1ff830df2eb1388ac21cc.jpg resize: (1080, 1632) 1358808790 -2.62006079248643 treat image : temp/1747367547_2308825_1358808586_8c3d5fb66cac8afd72e3b004206b8dc5.jpg resize: (1080, 1632) 1358808586 -5.088870249385473 treat image : temp/1747367547_2308825_1358808551_a471dd0b9708516b712081ae8021dade.jpg resize: (1080, 1632) 1358808551 -1.5730833748403423 treat image : temp/1747367547_2308825_1358808310_8b5a7df56516ccbe76963307c58a243d.jpg resize: (1080, 1632) 1358808310 -5.643730543288064 treat image : temp/1747367547_2308825_1358808285_f7ef0ec73c4f11c900af3bfc9e51a118.jpg resize: (1080, 1632) 1358808285 -5.518103294126181 treat image : temp/1747367547_2308825_1358808228_676c6fea2db9985990f9be00ac6bad6f.jpg resize: (1080, 1632) 1358808228 -4.099071316462928 treat image : temp/1747367547_2308825_1358808150_c55cecdf5f7766617662d217e97275b7.jpg resize: (1080, 1632) 1358808150 -4.01245532632708 treat image : temp/1747367547_2308825_1358808090_43c3df52a3f11292ccfd145eb0f6b698.jpg resize: (1080, 1632) 1358808090 -2.438240979613999 treat image : temp/1747367547_2308825_1358808062_0d0404d1b2f5706c07ca94015e26e460.jpg resize: (1080, 1632) 1358808062 -5.263898224545431 treat image : temp/1747367547_2308825_1358807682_c2ac428e8f96fbcbe8bb7f3b74727045.jpg resize: (1080, 1632) 1358807682 -1.6832227041268173 treat image : temp/1747367547_2308825_1358807629_c50c97fc7f95356e8a35a5cc8d078702.jpg resize: (1080, 1632) 1358807629 -3.322906825175957 treat image : temp/1747367547_2308825_1358807577_f85882c0bb052ca2c14b5407539f7b3d.jpg resize: (1080, 1632) 1358807577 -2.0079265624862885 treat image : temp/1747367547_2308825_1358807525_0f8b50219a35002cc6956d634870a021.jpg resize: (1080, 1632) 1358807525 -3.0907367517159754 treat image : temp/1747367547_2308825_1358807263_adc66885d2f89ef11dc49fbb8befec3d.jpg resize: (1080, 1632) 1358807263 -6.368987824686549 treat image : temp/1747367547_2308825_1358807232_65bae063b3b46052532c6962918db3c6.jpg resize: (1080, 1632) 1358807232 -6.377902183880186 treat image : temp/1747367547_2308825_1358804894_d7ff7d3cde19d423009289ef6f99ce0d.jpg resize: (1080, 1632) 1358804894 -3.520272383470717 treat image : temp/1747367547_2308825_1358804891_47d13c55e2db7bae3b23623e22fcea81.jpg resize: (1080, 1632) 1358804891 -1.616948122562537 treat image : temp/1747367547_2308825_1358804888_e1a55d2f27d2801378988e8a85ce336a.jpg resize: (1080, 1632) 1358804888 -3.56805162401816 treat image : temp/1747367547_2308825_1358804884_e684860e0cad2f8efae28e82650bef3f.jpg resize: (1080, 1632) 1358804884 -6.273170570866602 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.01179957389831543 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.014057636260986328 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01587700843811035 save missing photos in datou_result : time spend for datou_step_exec : 15.879141569137573 time spend to save output : 0.04628491401672363 total time spend for step 1 : 15.925426483154297 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.55user 4.14system 0:21.09elapsed 88%CPU (0avgtext+0avgdata 139496maxresident)k 120inputs+8912outputs (1major+260715minor)pagefaults 0swaps