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 : 1149425 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1149425/ 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 : 3.0587053298950195 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 Sat Jul 19 05:32:32 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/1752895949_1149425_1372310906_bc8340772f64b86bd4faae2d9e505aba.jpg resize: (1080, 1632) 1372310906 -5.095364088060933 treat image : temp/1752895949_1149425_1372310896_cc4523e19ef062a0ecccb7a4040ae44b.jpg resize: (1080, 1632) 1372310896 -1.5959288903729079 treat image : temp/1752895949_1149425_1372310853_84ca09afdcec657c8de70fcfe994ac0d.jpg resize: (1080, 1632) 1372310853 -4.470219428797649 treat image : temp/1752895949_1149425_1372310820_1126390dd9dc76e4812130be2e4cafd3.jpg resize: (1080, 1632) 1372310820 -4.661932967458863 treat image : temp/1752895949_1149425_1372310816_0e615bfdac3b4baac6a3bd0fc7c141c3.jpg resize: (1080, 1632) 1372310816 -3.503444358193967 treat image : temp/1752895949_1149425_1372310811_e1e51390e0e59234e078106193e6c751.jpg resize: (1080, 1632) 1372310811 -3.8449157212569878 treat image : temp/1752895949_1149425_1372310805_254496854ff8fbdeae5d6f13300d3e53.jpg resize: (1080, 1632) 1372310805 -3.7093310444879015 treat image : temp/1752895949_1149425_1372310800_c145aab62eccb3c62eefdb857d9c6dd9.jpg resize: (1080, 1632) 1372310800 -4.41180491102131 treat image : temp/1752895949_1149425_1372310789_b2c114771900cd165567be2630d70422.jpg resize: (1080, 1632) 1372310789 -4.422872708726712 treat image : temp/1752895949_1149425_1372310764_f67e17753f0e36b122eb43f2f956bc94.jpg resize: (1080, 1632) 1372310764 -4.454424015169811 treat image : temp/1752895949_1149425_1372310760_06b564c875dcd4391ca3709bd434b4da.jpg resize: (1080, 1632) 1372310760 -3.7576266185477345 treat image : temp/1752895949_1149425_1372310756_38d4864f259596f18bdf8c766bd77583.jpg resize: (1080, 1632) 1372310756 -1.4907625880703814 treat image : temp/1752895949_1149425_1372310753_4c86862951d5f7badb658b628ce7c20c.jpg resize: (1080, 1632) 1372310753 -2.561215251229835 treat image : temp/1752895949_1149425_1372310751_13c8b891ce5db781060a199121a4cbff.jpg resize: (1080, 1632) 1372310751 -2.596235481587287 treat image : temp/1752895949_1149425_1372310740_e671f687378654a33bae492b5e177e91.jpg resize: (1080, 1632) 1372310740 -1.786481522353668 treat image : temp/1752895949_1149425_1372310722_6cd41b235c24256bc9df5d869753d03b.jpg resize: (1080, 1632) 1372310722 -2.4967263584202675 treat image : temp/1752895949_1149425_1372310720_84a7129f2f7204cbeb2bf8ddbe483e9e.jpg resize: (1080, 1632) 1372310720 -1.3328360405264723 treat image : temp/1752895949_1149425_1372310715_2d492394203053f6cae3357fb75696a1.jpg resize: (1080, 1632) 1372310715 -2.88340999074762 treat image : temp/1752895949_1149425_1372310712_e8f3045374c2e9d70b675f08807b636b.jpg resize: (1080, 1632) 1372310712 -3.962322466677696 treat image : temp/1752895949_1149425_1372310708_e1d36ee1e9f7ead4dd58534b885f6eff.jpg resize: (1080, 1632) 1372310708 -3.4604803245776523 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.013441085815429688 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.013871908187866211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015901565551757812 save missing photos in datou_result : time spend for datou_step_exec : 15.489679336547852 time spend to save output : 0.04804420471191406 total time spend for step 1 : 15.537723541259766 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.29user 3.64system 0:22.09elapsed 81%CPU (0avgtext+0avgdata 137924maxresident)k 176inputs+7344outputs (16major+259288minor)pagefaults 0swaps