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 : 2239982 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 : 717>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/2239982/ 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.3196654319763184 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 3 01:52: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/1751500348_2239982_1370216971_e7f31ccccfffa3629c103e83ad89b17a.jpg resize: (1080, 1632) 1370216971 -6.056275705031276 treat image : temp/1751500348_2239982_1370216938_4b78c23f19e063d2f2c8945e77b612cb.jpg resize: (1080, 1632) 1370216938 -6.072729092891016 treat image : temp/1751500348_2239982_1370216904_306dd5d7e9eb5f72f82b9155bfc94b64.jpg resize: (1080, 1632) 1370216904 -6.066885771339529 treat image : temp/1751500348_2239982_1370216895_c974af990833d2637b5d2eda620a53aa.jpg resize: (1080, 1632) 1370216895 -6.54093230853182 treat image : temp/1751500348_2239982_1370216865_587d005edfd7e8155d07aefced2f0987.jpg resize: (1080, 1632) 1370216865 -6.542867763330589 treat image : temp/1751500348_2239982_1370216832_5e1b4c7ea318f83760df260765b5b21f.jpg resize: (1080, 1632) 1370216832 -6.674594586960053 treat image : temp/1751500348_2239982_1370215870_024e66b6fdf7febe7d16e20e7c3d9307.jpg resize: (1080, 1632) 1370215870 -2.3100811713576737 treat image : temp/1751500348_2239982_1370215869_fbded7546a4025c0a94fd78543d5bd54.jpg resize: (1080, 1632) 1370215869 -2.2873961777224756 treat image : temp/1751500348_2239982_1370215866_3920aa65ce04491dac68bf34bd0a1092.jpg resize: (1080, 1632) 1370215866 -2.2924458789856 treat image : temp/1751500348_2239982_1370215864_6e2f73912a4536567cc4c274951efd0d.jpg resize: (1080, 1632) 1370215864 -2.9455805752695876 treat image : temp/1751500348_2239982_1370215710_13d848f410107d6a6ea8552201a8b90e.jpg resize: (1080, 1632) 1370215710 -3.151243755545041 treat image : temp/1751500348_2239982_1370215707_2571998b7933784080b56a4558eeb28c.jpg resize: (1080, 1632) 1370215707 -3.151243755545041 treat image : temp/1751500348_2239982_1370215697_c1fc86ad59338cb8d05de5fba27e420a.jpg resize: (1080, 1632) 1370215697 -3.1490223281876326 treat image : temp/1751500348_2239982_1370215696_846bb859101f037f403172ff7535ca6e.jpg resize: (1080, 1632) 1370215696 -3.1490223281876326 treat image : temp/1751500348_2239982_1370215695_0e082da1e16fbad2dd54e51c7d501aa8.jpg resize: (1080, 1632) 1370215695 -3.104445810822863 treat image : temp/1751500348_2239982_1370215694_84b0ac700fd138a3d125c00c5af0e8ad.jpg resize: (1080, 1632) 1370215694 -3.104445810822863 treat image : temp/1751500348_2239982_1370215693_04f7e414589ffb1d50bd2424d0251cf3.jpg resize: (1080, 1632) 1370215693 -2.286429810034716 treat image : temp/1751500348_2239982_1370215692_5bf6c0d3232b951c77558d2ee339a776.jpg resize: (1080, 1632) 1370215692 -2.286429810034716 treat image : temp/1751500348_2239982_1370215689_87f12c76b0018aeb1252df2ca2648797.jpg resize: (1080, 1632) 1370215689 -2.7824898013326114 treat image : temp/1751500348_2239982_1370215688_ecaf012f36889ff8abe272974e3cff86.jpg resize: (1080, 1632) 1370215688 -2.7824898013326114 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.014006376266479492 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.16782021522521973 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1328279972076416 save missing photos in datou_result : time spend for datou_step_exec : 15.879040479660034 time spend to save output : 0.31952404975891113 total time spend for step 1 : 16.198564529418945 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.50user 4.15system 0:21.60elapsed 86%CPU (0avgtext+0avgdata 137848maxresident)k 168inputs+8952outputs (10major+219717minor)pagefaults 0swaps