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 : 1924642 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 : 887>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1924642/ 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.400360107421875 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 May 14 08:32:28 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/1747204346_1924642_1358102936_ce95f97c52fd4f13e71e866c911a1237.jpg resize: (1080, 1632) 1358102936 -5.425351086465224 treat image : temp/1747204346_1924642_1358102934_bff676c63942eef5fd6b1e4099438b92.jpg resize: (1080, 1632) 1358102934 -5.329210968578752 treat image : temp/1747204346_1924642_1358102932_76e24e837b6b87c0ed89aed2751b8fe9.jpg resize: (1080, 1632) 1358102932 -3.3744342587395906 treat image : temp/1747204346_1924642_1358102931_dcce22ee3c2032257f630045cab6361c.jpg resize: (1080, 1632) 1358102931 -5.643199200816171 treat image : temp/1747204346_1924642_1358102929_621d19aee0896d29c76373bf68f1d2d8.jpg resize: (1080, 1632) 1358102929 -5.598505599111752 treat image : temp/1747204346_1924642_1358102926_7965a2b87448ba5305e593504f5cf39c.jpg resize: (1080, 1632) 1358102926 -4.75187466255066 treat image : temp/1747204346_1924642_1358102892_464ffd04668d4dee9c8998f7a0a69e92.jpg resize: (1080, 1632) 1358102892 -4.267050808186551 treat image : temp/1747204346_1924642_1358102889_be6a87f6467974456304237f805bfc1b.jpg resize: (1080, 1632) 1358102889 -4.993834150534879 treat image : temp/1747204346_1924642_1358102887_6fb7f688a08bc5042feae48a34c91008.jpg resize: (1080, 1632) 1358102887 -6.036211048618228 treat image : temp/1747204346_1924642_1358102859_eb37313eac3b7ef322ab5ac89c464b45.jpg resize: (1080, 1632) 1358102859 -1.8185272425396732 treat image : temp/1747204346_1924642_1358102810_22135dcd65d361999e208c51e9e90b2d.jpg resize: (1080, 1632) 1358102810 -5.504030386049145 treat image : temp/1747204346_1924642_1358102809_af8765ba18892714b36d5ebe9f2a0bf4.jpg resize: (1080, 1632) 1358102809 -2.029450594686409 treat image : temp/1747204346_1924642_1358100466_b500c0260081fd5979394e85ec4ff3b4.jpg resize: (1080, 1632) 1358100466 -5.114619583349763 treat image : temp/1747204346_1924642_1358100463_2b26c7554f5925a7616f1babde2dbebb.jpg resize: (1080, 1632) 1358100463 -6.200376095896787 treat image : temp/1747204346_1924642_1358100281_e86d813c810a7739b7c55fd7be8c70a7.jpg resize: (1080, 1632) 1358100281 -5.774687087851574 treat image : temp/1747204346_1924642_1358100268_349a5baf8752a47ae58239676a8e3fe1.jpg resize: (1080, 1632) 1358100268 -3.5417726510365264 treat image : temp/1747204346_1924642_1358100263_155ec2d77262159ab36ab84ed5274b5e.jpg resize: (1080, 1632) 1358100263 -6.096151894286662 treat image : temp/1747204346_1924642_1358100261_93c90b7c22b621ebd9b50e11346648a8.jpg resize: (1080, 1632) 1358100261 -6.273513464337374 treat image : temp/1747204346_1924642_1358100234_a9fb955441c227deb8717db3bc01bda8.jpg resize: (1080, 1632) 1358100234 -6.280046939272927 treat image : temp/1747204346_1924642_1358100231_87d3d3ae49d7420dc9a4c48561522ed7.jpg resize: (1080, 1632) 1358100231 -5.1818729830056185 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.012357711791992188 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.2167973518371582 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.19194698333740234 save missing photos in datou_result : time spend for datou_step_exec : 16.05163049697876 time spend to save output : 0.42643070220947266 total time spend for step 1 : 16.478061199188232 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.36user 4.25system 0:20.37elapsed 91%CPU (0avgtext+0avgdata 140900maxresident)k 120inputs+10336outputs (16major+258145minor)pagefaults 0swaps