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 : 3092213 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 : 2049>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/3092213/ 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.14530873298645 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 May 13 15:02: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/1747141349_3092213_1357849940_7e5e4cbe99137d5aa6bffaae24acc0bd.jpg resize: (1080, 1632) 1357849940 -3.0609181766472107 treat image : temp/1747141349_3092213_1357849916_6cbdf8b0ddd1df7f312050024a6d0314.jpg resize: (1080, 1632) 1357849916 -3.376004991154991 treat image : temp/1747141349_3092213_1357849889_81b5b13d75f203cb91875d3a06c044e0.jpg resize: (1080, 1632) 1357849889 -4.345099381132991 treat image : temp/1747141349_3092213_1357849873_02f4d8b7755f8d47a4e3ad2bd3f0f9d8.jpg resize: (1080, 1632) 1357849873 -6.311187224504444 treat image : temp/1747141349_3092213_1357849868_d1ff1a6170a3677c40e16ca53d1c44f0.jpg resize: (1080, 1632) 1357849868 -3.7275016872236586 treat image : temp/1747141349_3092213_1357849841_4760555b1e2e2f896bb9301259c1f4a3.jpg resize: (1080, 1632) 1357849841 -0.9856659776872777 treat image : temp/1747141349_3092213_1357849835_92c6d72345d56858ecde9fa27d69f7ad.jpg resize: (1080, 1632) 1357849835 -5.659480743334827 treat image : temp/1747141349_3092213_1357849830_7bd3f9484418015fd49c2b987e8fe88c.jpg resize: (1080, 1632) 1357849830 -6.023175527172969 treat image : temp/1747141349_3092213_1357849824_5ad3ab52807e0e7034b818515328a142.jpg resize: (1080, 1632) 1357849824 -6.345499262316595 treat image : temp/1747141349_3092213_1357849817_5d6ad141feae921c08650ad22a79ddc6.jpg resize: (1080, 1632) 1357849817 -6.056636765590346 treat image : temp/1747141349_3092213_1357849775_7fe0212d414d520245315d08babe79b2.jpg resize: (1080, 1632) 1357849775 -6.057172760566125 treat image : temp/1747141349_3092213_1357849766_719e19cf733bd15b3af77c6ab890c30f.jpg resize: (1080, 1632) 1357849766 -3.869711840801281 treat image : temp/1747141349_3092213_1357849758_e975506740ee49291f210b572aee5146.jpg resize: (1080, 1632) 1357849758 -6.078489478059389 treat image : temp/1747141349_3092213_1357849750_4e5e0a47fd76afc99adc2ee392d70dd0.jpg resize: (1080, 1632) 1357849750 -5.7655013617148825 treat image : temp/1747141349_3092213_1357849742_f12b40c290f4c45f9f032ca32fc5257e.jpg resize: (1080, 1632) 1357849742 -6.947616407385779 treat image : temp/1747141349_3092213_1357849735_2f5a6e4a2e06a07c755826e0376ad9a3.jpg resize: (1080, 1632) 1357849735 -5.7131545999644695 treat image : temp/1747141349_3092213_1357849689_725659a3696a68f404a39978b611cf78.jpg resize: (1080, 1632) 1357849689 -5.935882174531449 treat image : temp/1747141349_3092213_1357849688_e673e41283b3e4bd4d86fb45e12bac42.jpg resize: (1080, 1632) 1357849688 -3.331591225984038 treat image : temp/1747141349_3092213_1357849684_e292787e77faedd5c6d56881e2de2575.jpg resize: (1080, 1632) 1357849684 -6.1173970116005485 treat image : temp/1747141349_3092213_1357849682_c22bfbdfd457c79f96feebf2624bf8aa.jpg resize: (1080, 1632) 1357849682 -6.09805368890046 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.013641595840454102 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.012902975082397461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014896154403686523 save missing photos in datou_result : time spend for datou_step_exec : 16.271469354629517 time spend to save output : 0.046950578689575195 total time spend for step 1 : 16.318419933319092 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.98user 3.89system 0:21.88elapsed 86%CPU (0avgtext+0avgdata 139964maxresident)k 0inputs+11520outputs (8major+260020minor)pagefaults 0swaps