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 : 4082554 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 : 3401>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/4082554/ 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.4958622455596924 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 Thu Jul 17 10:12:31 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/1752739948_4082554_1372383266_b7f6976f93d77fa5ccc16a30f1ea00d7.jpg resize: (1080, 1632) 1372383266 -5.491978385523247 treat image : temp/1752739948_4082554_1372383264_327f642f5442e3a92feb2bc1110c6ede.jpg resize: (1080, 1632) 1372383264 -5.497843664203308 treat image : temp/1752739948_4082554_1372383261_a78f91c3d26e5e7e7eaea9cfbc74c259.jpg resize: (1080, 1632) 1372383261 -5.484687952223683 treat image : temp/1752739948_4082554_1372383259_122855250009d0a21f2bed482f603f37.jpg resize: (1080, 1632) 1372383259 -5.480218346354277 treat image : temp/1752739948_4082554_1372383257_20671231413c32338f08c8b7db7dc96f.jpg resize: (1080, 1632) 1372383257 -5.481333339850921 treat image : temp/1752739948_4082554_1372383256_43c50ee445f9bf401089f32db985a53e.jpg resize: (1080, 1632) 1372383256 -5.480486894126837 treat image : temp/1752739948_4082554_1372349035_24f988ad993624ba4294583ea5df0b45.jpg resize: (1080, 1632) 1372349035 -1.9954356845267134 treat image : temp/1752739948_4082554_1372349010_bc4e9282de174211b71ff8049aaacf9d.jpg resize: (1080, 1632) 1372349010 -4.727619055215928 treat image : temp/1752739948_4082554_1372349005_cade61e3c1939bb335e2db47ab5d59c0.jpg resize: (1080, 1632) 1372349005 -4.271991295582628 treat image : temp/1752739948_4082554_1372349000_50009a07db7c62db8a999400fcbcaf68.jpg resize: (1080, 1632) 1372349000 -2.997192266438322 treat image : temp/1752739948_4082554_1372348998_075ece60dc071847bb6bb4d86ed8e362.jpg resize: (1080, 1632) 1372348998 -4.8700453808172615 treat image : temp/1752739948_4082554_1372348993_c5045ba7a6af29a2d9894124acfa4815.jpg resize: (1080, 1632) 1372348993 -4.6794640400311875 treat image : temp/1752739948_4082554_1372348988_1d32e9ae83ae3e10089fbc68ccf6e742.jpg resize: (1080, 1632) 1372348988 -4.682977202761105 treat image : temp/1752739948_4082554_1372348971_d150bd78298bbe13f970ec34e4d134ee.jpg resize: (1080, 1632) 1372348971 -4.682773915404309 treat image : temp/1752739948_4082554_1372348969_d5c68fcff41e7029248769ebb31d2f9d.jpg resize: (1080, 1632) 1372348969 -3.7472411068229428 treat image : temp/1752739948_4082554_1372348967_d024beadebdc8b0b1bb5304fc4522072.jpg resize: (1080, 1632) 1372348967 -5.273067605964938 treat image : temp/1752739948_4082554_1372348963_eda5165ad8f2060258997c71113272a7.jpg resize: (1080, 1632) 1372348963 -5.266677011078858 treat image : temp/1752739948_4082554_1372348959_bd1817cbb6e0e53bda1a54957d9b4f66.jpg resize: (1080, 1632) 1372348959 -5.263812408393548 treat image : temp/1752739948_4082554_1372348955_c700d52ecebcf160105f14779d8a473a.jpg resize: (1080, 1632) 1372348955 -5.265486174366749 treat image : temp/1752739948_4082554_1372348923_3732e2eb98c271d24b5000979c8f1b00.jpg resize: (1080, 1632) 1372348923 -3.7974177864103487 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.013674020767211914 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.012005805969238281 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014914989471435547 save missing photos in datou_result : time spend for datou_step_exec : 14.748268365859985 time spend to save output : 0.04563164710998535 total time spend for step 1 : 14.79390001296997 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.30user 3.27system 0:21.26elapsed 82%CPU (0avgtext+0avgdata 138172maxresident)k 0inputs+9184outputs (6major+262493minor)pagefaults 0swaps