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 : 1262564 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 : 2621>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/1262564/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 1.9385666847229004 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 Tue Aug 12 16:32:30 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/1755009148_1262564_1376636663_fda31ab992c253866bf85c114bcd0867.jpg resize: (1080, 1632) 1376636663 -4.900132409553382 treat image : temp/1755009148_1262564_1376636660_08e05973859ce2c800dc2cc6147f5bac.jpg resize: (1080, 1632) 1376636660 -4.6599405654153205 treat image : temp/1755009148_1262564_1376636658_83c9c166b1a32b80bcd95414ceb79064.jpg resize: (1080, 1632) 1376636658 -4.652967206926198 treat image : temp/1755009148_1262564_1376636657_02c1332a3d7caef76476779e626e1a05.jpg resize: (1080, 1632) 1376636657 -4.276431724113164 treat image : temp/1755009148_1262564_1376636654_d61b0419d8312c6a170777f3f39a14b2.jpg resize: (1080, 1632) 1376636654 -4.283611478522396 treat image : temp/1755009148_1262564_1376636609_ff803e81136180e42200afe69fe217e8.jpg resize: (1080, 1632) 1376636609 -1.5499013905400978 treat image : temp/1755009148_1262564_1376636592_f512d084d6d06d5c57432f5e9e630f43.jpg resize: (1080, 1632) 1376636592 -1.599772306873079 treat image : temp/1755009148_1262564_1376636588_a16a413236c96259d879cc98eca73618.jpg resize: (1080, 1632) 1376636588 -4.909659054037646 treat image : temp/1755009148_1262564_1376636568_de90e404fde7f383371571d9b5efb6a1.jpg resize: (1080, 1632) 1376636568 -5.910485957779694 treat image : temp/1755009148_1262564_1376636565_3a54e0e16bfd42e354462a51283d7937.jpg resize: (1080, 1632) 1376636565 -5.988679392007603 treat image : temp/1755009148_1262564_1376636562_f1f8311df4d7a4a1af78192b8498590a.jpg resize: (1080, 1632) 1376636562 -5.088037436008105 treat image : temp/1755009148_1262564_1376636557_fa731294755d4728c403e28eeb166e40.jpg resize: (1080, 1632) 1376636557 -4.009823707212284 treat image : temp/1755009148_1262564_1376636551_78ec498ffc714eafd31c76f7fe13c25f.jpg resize: (1080, 1632) 1376636551 -5.325478569672315 treat image : temp/1755009148_1262564_1376636549_3f5f761b2ef3758bd55e07f32290eb65.jpg resize: (1080, 1632) 1376636549 -1.0796005808072366 treat image : temp/1755009148_1262564_1376636429_c80a56feefae3df6b37febca0252f2c9.jpg resize: (1080, 1632) 1376636429 -4.558702941091332 treat image : temp/1755009148_1262564_1376636426_86f6f81f450dc125cd003b41e3883f76.jpg resize: (1080, 1632) 1376636426 -5.157574850458117 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 : 16 time used for this insertion : 0.012733936309814453 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.011936426162719727 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.01411581039428711 save missing photos in datou_result : time spend for datou_step_exec : 10.80672001838684 time spend to save output : 0.04395008087158203 total time spend for step 1 : 10.850670099258423 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 11.56user 1.51system 0:16.15elapsed 80%CPU (0avgtext+0avgdata 139784maxresident)k 112inputs+7440outputs (1major+115472minor)pagefaults 0swaps