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 : 3166862 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 : 1067>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/3166862/ 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.7440800666809082 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 Mon Mar 17 09:47: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/1742201248_3166862_1344678993_d00602718608adce409eb9d52396424d.jpg resize: (1080, 1632) 1344678993 -6.554024872146435 treat image : temp/1742201248_3166862_1344678980_8cec037cf091aa33d14bf0326ab0c0fb.jpg resize: (1080, 1632) 1344678980 -5.9918388517970795 treat image : temp/1742201248_3166862_1344678970_b2642ae6855a2c8878711b858f74b911.jpg resize: (1080, 1632) 1344678970 -6.015282594515708 treat image : temp/1742201248_3166862_1344678956_37e50e72d6037c85ff8907b9d3fe4e54.jpg resize: (1080, 1632) 1344678956 -3.8780672752916194 treat image : temp/1742201248_3166862_1344678925_6499d35df083c7c658e3962733f334d7.jpg resize: (1080, 1632) 1344678925 -6.2364524806425585 treat image : temp/1742201248_3166862_1344678793_9f707e4e3b15ad79c442936accdbca73.jpg resize: (1080, 1632) 1344678793 -2.7526610847813973 treat image : temp/1742201248_3166862_1344678785_e98a3b827594e1d6280d8b26757e2605.jpg resize: (1080, 1632) 1344678785 -2.7887182584808565 treat image : temp/1742201248_3166862_1344678775_4c42a83c6b7bb2fbcedfb6ae3214372a.jpg resize: (1080, 1632) 1344678775 -3.8480207756173384 treat image : temp/1742201248_3166862_1344678771_11b45d3ca3ae2f723ab3be3568a8b6db.jpg resize: (1080, 1632) 1344678771 -5.242577030273187 treat image : temp/1742201248_3166862_1344678758_9c77c578292854a2dfd607452c668d47.jpg resize: (1080, 1632) 1344678758 -6.63511283212122 treat image : temp/1742201248_3166862_1344678753_954c943746b52401dfbd374903c309fc.jpg resize: (1080, 1632) 1344678753 -6.556801650358837 treat image : temp/1742201248_3166862_1344678658_d7145e758db6c9e99815003eb2461ef8.jpg resize: (1080, 1632) 1344678658 -5.609276167360987 treat image : temp/1742201248_3166862_1344678624_27b9c9f8e0952182114e1c6296a0b621.jpg resize: (1080, 1632) 1344678624 -6.352180181691597 treat image : temp/1742201248_3166862_1344678589_4795d1a039141420ef6e4956ab0cfcea.jpg resize: (1080, 1632) 1344678589 -5.035102961278256 treat image : temp/1742201248_3166862_1344678575_3cf3a06525951dfd83b203debe79d07f.jpg resize: (1080, 1632) 1344678575 -4.439679861847393 treat image : temp/1742201248_3166862_1344678547_4f0ce260cf48947129eff4b4543fb8ae.jpg resize: (1080, 1632) 1344678547 -2.230020433582053 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.011902332305908203 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.012009859085083008 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.014693737030029297 save missing photos in datou_result : time spend for datou_step_exec : 13.481798887252808 time spend to save output : 0.04345965385437012 total time spend for step 1 : 13.525258541107178 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 12.18user 3.67system 0:19.41elapsed 81%CPU (0avgtext+0avgdata 140444maxresident)k 152inputs+9000outputs (15major+219367minor)pagefaults 0swaps