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 : 1311610 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 : 429>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1311610/ 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.401303768157959 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 Wed May 21 06:27:28 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/1747801646_1311610_1359966969_6e9ed138b3949ebef9b8d2bfaf563295.jpg resize: (1080, 1632) 1359966969 -5.893868286845994 treat image : temp/1747801646_1311610_1359966966_998c7fc3af29ca2a13601b8133eca7f4.jpg resize: (1080, 1632) 1359966966 -3.771209100505595 treat image : temp/1747801646_1311610_1359966962_579e109a04a11df2b51989a762eb998f.jpg resize: (1080, 1632) 1359966962 -5.785336457617228 treat image : temp/1747801646_1311610_1359966959_725c4c604a80aa26ac5e5a9d0e32b916.jpg resize: (1080, 1632) 1359966959 -2.874658876701695 treat image : temp/1747801646_1311610_1359966955_532c76e7c6be0b01d0c527ff88be1e52.jpg resize: (1080, 1632) 1359966955 -0.44692058934448897 treat image : temp/1747801646_1311610_1359966930_6b4763e314e35adfde3e888522f1de2e.jpg resize: (1080, 1632) 1359966930 -5.934642705305581 treat image : temp/1747801646_1311610_1359966928_7aae678374b0c17ed278003d724e5ab6.jpg resize: (1080, 1632) 1359966928 -2.695904951013401 treat image : temp/1747801646_1311610_1359966926_69d221f2ffe14761dcaa72222c2d43d5.jpg resize: (1080, 1632) 1359966926 -5.1733863007433705 treat image : temp/1747801646_1311610_1359966924_9f9cb4308c70a59d10d21b66f7a3bc44.jpg resize: (1080, 1632) 1359966924 -5.1164696396064295 treat image : temp/1747801646_1311610_1359966887_bb90fd408ea9c23f62b4d7d276f12e36.jpg resize: (1080, 1632) 1359966887 -1.9824180151789639 treat image : temp/1747801646_1311610_1359966885_39588789cd6e81da4320c861a416311d.jpg resize: (1080, 1632) 1359966885 -1.3205472828812779 treat image : temp/1747801646_1311610_1359966883_ca1f675f9a0723f32c0f3496ae1127eb.jpg resize: (1080, 1632) 1359966883 -5.89911964555365 treat image : temp/1747801646_1311610_1359966881_9c2c2defbb4a697325ead48b1599e81e.jpg resize: (1080, 1632) 1359966881 -5.600418683696734 treat image : temp/1747801646_1311610_1359966861_cd7d5bb88ca1f7fcfb16a2e09467f932.jpg resize: (1080, 1632) 1359966861 -3.141362025764284 treat image : temp/1747801646_1311610_1359966859_94e505cb8c458aa8050466f575c6adb7.jpg resize: (1080, 1632) 1359966859 -6.257746148316595 treat image : temp/1747801646_1311610_1359966855_d82a9b8fe05cb7854187f1c97e77e5d2.jpg resize: (1080, 1632) 1359966855 -6.328730934341517 treat image : temp/1747801646_1311610_1359966852_387ce84e001dd287501689ea41d6b873.jpg resize: (1080, 1632) 1359966852 -5.456817784994359 treat image : temp/1747801646_1311610_1359966849_ecbc0da844a524a4123ee3a7de7aaa71.jpg resize: (1080, 1632) 1359966849 -3.564389680713919 treat image : temp/1747801646_1311610_1359966828_7859847b2157620372bc69fed253c202.jpg resize: (1080, 1632) 1359966828 -6.543540892139898 treat image : temp/1747801646_1311610_1359966825_bdc0a3b6d5694cc50a2727f550d5fcc7.jpg resize: (1080, 1632) 1359966825 -6.121004051763627 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.012763261795043945 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.016962766647338867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021159648895263672 save missing photos in datou_result : time spend for datou_step_exec : 16.2075092792511 time spend to save output : 0.05552959442138672 total time spend for step 1 : 16.263038873672485 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.53user 4.48system 0:20.20elapsed 94%CPU (0avgtext+0avgdata 137880maxresident)k 144inputs+9984outputs (18major+259503minor)pagefaults 0swaps