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 : 3485156 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 : 2565>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/3485156/ 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.2312190532684326 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 16:52: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/1747147948_3485156_1357863831_d05c78d6826bf12d0893f10fa83e906c.jpg resize: (1080, 1632) 1357863831 -1.1167698229114655 treat image : temp/1747147948_3485156_1357863829_bde439155edc39c8aa2cd8773b840b50.jpg resize: (1080, 1632) 1357863829 -2.7580889087252287 treat image : temp/1747147948_3485156_1357863827_a2488973de94f04104a3f86c0f294c53.jpg resize: (1080, 1632) 1357863827 -2.574176701197208 treat image : temp/1747147948_3485156_1357863824_217ec08109b1dfae48d0b3c4b9756312.jpg resize: (1080, 1632) 1357863824 -2.6933025680639733 treat image : temp/1747147948_3485156_1357863822_9fb8bec9c99af10fe6896b6f7630ccd3.jpg resize: (1080, 1632) 1357863822 -3.3145139772067633 treat image : temp/1747147948_3485156_1357863763_4e877e651eab1b0d0ec12374cb472139.jpg resize: (1080, 1632) 1357863763 -5.053827184456111 treat image : temp/1747147948_3485156_1357863760_cf43a2afe3d7ac25506d2f2b01bfc72d.jpg resize: (1080, 1632) 1357863760 -5.847846802540079 treat image : temp/1747147948_3485156_1357863757_49ea9a570e7e89d483c3cdb7b416d8c2.jpg resize: (1080, 1632) 1357863757 -6.178326001549636 treat image : temp/1747147948_3485156_1357863755_7844c12415c30ea56e4852e398f119fe.jpg resize: (1080, 1632) 1357863755 -5.180442573596082 treat image : temp/1747147948_3485156_1357863752_aae6c1c340cfcd58a7d18b50c5dda65a.jpg resize: (1080, 1632) 1357863752 -4.720231666236818 treat image : temp/1747147948_3485156_1357863750_f9854e01131aef2aee4cf4b2bcb19f7b.jpg resize: (1080, 1632) 1357863750 -1.1908425493079235 treat image : temp/1747147948_3485156_1357863704_73d2e55fb53638c7cb68156887b73489.jpg resize: (1080, 1632) 1357863704 -1.5447652361861655 treat image : temp/1747147948_3485156_1357863702_d306a558d41d3ce42dc9f211eb408485.jpg resize: (1080, 1632) 1357863702 -3.1405078364773 treat image : temp/1747147948_3485156_1357863699_648f2b681c2f7cddeeb7c32501132184.jpg resize: (1080, 1632) 1357863699 -5.847388040610213 treat image : temp/1747147948_3485156_1357863696_c76f256cfe9a6e4f1baa60aacc8de318.jpg resize: (1080, 1632) 1357863696 -5.4301256677104055 treat image : temp/1747147948_3485156_1357863692_53ce2539994cb055b23ae466f9a46738.jpg resize: (1080, 1632) 1357863692 -3.9572190454234826 treat image : temp/1747147948_3485156_1357863689_1177e160d79e1c2e326c6a324ad57cc3.jpg resize: (1080, 1632) 1357863689 -5.190812964267129 treat image : temp/1747147948_3485156_1357863650_9806e97cd54f0370d94a5fcace7b9f42.jpg resize: (1080, 1632) 1357863650 -3.489310812505587 treat image : temp/1747147948_3485156_1357863648_fcce74283b0b8ce795ae9c28c016ed9f.jpg resize: (1080, 1632) 1357863648 -4.134163107136143 treat image : temp/1747147948_3485156_1357863647_4dc33c0d5dd146d089bd1c0e6b3e1e2d.jpg resize: (1080, 1632) 1357863647 -5.865021921380333 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.014285564422607422 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.013622045516967773 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014736652374267578 save missing photos in datou_result : time spend for datou_step_exec : 16.9372501373291 time spend to save output : 0.04776453971862793 total time spend for step 1 : 16.98501467704773 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.27user 4.43system 0:21.90elapsed 90%CPU (0avgtext+0avgdata 140932maxresident)k 104inputs+9432outputs (4major+253775minor)pagefaults 0swaps