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 : 1467470 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 : 628>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1467470/ 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.2547290325164795 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 May 21 07:12:28 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/1747804346_1467470_1359970459_98072e426d269aa17235a6cbbf6ca3d8.jpg resize: (1080, 1632) 1359970459 -5.4056368349406805 treat image : temp/1747804346_1467470_1359970456_21f2f516122a9e05630de344c55c30ed.jpg resize: (1080, 1632) 1359970456 -5.626855613646112 treat image : temp/1747804346_1467470_1359970452_8c6dca4084b768ce5fc1135df93c461a.jpg resize: (1080, 1632) 1359970452 -1.8390589380069053 treat image : temp/1747804346_1467470_1359970449_28bff76abdf74fd0943c543acc842b90.jpg resize: (1080, 1632) 1359970449 -2.779891597778631 treat image : temp/1747804346_1467470_1359970423_0cf2c14d4084f665ff1cb0223dc06dac.jpg resize: (1080, 1632) 1359970423 -6.4252857598196496 treat image : temp/1747804346_1467470_1359970419_c04cf5dd151869e8d506b3a419bf4af7.jpg resize: (1080, 1632) 1359970419 -6.100247302667953 treat image : temp/1747804346_1467470_1359970417_39c310f3c1629b6c14e38a682e5ad107.jpg resize: (1080, 1632) 1359970417 -5.302092729538842 treat image : temp/1747804346_1467470_1359970409_11a82737c697488eaddf0629d2ae69a8.jpg resize: (1080, 1632) 1359970409 -5.929697731607368 treat image : temp/1747804346_1467470_1359970384_92f0dc9e86d004e0f4c40509ddcc6eee.jpg resize: (1080, 1632) 1359970384 -4.2707857974312855 treat image : temp/1747804346_1467470_1359970258_7bb8e8afcfe96f71abf41b47d58e2a7a.jpg resize: (1080, 1632) 1359970258 -6.663383143556259 treat image : temp/1747804346_1467470_1359970234_aa2e02da55ddf59d283f99dc8ffd88aa.jpg resize: (1080, 1632) 1359970234 -1.9273029965909931 treat image : temp/1747804346_1467470_1359970229_b3e28d95bf0195db23cdeb4e50373536.jpg resize: (1080, 1632) 1359970229 -1.942173385515313 treat image : temp/1747804346_1467470_1359970224_af94d2a115b8069ae8a10b59073232ba.jpg resize: (1080, 1632) 1359970224 -5.311155882493957 treat image : temp/1747804346_1467470_1359969572_52f61c9ff955e94490ba579de06ee168.jpg resize: (1080, 1632) 1359969572 -5.8422586075809955 treat image : temp/1747804346_1467470_1359967895_dba387871b414cfb9ed68a8fe59cfa64.jpg resize: (1080, 1632) 1359967895 -5.917779197510383 treat image : temp/1747804346_1467470_1359967893_d89af9781bb092760f48a13dbd4a476b.jpg resize: (1080, 1632) 1359967893 -5.78910022343502 treat image : temp/1747804346_1467470_1359967885_5511e37e288916737362f1b241468544.jpg resize: (1080, 1632) 1359967885 -6.085886196320111 treat image : temp/1747804346_1467470_1359967680_ad4765d340746142c51a6bb719bfaca7.jpg resize: (1080, 1632) 1359967680 -2.9853449048092284 treat image : temp/1747804346_1467470_1359967673_aa86eecd2d796609ec6c2cf68c7041d2.jpg resize: (1080, 1632) 1359967673 -5.63645604055828 treat image : temp/1747804346_1467470_1359967659_bb21cfd2bbbe9fd46aab0e350b813af5.jpg resize: (1080, 1632) 1359967659 -2.55445449536708 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.013454437255859375 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.15298819541931152 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05891227722167969 save missing photos in datou_result : time spend for datou_step_exec : 18.271815299987793 time spend to save output : 0.23055505752563477 total time spend for step 1 : 18.502370357513428 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.51user 6.22system 0:22.24elapsed 93%CPU (0avgtext+0avgdata 139016maxresident)k 96inputs+10160outputs (10major+252405minor)pagefaults 0swaps