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 : 3664451 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 : 2832>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/3664451/ 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.199522018432617 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 18:07:29 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/1752077247_3664451_1371424338_bde51a8349d9d0f2f12a21705612c605.jpg resize: (1080, 1632) 1371424338 -4.968550158287929 treat image : temp/1752077247_3664451_1371424336_eca4783c2fc1a0ec3fb7fc19597ccaac.jpg resize: (1080, 1632) 1371424336 -4.203344957558658 treat image : temp/1752077247_3664451_1371424335_48fd5a8e1ba12075c5eb8e576d4a2602.jpg resize: (1080, 1632) 1371424335 -4.184856154880868 treat image : temp/1752077247_3664451_1371424333_6cc6a5aff7e33444c95005250984208b.jpg resize: (1080, 1632) 1371424333 -4.505110537329377 treat image : temp/1752077247_3664451_1371424329_b7f602061b54e849c23a4b03a73885ef.jpg resize: (1080, 1632) 1371424329 -4.452883545282327 treat image : temp/1752077247_3664451_1371424327_c91b8b0c18bbd88d75412106c5694a67.jpg resize: (1080, 1632) 1371424327 -5.827382093888651 treat image : temp/1752077247_3664451_1371424321_9f8966d54c5b2085a26a476106ecb208.jpg resize: (1080, 1632) 1371424321 -3.5324048372193144 treat image : temp/1752077247_3664451_1371424318_97f23b3390104dde3179a38915cdabe7.jpg resize: (1080, 1632) 1371424318 -3.5443479486847123 treat image : temp/1752077247_3664451_1371424315_dc499ab0b5803eb2d6d6e1cdae82d1ea.jpg resize: (1080, 1632) 1371424315 -3.531270498620054 treat image : temp/1752077247_3664451_1371424314_d4cb7f352efd5be6cce677ef98626ad1.jpg resize: (1080, 1632) 1371424314 -3.1872741013033026 treat image : temp/1752077247_3664451_1371424311_ba127b56c7e236026e835ca5a9fc3d89.jpg resize: (1080, 1632) 1371424311 -5.571316325279943 treat image : temp/1752077247_3664451_1371424308_3ed1ce30bfaf5a512802d2a9fbb650ab.jpg resize: (1080, 1632) 1371424308 -5.253368701111893 treat image : temp/1752077247_3664451_1371423969_18912d394d729edc322a6bc33b46bc7e.jpg resize: (1080, 1632) 1371423969 -4.0028980626609005 treat image : temp/1752077247_3664451_1371423927_7758aa3f6dc692b642a6e2b4a1387010.jpg resize: (1080, 1632) 1371423927 -5.215472412338974 treat image : temp/1752077247_3664451_1371423903_bdc77931ae17fd63f5bc4a51fac2c409.jpg resize: (1080, 1632) 1371423903 -5.128136610771217 treat image : temp/1752077247_3664451_1371423874_b680931cf5c780f4fd64d06e2d81cbdb.jpg resize: (1080, 1632) 1371423874 -5.200835863075157 treat image : temp/1752077247_3664451_1371423747_1a5968f502abb4d77717738ace928483.jpg resize: (1080, 1632) 1371423747 -4.096044534486884 treat image : temp/1752077247_3664451_1371423719_1b29dadfd81a900585bbfb6aab05d644.jpg resize: (1080, 1632) 1371423719 -4.097554085050906 treat image : temp/1752077247_3664451_1371423694_e2546a897dc87e3df484a601092a4c70.jpg resize: (1080, 1632) 1371423694 -4.078960819664469 treat image : temp/1752077247_3664451_1371423668_28a6d69570bcbfd3ab71b376cf05bf32.jpg resize: (1080, 1632) 1371423668 -4.186875102159769 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.014577865600585938 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.014772415161132812 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016066789627075195 save missing photos in datou_result : time spend for datou_step_exec : 16.871217489242554 time spend to save output : 0.050534725189208984 total time spend for step 1 : 16.921752214431763 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.50user 4.86system 0:21.66elapsed 89%CPU (0avgtext+0avgdata 138856maxresident)k 64inputs+9080outputs (7major+255460minor)pagefaults 0swaps