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 : 1495746 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 : 4540>100 please execute split_portfolio.py -i 25245749 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3331975'] with mtr_portfolio_ids : ['25245749'] and first list_photo_ids : [] new path : /proc/1495746/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 12 ; length of list_pids : 12 ; length of list_args : 12 time to download the photos : 1.273026943206787 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 Jul 24 14:17:27 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/1753359445_1495746_1373532890_26564c2e159ff0299e38425d527b03b6.jpg resize: (1080, 1632) 1373532890 -1.4248415547952225 treat image : temp/1753359445_1495746_1373532887_f6d0f36d754e7918c88bb480e48b98bb.jpg resize: (1080, 1632) 1373532887 -2.818415569216712 treat image : temp/1753359445_1495746_1373532861_2b4be0e72cdaadb8db1aff80ac13b9bc.jpg resize: (1080, 1632) 1373532861 -3.069447572599433 treat image : temp/1753359445_1495746_1373532860_a5b51e8ac129d269434274e88951d595.jpg resize: (1080, 1632) 1373532860 -2.8690632391848565 treat image : temp/1753359445_1495746_1373532858_dc098ca2ce6dcbbe8e571a2f01455c62.jpg resize: (1080, 1632) 1373532858 -3.197160658979428 treat image : temp/1753359445_1495746_1373532826_e52dc32e5a1d4dd8e7a49672b164f7d6.jpg resize: (1080, 1632) 1373532826 -3.202182771407915 treat image : temp/1753359445_1495746_1373532771_c9e9d6fb4b8f31b376a681057c2d83b6.jpg resize: (1080, 1632) 1373532771 -4.634388410983929 treat image : temp/1753359445_1495746_1373532768_638dfca7fadba79cb96ce7499d9b8676.jpg resize: (1080, 1632) 1373532768 -4.0994902310493115 treat image : temp/1753359445_1495746_1373532745_886f478e217e8bc950b67014ac9aa531.jpg resize: (1080, 1632) 1373532745 -4.1094029562564565 treat image : temp/1753359445_1495746_1373532723_78f346641c9772186e568ead910b14b6.jpg resize: (1080, 1632) 1373532723 -4.142408653007273 treat image : temp/1753359445_1495746_1373532720_215d5c8466000feac9f3ad5f835bc5d3.jpg resize: (1080, 1632) 1373532720 -4.141941165036384 treat image : temp/1753359445_1495746_1373532718_e3bed32daca1a7a2b63178cf0f5bf383.jpg resize: (1080, 1632) 1373532718 -4.569894094641927 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 : 12 time used for this insertion : 0.01497507095336914 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 12 time used for this insertion : 0.01457667350769043 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 12 time used for this insertion : 0.018335819244384766 save missing photos in datou_result : time spend for datou_step_exec : 9.916162967681885 time spend to save output : 0.05278348922729492 total time spend for step 1 : 9.96894645690918 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 12 set_done_treatment 9.33user 2.89system 0:12.74elapsed 95%CPU (0avgtext+0avgdata 137864maxresident)k 3960inputs+4696outputs (59major+181490minor)pagefaults 0swaps