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 : 1373842 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 : 2317>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1373842/ 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.564774751663208 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 Aug 21 22:57: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/1755809848_1373842_1378316985_1271665d7c7149ab75ccfbea6473fcb0.jpg resize: (1080, 1632) 1378316985 -4.792518431634358 treat image : temp/1755809848_1373842_1378316961_5dc46dbf5f46b5f838fd02a4c1047c50.jpg resize: (1080, 1632) 1378316961 -4.60168661129405 treat image : temp/1755809848_1373842_1378316934_edafcadcac2b455326dc1c0b6803210e.jpg resize: (1080, 1632) 1378316934 -5.061625644255824 treat image : temp/1755809848_1373842_1378316899_56e7095c8751130598bcf0b49aeaba59.jpg resize: (1080, 1632) 1378316899 -4.364856911243176 treat image : temp/1755809848_1373842_1378316754_7231119455ea3d4e35540e515c38ad00.jpg resize: (1080, 1632) 1378316754 -4.903138587969576 treat image : temp/1755809848_1373842_1378316751_b5720e70675bee8b66ff5a6ed5477c81.jpg resize: (1080, 1632) 1378316751 -4.855020847502619 treat image : temp/1755809848_1373842_1378316728_4dfdb85c218b284485fbb962485d38b1.jpg resize: (1080, 1632) 1378316728 -4.928850288874095 treat image : temp/1755809848_1373842_1378316707_15a0889c867a64dd3e22556f31a73d53.jpg resize: (1080, 1632) 1378316707 -4.701420837932642 treat image : temp/1755809848_1373842_1378316682_84ad657907a9e5c3a2e8547d4bc343ee.jpg resize: (1080, 1632) 1378316682 -5.258735240804543 treat image : temp/1755809848_1373842_1378316658_a3a9d47860b6726ba716823df8ae282a.jpg resize: (1080, 1632) 1378316658 -5.20068065201292 treat image : temp/1755809848_1373842_1378316550_4c7ed4ba4bf4003bf0cfb76bd3da7d40.jpg resize: (1080, 1632) 1378316550 -4.333776019189677 treat image : temp/1755809848_1373842_1378316506_e6664ad1a4c828bdadf01b6f7182ffb6.jpg resize: (1080, 1632) 1378316506 -4.279844032672044 treat image : temp/1755809848_1373842_1378316458_b299e4689e29bca0ba8f5933272e5260.jpg resize: (1080, 1632) 1378316458 -2.188025575202119 treat image : temp/1755809848_1373842_1378316435_d73ac59b2a4724ed6b88dde08d819194.jpg resize: (1080, 1632) 1378316435 -5.075723486484037 treat image : temp/1755809848_1373842_1378316407_29d4eea6995bc6cd03d45b29e3eb4fc2.jpg resize: (1080, 1632) 1378316407 -4.6425102299496706 treat image : temp/1755809848_1373842_1378316378_ee4371049c8863a10cd02ab1cf1adcd5.jpg resize: (1080, 1632) 1378316378 -1.9509414086833707 treat image : temp/1755809848_1373842_1378311714_e9fcc66a6e40433a3bcd984e2041ff39.jpg resize: (1080, 1632) 1378311714 -4.531390410062917 treat image : temp/1755809848_1373842_1378311626_6e925fdea1f5f08b69cc4ca40fea8241.jpg resize: (1080, 1632) 1378311626 -5.614532982301628 treat image : temp/1755809848_1373842_1378311527_3640e5fbafe781e6a532d8eab6c3d892.jpg resize: (1080, 1632) 1378311527 -4.033998862325171 treat image : temp/1755809848_1373842_1378311438_e12d6bc0f9c235b817586e5d0c3ad478.jpg resize: (1080, 1632) 1378311438 -5.737345531347048 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.01271820068359375 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.011928796768188477 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017011404037475586 save missing photos in datou_result : time spend for datou_step_exec : 18.317983150482178 time spend to save output : 0.04668259620666504 total time spend for step 1 : 18.364665746688843 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.91user 5.25system 0:24.09elapsed 83%CPU (0avgtext+0avgdata 140944maxresident)k 376inputs+9240outputs (17major+258660minor)pagefaults 0swaps