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 : 1889894 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 : 4062>100 please execute split_portfolio.py -i 24702204 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3248096'] with mtr_portfolio_ids : ['24702204'] and first list_photo_ids : [] new path : /proc/1889894/ 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.446302652359009 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 8 11:27: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/1751966847_1889894_1371150005_57af398cf9cd9f842a9fdca4066e04c8.jpg resize: (1080, 1632) 1371150005 -3.7415528707690373 treat image : temp/1751966847_1889894_1371150003_8f64b7ad198c06168d9f20a9f0afa5f0.jpg resize: (1080, 1632) 1371150003 -3.769812443997482 treat image : temp/1751966847_1889894_1371149992_ff1357b33c6250788c7d50b2d067f73b.jpg resize: (1080, 1632) 1371149992 -3.7364829625134868 treat image : temp/1751966847_1889894_1371149988_6e024bde41419c26bf2319db3a630805.jpg resize: (1080, 1632) 1371149988 -3.716568104956988 treat image : temp/1751966847_1889894_1371149985_1439e5640d51308d40fa772523d92633.jpg resize: (1080, 1632) 1371149985 -3.725726628711193 treat image : temp/1751966847_1889894_1371149983_3e505b058b8b70e40239991a934b3730.jpg resize: (1080, 1632) 1371149983 -3.7455459219960336 treat image : temp/1751966847_1889894_1371149980_f9e496486d3a0cb005a424766ae22035.jpg resize: (1080, 1632) 1371149980 -3.7469229526699768 treat image : temp/1751966847_1889894_1371149977_b8dd56af13eaf9537300418803923783.jpg resize: (1080, 1632) 1371149977 -3.7714152992054015 treat image : temp/1751966847_1889894_1371149964_dda2dc643a4ae97f73a520b22fb5c6a0.jpg resize: (1080, 1632) 1371149964 -3.7485733421130063 treat image : temp/1751966847_1889894_1371149960_495adc965af332e7a0f0f68d190120d0.jpg resize: (1080, 1632) 1371149960 -3.758490677748216 treat image : temp/1751966847_1889894_1371149957_39024965a302433a1eca3fee4415a379.jpg resize: (1080, 1632) 1371149957 -3.758490197087929 treat image : temp/1751966847_1889894_1371149955_f6e58559dca4d8098ae7d08010d69209.jpg resize: (1080, 1632) 1371149955 -3.7570482112290757 treat image : temp/1751966847_1889894_1371149953_9fb144e2a18235dbee221128c190a9b9.jpg resize: (1080, 1632) 1371149953 -3.744832742246065 treat image : temp/1751966847_1889894_1371149949_c35f98d05e23bf2736f2367c75907378.jpg resize: (1080, 1632) 1371149949 -3.7250572022614343 treat image : temp/1751966847_1889894_1371149938_e3e1d5044f5261b48119e32734446372.jpg resize: (1080, 1632) 1371149938 -3.84617759858614 treat image : temp/1751966847_1889894_1371149934_97c7fdccd218fb889285af5b4e80d653.jpg resize: (1080, 1632) 1371149934 -3.849884741477446 treat image : temp/1751966847_1889894_1371149931_b7adc21a27a6a498dad17530cb3caff1.jpg resize: (1080, 1632) 1371149931 -3.8496389249743515 treat image : temp/1751966847_1889894_1371149928_938febe397bb5ecce758e81afb3d98b8.jpg resize: (1080, 1632) 1371149928 -3.8530942213450303 treat image : temp/1751966847_1889894_1371149926_5d58387c36e7f4e7a5a09c85de50f450.jpg resize: (1080, 1632) 1371149926 -3.7348605419085694 treat image : temp/1751966847_1889894_1371149923_c87b7a3f27e4ddd6e4f3fb445d34e4da.jpg resize: (1080, 1632) 1371149923 -3.7495134666275947 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.01570415496826172 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.015024423599243164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014760255813598633 save missing photos in datou_result : time spend for datou_step_exec : 14.540610551834106 time spend to save output : 0.05070757865905762 total time spend for step 1 : 14.591318130493164 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.71user 3.25system 0:18.43elapsed 92%CPU (0avgtext+0avgdata 139648maxresident)k 40inputs+8048outputs (2major+259228minor)pagefaults 0swaps