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 : 726807 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 updating current state to 1 we have a portfolio with more photos than limit : 3094>100 please execute split_portfolio.py -i 26552212 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3666578'] with mtr_portfolio_ids : ['26552212'] and first list_photo_ids : [] new path : /proc/726807/ 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 ! BFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 10 ; length of list_pids : 10 ; length of list_args : 10 time to download the photos : 1.4325637817382812 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 Fri Sep 5 16:22: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/1757082149_726807_1381790014_28f594e27bb8255944b3ca182ce76e4c_36798556.jpg resize: (1080, 1632) 1381790014 -5.514740945100719 treat image : temp/1757082149_726807_1381790011_187e7424cfdfd53daccb41ead3bf7098_79823625.jpg resize: (1080, 1632) 1381790011 -5.302447705693841 treat image : temp/1757082149_726807_1381790008_155989fd57196f6c9366984332049282_61167223.jpg resize: (1080, 1632) 1381790008 -4.176815431407873 treat image : temp/1757082149_726807_1381790005_eacc13bae8911c52915cf1728bbaabdf_43029632.jpg resize: (1080, 1632) 1381790005 -5.536581615306172 treat image : temp/1757082149_726807_1381790002_21957561fd67cbbcbd94c0375a083bf2_26864029.jpg resize: (1080, 1632) 1381790002 -5.535706551664871 treat image : temp/1757082149_726807_1381789999_7f47a2cf971d95877fdc877b1a8edb5c_63222740.jpg resize: (1080, 1632) 1381789999 -5.189613681088391 treat image : temp/1757082149_726807_1381789103_5c72f0a02bec31c3ad5f33e0aefde075_39968964.jpg resize: (1080, 1632) 1381789103 -5.197987041010293 treat image : temp/1757082149_726807_1381789097_625324cab7c99f9fd503dc6efa617d4f_38382930.jpg resize: (1080, 1632) 1381789097 -1.4120830771710509 treat image : temp/1757082149_726807_1381789092_477e8d8e99537b0786ff39f8f380509f_47571283.jpg resize: (1080, 1632) 1381789092 -1.1520818436840743 treat image : temp/1757082149_726807_1381789087_baeb57446c85e1b925c0a189f4950db9_36670893.jpg resize: (1080, 1632) 1381789087 -3.011127250418906 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 : 10 time used for this insertion : 0.011814594268798828 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 10 time used for this insertion : 0.0119476318359375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 10 time used for this insertion : 0.013981342315673828 save missing photos in datou_result : time spend for datou_step_exec : 7.605688810348511 time spend to save output : 0.042392730712890625 total time spend for step 1 : 7.648081541061401 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 10 set_done_treatment 7.72user 2.27system 0:12.93elapsed 77%CPU (0avgtext+0avgdata 142892maxresident)k 72inputs+4576outputs (0major+162484minor)pagefaults 0swaps