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 : 3152727 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 : 7475>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/3152727/ 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.5967040061950684 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 31 17:47: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/1753976847_3152727_1374624029_03fad20c5b74c94cf56d6e8183e00966.jpg resize: (1080, 1632) 1374624029 -5.329647328869592 treat image : temp/1753976847_3152727_1374624027_6d0096aad976ba86484807c6348a3504.jpg resize: (1080, 1632) 1374624027 -4.587340803144214 treat image : temp/1753976847_3152727_1374624026_7e91209a4dac41d7ea9d0f02ce46a075.jpg resize: (1080, 1632) 1374624026 -6.033920036249872 treat image : temp/1753976847_3152727_1374624024_c3e02f522bbce45f656657b7ebb4d53f.jpg resize: (1080, 1632) 1374624024 -5.534107601440427 treat image : temp/1753976847_3152727_1374624022_3d958b974842f70622e627eabda7a359.jpg resize: (1080, 1632) 1374624022 -3.494454209609282 treat image : temp/1753976847_3152727_1374624017_0c382880e91ecc1af6bed9134e13ad25.jpg resize: (1080, 1632) 1374624017 -4.646105173565621 treat image : temp/1753976847_3152727_1374623984_606aff21dfe156205f8ee966c1270d42.jpg resize: (1080, 1632) 1374623984 -5.199201837405747 treat image : temp/1753976847_3152727_1374623981_4977ecae36090097eda7add5ceeafa81.jpg resize: (1080, 1632) 1374623981 -6.266647847430123 treat image : temp/1753976847_3152727_1374623978_30c289c2566e174115abfe28d74daeaa.jpg resize: (1080, 1632) 1374623978 -6.036727706798304 treat image : temp/1753976847_3152727_1374623968_6d523053d5179d890b94ffb5e95512c3.jpg resize: (1080, 1632) 1374623968 -5.07959314279609 treat image : temp/1753976847_3152727_1374623967_3feb5d3c5e2118a472512ff73571fce8.jpg resize: (1080, 1632) 1374623967 -3.7624874672271935 treat image : temp/1753976847_3152727_1374623964_5ae4400ebfc80a96db05eb04655203fa.jpg resize: (1080, 1632) 1374623964 -3.1325153073264365 treat image : temp/1753976847_3152727_1374623905_13d846953fb3bee3ebca74fc96490b30.jpg resize: (1080, 1632) 1374623905 -5.199201837405747 treat image : temp/1753976847_3152727_1374623892_b4a1e5d5a3febbff6813e7a555463cc3.jpg resize: (1080, 1632) 1374623892 -6.266647847430123 treat image : temp/1753976847_3152727_1374623867_36a45ac3514dbd5058e8b6b2323d5a89.jpg resize: (1080, 1632) 1374623867 -6.036727706798304 treat image : temp/1753976847_3152727_1374623843_fcaf180a2b70f9285add51cfed492288.jpg resize: (1080, 1632) 1374623843 -5.07959314279609 treat image : temp/1753976847_3152727_1374623822_2bbeb1a8785bd1b118eeaa21de6442bb.jpg resize: (1080, 1632) 1374623822 -3.7624874672271935 treat image : temp/1753976847_3152727_1374623820_a82b186bf39e07119984ed2462f3473d.jpg resize: (1080, 1632) 1374623820 -3.1325153073264365 treat image : temp/1753976847_3152727_1374623816_2f0e62b548547f95d2cbe9943e060ec1.jpg resize: (1080, 1632) 1374623816 -5.168237849435859 treat image : temp/1753976847_3152727_1374623813_1db8c35f3e7c52e34d9d0d8a1c730ad9.jpg resize: (1080, 1632) 1374623813 -2.5664058564218175 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.01356196403503418 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.012820720672607422 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016907453536987305 save missing photos in datou_result : time spend for datou_step_exec : 15.501821279525757 time spend to save output : 0.06723880767822266 total time spend for step 1 : 15.56906008720398 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.19user 3.79system 0:19.85elapsed 90%CPU (0avgtext+0avgdata 138840maxresident)k 128inputs+10096outputs (12major+250991minor)pagefaults 0swaps