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 : 2728936 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 : 2014>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/2728936/ 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.1324563026428223 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 Mon May 12 15:27: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/1747056448_2728936_1357646836_8f00149dd7e88313f22c68ba56c458d5.jpg resize: (1080, 1632) 1357646836 -2.8024565180694103 treat image : temp/1747056448_2728936_1357646833_177f98fbad85daed658182eeb470502d.jpg resize: (1080, 1632) 1357646833 -5.882864253604826 treat image : temp/1747056448_2728936_1357646829_13e17cf524dd93403d7b6deeace11325.jpg resize: (1080, 1632) 1357646829 -4.779937981964695 treat image : temp/1747056448_2728936_1357646826_4e1d2df3d4486121ea80f2209d07f581.jpg resize: (1080, 1632) 1357646826 -5.795941771402238 treat image : temp/1747056448_2728936_1357646823_8874ee413edc0d767ae2c05605cf29c4.jpg resize: (1080, 1632) 1357646823 -1.6682293499007386 treat image : temp/1747056448_2728936_1357646789_402bcfe61de63bc4bfa43a2de089f9fc.jpg resize: (1080, 1632) 1357646789 -1.4800037157512385 treat image : temp/1747056448_2728936_1357646786_bf6422af6c44871a34e0d80230c0b046.jpg resize: (1080, 1632) 1357646786 -0.15507343276834262 treat image : temp/1747056448_2728936_1357646781_c401fd7e28c7f3852b9a7ec28c760bd9.jpg resize: (1080, 1632) 1357646781 -3.321913946918342 treat image : temp/1747056448_2728936_1357646777_e1bb69980c9ab8c3fcbee55dd6fa3b42.jpg resize: (1080, 1632) 1357646777 -3.4074196943377504 treat image : temp/1747056448_2728936_1357646773_e587ffa43d0105a501b6cebce8cb1920.jpg resize: (1080, 1632) 1357646773 -4.0589809446203695 treat image : temp/1747056448_2728936_1357646740_3a864e6d38eba818090729d69d3cb041.jpg resize: (1080, 1632) 1357646740 -4.943607242086753 treat image : temp/1747056448_2728936_1357646736_cce3851c54994a2192693c2344482877.jpg resize: (1080, 1632) 1357646736 -5.732066783374925 treat image : temp/1747056448_2728936_1357646733_67c322419fb40113b945192b8e59bcd6.jpg resize: (1080, 1632) 1357646733 -4.751293102340566 treat image : temp/1747056448_2728936_1357646730_f490127f69a7cce3b2203fc162aaa0c5.jpg resize: (1080, 1632) 1357646730 -4.8475128902822995 treat image : temp/1747056448_2728936_1357646726_4c47f24e7792eaf1ba7eb4fac372dd14.jpg resize: (1080, 1632) 1357646726 -2.159462456818694 treat image : temp/1747056448_2728936_1357646688_85b32b841180695518e3390910d4a8d8.jpg resize: (1080, 1632) 1357646688 -1.3138269262417905 treat image : temp/1747056448_2728936_1357646684_e56479c5eb054c5f04871e06a367bfb7.jpg resize: (1080, 1632) 1357646684 -4.684726391032519 treat image : temp/1747056448_2728936_1357646679_31b6953df89de0eebfa4ebf12f8a414b.jpg resize: (1080, 1632) 1357646679 -4.548627028262252 treat image : temp/1747056448_2728936_1357646647_db49cebdddd2d638cbf4c7eeffed17ce.jpg resize: (1080, 1632) 1357646647 -6.2099130396677795 treat image : temp/1747056448_2728936_1357646643_8697f885ac999da1c0b9e730a0026107.jpg resize: (1080, 1632) 1357646643 -6.254994914241463 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.013736486434936523 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.011845588684082031 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015131711959838867 save missing photos in datou_result : time spend for datou_step_exec : 16.505247354507446 time spend to save output : 0.04512977600097656 total time spend for step 1 : 16.550377130508423 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.27user 3.69system 0:21.95elapsed 86%CPU (0avgtext+0avgdata 140492maxresident)k 168inputs+9672outputs (16major+264724minor)pagefaults 0swaps