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 : 2263483 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 : 3562>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/2263483/ 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.15596866607666 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 Fri Mar 21 23:42: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/1742596949_2263483_1346277890_5a17cadf14a94ce31df5dc24d1b345d2.jpg resize: (1080, 1632) 1346277890 -4.7226271783018525 treat image : temp/1742596949_2263483_1346277801_e8df4ab2cec10d46ccbe472859728171.jpg resize: (1080, 1632) 1346277801 -2.2880789018863124 treat image : temp/1742596949_2263483_1346277776_a457998f1c5850e8077b1dd2f99035f5.jpg resize: (1080, 1632) 1346277776 -4.491784940710382 treat image : temp/1742596949_2263483_1346277758_4d6b4723eca280a1025b2ae94fef6048.jpg resize: (1080, 1632) 1346277758 -5.502780358861894 treat image : temp/1742596949_2263483_1346277663_87384541584bdb2786ec9110d5589462.jpg resize: (1080, 1632) 1346277663 -5.651037152304555 treat image : temp/1742596949_2263483_1346277634_c46dc297ef72ba93c9544241df803777.jpg resize: (1080, 1632) 1346277634 -5.8392615195638085 treat image : temp/1742596949_2263483_1346277617_81b51d025d1047f7d8c1c29fc5a56ca6.jpg resize: (1080, 1632) 1346277617 -5.2409522475077805 treat image : temp/1742596949_2263483_1346277592_48cc7357124fb0796c76b577181b5e7f.jpg resize: (1080, 1632) 1346277592 -4.9492640952592994 treat image : temp/1742596949_2263483_1346277581_93da1070777f87bef6bd58c37105e858.jpg resize: (1080, 1632) 1346277581 -4.858629109575034 treat image : temp/1742596949_2263483_1346277578_008299495e74afceae546159325aed70.jpg resize: (1080, 1632) 1346277578 -2.318930647753206 treat image : temp/1742596949_2263483_1346277567_b2e5adc638d805dc9f9b74f6528419be.jpg resize: (1080, 1632) 1346277567 -2.119722699518581 treat image : temp/1742596949_2263483_1346277563_e4bba1a5800a81645c4f21c2172a3372.jpg resize: (1080, 1632) 1346277563 -2.999962660060595 treat image : temp/1742596949_2263483_1346277558_2696f18896bbd085c29e40c3d46ae4b9.jpg resize: (1080, 1632) 1346277558 -2.3384133317072178 treat image : temp/1742596949_2263483_1346277552_b374fa686ba5a83035d258b40cf709fe.jpg resize: (1080, 1632) 1346277552 -4.296153836480705 treat image : temp/1742596949_2263483_1346277547_0ac4c4debdfce27d0b4508418efbf82d.jpg resize: (1080, 1632) 1346277547 -6.325409579762659 treat image : temp/1742596949_2263483_1346277543_6d6077995b2f14f225fabb28d9066cdc.jpg resize: (1080, 1632) 1346277543 -6.082876092427603 treat image : temp/1742596949_2263483_1346277431_0d8d94a9612274ad4dff63dfd33bb6fe.jpg resize: (1080, 1632) 1346277431 -5.043533260454029 treat image : temp/1742596949_2263483_1346277428_c777f68a99544295dee470824872f789.jpg resize: (1080, 1632) 1346277428 -5.983771997184573 treat image : temp/1742596949_2263483_1346277424_535ccac0a4c1af06530fd2e122f024b1.jpg resize: (1080, 1632) 1346277424 -0.8238506713650678 treat image : temp/1742596949_2263483_1346277420_a072cecc0d364f8d342460f62e9e9d1c.jpg resize: (1080, 1632) 1346277420 -2.7591849378024014 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.01430201530456543 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.013786077499389648 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015920162200927734 save missing photos in datou_result : time spend for datou_step_exec : 14.238145351409912 time spend to save output : 0.049260616302490234 total time spend for step 1 : 14.287405967712402 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.84user 2.70system 0:20.09elapsed 82%CPU (0avgtext+0avgdata 136360maxresident)k 360inputs+10008outputs (6major+201674minor)pagefaults 0swaps