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 : 200495 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 : 2604>100 please execute split_portfolio.py -i 20528746 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2584364'] with mtr_portfolio_ids : ['20528746'] and first list_photo_ids : [] new path : /proc/200495/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.8159964084625244 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 Feb 14 12:02: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/1739530949_200495_1337604979_72fb85b83a49d7867748c4d24239ba1a.jpg resize: (1080, 1632) 1337604979 -4.166899253178474 treat image : temp/1739530949_200495_1337604975_cf21482a3fba7128b96fc45714be7385.jpg resize: (1080, 1632) 1337604975 -6.2264896915129855 treat image : temp/1739530949_200495_1337604972_8c0cb2a69f973fc00aec3f9807c7e9bd.jpg resize: (1080, 1632) 1337604972 -6.356290531134396 treat image : temp/1739530949_200495_1337604969_9ca40b55f6f3a6764a73ba6dbc3f7d2f.jpg resize: (1080, 1632) 1337604969 -5.9734229702213675 treat image : temp/1739530949_200495_1337604948_f85f61d3f570f618d1a83ef7447599a3.jpg resize: (1080, 1632) 1337604948 -6.614228549538122 treat image : temp/1739530949_200495_1337604945_1805caa1f21f1d145ce9acedb9bd99fd.jpg resize: (1080, 1632) 1337604945 -6.598313751466126 treat image : temp/1739530949_200495_1337604943_fa6259d836f3f732f61eecdb9b1b7469.jpg resize: (1080, 1632) 1337604943 -6.208474032314145 treat image : temp/1739530949_200495_1337604940_57a22add95f14ef8d6156cca7b586a04.jpg resize: (1080, 1632) 1337604940 -6.324291109324782 treat image : temp/1739530949_200495_1337604934_8e8086971481df1258205f06ffb17c9c.jpg resize: (1080, 1632) 1337604934 -5.746691767373537 treat image : temp/1739530949_200495_1337604914_8697c43895f3a1fc6082a7677f3599ab.jpg resize: (1080, 1632) 1337604914 -2.2953924442355533 treat image : temp/1739530949_200495_1337604910_54d852cb9b8ef32eb0de1993188820a3.jpg resize: (1080, 1632) 1337604910 -5.149319464948728 treat image : temp/1739530949_200495_1337604908_bfc4411f611f843de1064ae14e13278d.jpg resize: (1080, 1632) 1337604908 -6.59122181002775 treat image : temp/1739530949_200495_1337604906_b9fe70483150cb286e82b58928eb0e30.jpg resize: (1080, 1632) 1337604906 -5.677455013123053 treat image : temp/1739530949_200495_1337604903_82b9f005c25d189e5c817c395924d296.jpg resize: (1080, 1632) 1337604903 -6.7035586956607265 treat image : temp/1739530949_200495_1337604892_f9981a40d55a010fc79c70ee29db1f1e.jpg resize: (1080, 1632) 1337604892 -5.4841983341517535 treat image : temp/1739530949_200495_1337604884_6f9ab3c5d377d90cd503e036a7c3228e.jpg resize: (1080, 1632) 1337604884 -6.167709238650872 treat image : temp/1739530949_200495_1337604880_7d205bb3ec2fbcff2eb8a3d749ecc8f8.jpg resize: (1080, 1632) 1337604880 -4.925578593139934 treat image : temp/1739530949_200495_1337604875_4189740bb1b4a5c094af184e19bbbc52.jpg resize: (1080, 1632) 1337604875 -2.5390673062618903 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 : 18 time used for this insertion : 0.013486385345458984 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012103796005249023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014841318130493164 save missing photos in datou_result : time spend for datou_step_exec : 15.079033374786377 time spend to save output : 0.04564642906188965 total time spend for step 1 : 15.124679803848267 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.60user 4.21system 0:21.16elapsed 84%CPU (0avgtext+0avgdata 137232maxresident)k 3368inputs+10576outputs (31major+206041minor)pagefaults 0swaps