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 : 788884 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 : 6435>100 please execute split_portfolio.py -i 24661193 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3243209'] with mtr_portfolio_ids : ['24661193'] and first list_photo_ids : [] new path : /proc/788884/ 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.2940709590911865 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 Mon Jul 7 23:07: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/1751922449_788884_1371098288_afa6efe4026dd075141faff77da65249.jpg resize: (1080, 1632) 1371098288 -5.7416576727146 treat image : temp/1751922449_788884_1371098285_42ef91344ad0161f647e92f368dbebb1.jpg resize: (1080, 1632) 1371098285 -4.636322421950834 treat image : temp/1751922449_788884_1371098283_147f7da6a42d432b7456fa80d6e2b6cb.jpg resize: (1080, 1632) 1371098283 -1.968619251964459 treat image : temp/1751922449_788884_1371098281_a0e11adcd514d1d312a23b553208497d.jpg resize: (1080, 1632) 1371098281 -3.2571427584084875 treat image : temp/1751922449_788884_1371098278_3dceed9935d9a48710e9a7e6c2506905.jpg resize: (1080, 1632) 1371098278 -3.297914480619021 treat image : temp/1751922449_788884_1371098275_da96737e3c25fd36369a3a10a5e60cc0.jpg resize: (1080, 1632) 1371098275 -3.4330329381880587 treat image : temp/1751922449_788884_1371098261_a29ce6df4acdb24e7b196caf948dbef6.jpg resize: (1080, 1632) 1371098261 -5.148558005359821 treat image : temp/1751922449_788884_1371098258_7b6e084f181de8d2d3ecc0b8e67a98ef.jpg resize: (1080, 1632) 1371098258 -5.257692101686122 treat image : temp/1751922449_788884_1371098249_28bd519d2268c986a9c4b5259f026e5c.jpg resize: (1080, 1632) 1371098249 -5.268040531754229 treat image : temp/1751922449_788884_1371098245_994f38e80ee1500217a363999e9159ff.jpg resize: (1080, 1632) 1371098245 -5.170864975140163 treat image : temp/1751922449_788884_1371098240_9b015dbf75d8fe3a7eb9a7c345070048.jpg resize: (1080, 1632) 1371098240 -5.550777055254707 treat image : temp/1751922449_788884_1371098237_7e9346e777402b6a2d11f91875e90210.jpg resize: (1080, 1632) 1371098237 -5.668616936572633 treat image : temp/1751922449_788884_1371098086_d08154a816a436c49487579ab8b92503.jpg resize: (1080, 1632) 1371098086 -1.700750287560229 treat image : temp/1751922449_788884_1371098054_57ad742c11151ed6cb17d2ec03676ec7.jpg resize: (1080, 1632) 1371098054 -2.874595924023949 treat image : temp/1751922449_788884_1371098020_5b7cb9941f6e576f7c0629263ff29b75.jpg resize: (1080, 1632) 1371098020 -2.884439936693371 treat image : temp/1751922449_788884_1371097986_d57ac0244b5c3ad930780f242785775e.jpg resize: (1080, 1632) 1371097986 -1.6666369101095544 treat image : temp/1751922449_788884_1371097877_c03ee6441b1b0c81fff1b9fd447d66c2.jpg resize: (1080, 1632) 1371097877 -5.663382365301622 treat image : temp/1751922449_788884_1371097845_309ca4b7d8727f816dbd008de4285d77.jpg resize: (1080, 1632) 1371097845 -5.64096250694603 treat image : temp/1751922449_788884_1371097837_bcd7c627e8934e8056483295b46a1e93.jpg resize: (1080, 1632) 1371097837 -5.792190551317609 treat image : temp/1751922449_788884_1371097833_5e0363f571d446e0fabc263041cd47d8.jpg resize: (1080, 1632) 1371097833 -5.112959461080253 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.013777971267700195 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.01257014274597168 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014646291732788086 save missing photos in datou_result : time spend for datou_step_exec : 16.670769453048706 time spend to save output : 0.045888662338256836 total time spend for step 1 : 16.716658115386963 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.93user 5.28system 0:23.05elapsed 83%CPU (0avgtext+0avgdata 139564maxresident)k 56inputs+9208outputs (11major+258733minor)pagefaults 0swaps