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 : 96690 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 : 6336>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/96690/ 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.279176950454712 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 Jul 9 23:32: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/1752096749_96690_1371449225_fcc9dca259e3a25af59a78dbd750e3a7.jpg resize: (1080, 1632) 1371449225 -4.583385343455505 treat image : temp/1752096749_96690_1371449224_a720b2c0c48d729491314a17f249fb3b.jpg resize: (1080, 1632) 1371449224 -3.8420823969558264 treat image : temp/1752096749_96690_1371449221_f513d7e7acc9f36e6934c9f7c025f2d0.jpg resize: (1080, 1632) 1371449221 -5.142673524907248 treat image : temp/1752096749_96690_1371449218_d98aa821ec46d5f4a2e2186dd94d9815.jpg resize: (1080, 1632) 1371449218 -2.9355963147232145 treat image : temp/1752096749_96690_1371449216_828fb544085abbce2dcf8bf8b421f261.jpg resize: (1080, 1632) 1371449216 -1.8133223498925735 treat image : temp/1752096749_96690_1371449214_43e2813f82f7c948c1d545f627aae2a2.jpg resize: (1080, 1632) 1371449214 -2.9971951573540063 treat image : temp/1752096749_96690_1371449205_3811add6921b3f18964ae6f7972e1276.jpg resize: (1080, 1632) 1371449205 -1.2868562482594064 treat image : temp/1752096749_96690_1371449202_12d09e150893af48b669a478da6589ec.jpg resize: (1080, 1632) 1371449202 -4.910034304086152 treat image : temp/1752096749_96690_1371449201_a9e5e68e6095fb913417f66efcb9fdfe.jpg resize: (1080, 1632) 1371449201 -3.685290829287231 treat image : temp/1752096749_96690_1371449198_d8711c3eaba0c83895a35697edff879d.jpg resize: (1080, 1632) 1371449198 -4.657720561981133 treat image : temp/1752096749_96690_1371449195_fe7f193ef6ec4efe537647f4f814f388.jpg resize: (1080, 1632) 1371449195 -4.812992279643995 treat image : temp/1752096749_96690_1371449192_bd157a2104ec9f5fa97e39002d15a59e.jpg resize: (1080, 1632) 1371449192 -5.1083057237996226 treat image : temp/1752096749_96690_1371449187_e6ad81ff909324bee33162490957b3ca.jpg resize: (1080, 1632) 1371449187 -3.020721418211486 treat image : temp/1752096749_96690_1371449185_0a49b14878b6943ad9382827a70e5cfc.jpg resize: (1080, 1632) 1371449185 -2.129455155014794 treat image : temp/1752096749_96690_1371449183_709aad9598b25fffd00c44caa89bed66.jpg resize: (1080, 1632) 1371449183 -3.966391891853921 treat image : temp/1752096749_96690_1371449175_ab6dbe18f3452ef14521196dac4d704b.jpg resize: (1080, 1632) 1371449175 -4.706806708580985 treat image : temp/1752096749_96690_1371449169_f1dabea44fbfba86020190ad70b7e1ab.jpg resize: (1080, 1632) 1371449169 -5.619906605425698 treat image : temp/1752096749_96690_1371449162_c2c90da1506841a676a2acf612acc39f.jpg resize: (1080, 1632) 1371449162 -5.5015455335868495 treat image : temp/1752096749_96690_1371449147_a26a9d509fab17c56e93e45e464228a8.jpg resize: (1080, 1632) 1371449147 -5.995922931083035 treat image : temp/1752096749_96690_1371449145_398bbde4e52fd477c202d9fd1104e7a4.jpg resize: (1080, 1632) 1371449145 -5.676950537086008 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.013879060745239258 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.011972427368164062 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01416778564453125 save missing photos in datou_result : time spend for datou_step_exec : 15.278144836425781 time spend to save output : 0.04450845718383789 total time spend for step 1 : 15.32265329360962 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.33user 3.25system 0:21.07elapsed 83%CPU (0avgtext+0avgdata 139528maxresident)k 128inputs+8808outputs (7major+256173minor)pagefaults 0swaps