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 : 1841089 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 list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/1841089/ 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.07826828956604 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 Feb 6 02:17: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/1738804647_1841089_1335083689_622a0134cd4e7dfcb8aa873f615e2fec.jpg resize: (1080, 1632) 1335083689 -6.682354498590349 treat image : temp/1738804647_1841089_1335083687_e5f346584760e5637d484d1e816d0793.jpg resize: (1080, 1632) 1335083687 -6.533131965084487 treat image : temp/1738804647_1841089_1335083628_ff7e11827b4ae2201221b83238007ebe.jpg resize: (1080, 1632) 1335083628 -6.243153427072362 treat image : temp/1738804647_1841089_1335083575_ed4e7f026b124acabe1efcaec41442f9.jpg resize: (1080, 1632) 1335083575 -6.071570270971203 treat image : temp/1738804647_1841089_1335083573_9fb143bcf68c68fe2f43d24238edee26.jpg resize: (1080, 1632) 1335083573 -6.212408760212015 treat image : temp/1738804647_1841089_1335083570_d7136e2dc351098d09a356593b119a19.jpg resize: (1080, 1632) 1335083570 -5.68962000069982 treat image : temp/1738804647_1841089_1335083558_b80a46ee337797404407b0d3a445012e.jpg resize: (1080, 1632) 1335083558 -6.131120637235893 treat image : temp/1738804647_1841089_1335083555_fc511e6a1dd3953c78071202d5336c27.jpg resize: (1080, 1632) 1335083555 -5.954997960442463 treat image : temp/1738804647_1841089_1335083552_19dbbb270196370506f17d25876cc635.jpg resize: (1080, 1632) 1335083552 -4.979607607597493 treat image : temp/1738804647_1841089_1335083549_df9f5631da8e5dd0dbfa938334d58ea7.jpg resize: (1080, 1632) 1335083549 -6.192452126025256 treat image : temp/1738804647_1841089_1335083546_7ba1a03be3e9897bae3351ab2efaeb4b.jpg resize: (1080, 1632) 1335083546 -6.496007418000841 treat image : temp/1738804647_1841089_1335083545_81c6018ae5e47b30f6ac1062d34bce8f.jpg resize: (1080, 1632) 1335083545 -5.736822020945361 treat image : temp/1738804647_1841089_1335083542_00245e37c3054dc6ccb8563eaef54eea.jpg resize: (1080, 1632) 1335083542 -2.5994050283553745 treat image : temp/1738804647_1841089_1335083539_aeb2dd289913a80ff3c0619b6034eaa7.jpg resize: (1080, 1632) 1335083539 -3.990807091711682 treat image : temp/1738804647_1841089_1335083536_deea91070e53f4580384eb8bd34e0ee3.jpg resize: (1080, 1632) 1335083536 -4.494595874310235 treat image : temp/1738804647_1841089_1335083519_37ea123f485a5888b4a562fbc9d079d5.jpg resize: (1080, 1632) 1335083519 -6.02551923238773 treat image : temp/1738804647_1841089_1335083516_8939929003147b60e6d2798f52e1c3dd.jpg resize: (1080, 1632) 1335083516 -5.774749363648896 treat image : temp/1738804647_1841089_1335083491_9e0c2ff96ed9268e139192b5d143a804.jpg resize: (1080, 1632) 1335083491 -4.94168802539141 treat image : temp/1738804647_1841089_1335083431_1cbd11b0ab51faf025dd2ef1d3e04baa.jpg resize: (1080, 1632) 1335083431 -5.1104446476175 treat image : temp/1738804647_1841089_1335083427_10bcfcea2390d2f74b6aef74fcd04b88.jpg resize: (1080, 1632) 1335083427 -5.60034136534436 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.012839794158935547 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.2899515628814697 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.11788821220397949 save missing photos in datou_result : time spend for datou_step_exec : 13.449859619140625 time spend to save output : 0.4251902103424072 total time spend for step 1 : 13.875049829483032 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 1.77system 0:17.95elapsed 90%CPU (0avgtext+0avgdata 140680maxresident)k 96inputs+11480outputs (15major+118764minor)pagefaults 0swaps