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 : 2575741 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 : 2587>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/2575741/ 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.1601037979125977 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 Wed Apr 2 17:52:33 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/1743609149_2575741_1349490036_12fd402907d1969234f737a193c1bac1.jpg resize: (1080, 1632) 1349490036 -5.532977344930337 treat image : temp/1743609149_2575741_1349490033_66cb65e4624afe3042e8475ae59d8728.jpg resize: (1080, 1632) 1349490033 -6.368285863182021 treat image : temp/1743609149_2575741_1349490028_ac8e4e3899e189b00a4111248e87dc6e.jpg resize: (1080, 1632) 1349490028 -6.066255970070335 treat image : temp/1743609149_2575741_1349490024_cbf5740a05f394509f9f2cfff77b9860.jpg resize: (1080, 1632) 1349490024 -6.123026427955575 treat image : temp/1743609149_2575741_1349489987_3e060b87f430740899e07895cee51f0d.jpg resize: (1080, 1632) 1349489987 -5.466570435553008 treat image : temp/1743609149_2575741_1349489981_627221c38008c3ba6510a9db3f6e0e96.jpg resize: (1080, 1632) 1349489981 -5.74359070480562 treat image : temp/1743609149_2575741_1349489976_0f0ed21da6281c0b27611f87bdb09477.jpg resize: (1080, 1632) 1349489976 -3.9371675952415166 treat image : temp/1743609149_2575741_1349489945_7b5dc7c6fca307378c8ed22649d4e0c6.jpg resize: (1080, 1632) 1349489945 -5.78727519481601 treat image : temp/1743609149_2575741_1349489940_f6a648c731d6523e0be23d49899094de.jpg resize: (1080, 1632) 1349489940 -5.9192624893655585 treat image : temp/1743609149_2575741_1349489935_8be5c5a988ede799e59185724b2db857.jpg resize: (1080, 1632) 1349489935 -6.4190760259779465 treat image : temp/1743609149_2575741_1349489931_4dae8f26e4f8cb69c728592f0ebeca32.jpg resize: (1080, 1632) 1349489931 -5.816688080411457 treat image : temp/1743609149_2575741_1349489927_6a2f0bae3ddfbc0c69d91ddbfffc54ee.jpg resize: (1080, 1632) 1349489927 -5.854731175095339 treat image : temp/1743609149_2575741_1349489922_3a0db77d5d040a24da9cbb7530cb690d.jpg resize: (1080, 1632) 1349489922 -5.738473985890156 treat image : temp/1743609149_2575741_1349489880_1fbc4d1f243ff6d34359ac893ff92036.jpg resize: (1080, 1632) 1349489880 -1.6406163989343578 treat image : temp/1743609149_2575741_1349489874_6ae7344515c18937063f1ceaaa2183b6.jpg resize: (1080, 1632) 1349489874 -4.8003071424094825 treat image : temp/1743609149_2575741_1349489870_f5f14fa54e7ae2553f15995b544011c4.jpg resize: (1080, 1632) 1349489870 -3.975151928585356 treat image : temp/1743609149_2575741_1349489841_e234d55454681330af005190949803c9.jpg resize: (1080, 1632) 1349489841 -5.219071737302971 treat image : temp/1743609149_2575741_1349489835_9fcc3e1b05a5f62023ae60c3587635a6.jpg resize: (1080, 1632) 1349489835 -6.502330387133053 treat image : temp/1743609149_2575741_1349489827_5f1fc83cd7a4c2f029dc97a74189deb7.jpg resize: (1080, 1632) 1349489827 -6.154336806524847 treat image : temp/1743609149_2575741_1349489824_ca85ef79cc4fbbd859f7eef2d74a1144.jpg resize: (1080, 1632) 1349489824 -5.447265982630328 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.01329350471496582 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.015872716903686523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.023958921432495117 save missing photos in datou_result : time spend for datou_step_exec : 15.646979331970215 time spend to save output : 0.05887293815612793 total time spend for step 1 : 15.705852270126343 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.95user 3.23system 0:23.33elapsed 77%CPU (0avgtext+0avgdata 137452maxresident)k 96inputs+11056outputs (12major+248591minor)pagefaults 0swaps