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 : 3271178 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 : 3867>100 please execute split_portfolio.py -i 21089077 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2640530'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/3271178/ 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 : 3.152773380279541 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 Mar 6 20:02: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/1741287747_3271178_1341293063_52617a52f0793ff5076c464ad09a04ea.jpg resize: (1080, 1632) 1341293063 -5.8350847001697685 treat image : temp/1741287747_3271178_1341293060_ca7da9ff87ee8db039f854f93a815650.jpg resize: (1080, 1632) 1341293060 -6.061371715421687 treat image : temp/1741287747_3271178_1341293057_9b3522057a9a6a5b3f3b6f3a13a38419.jpg resize: (1080, 1632) 1341293057 -6.601295483981336 treat image : temp/1741287747_3271178_1341293053_c7e2327b73945c54c7d8de0ce9c788f5.jpg resize: (1080, 1632) 1341293053 -6.735750333736874 treat image : temp/1741287747_3271178_1341293048_4eb326d533e9b856f948f193fb0c68ac.jpg resize: (1080, 1632) 1341293048 -6.739448683100543 treat image : temp/1741287747_3271178_1341293044_46e16543acee6618226748ea09836c3c.jpg resize: (1080, 1632) 1341293044 -5.6681567323938635 treat image : temp/1741287747_3271178_1341293033_e9c373cf4c1bcb6c289dcba8696b1406.jpg resize: (1080, 1632) 1341293033 -6.450472993197935 treat image : temp/1741287747_3271178_1341293027_280110de373a8610321ea9ed1a60a934.jpg resize: (1080, 1632) 1341293027 -2.048798230032722 treat image : temp/1741287747_3271178_1341293019_e86ad800753e116e599d5dcc165a483e.jpg resize: (1080, 1632) 1341293019 -2.609196052144967 treat image : temp/1741287747_3271178_1341292995_e28cb26f74a8416d5f0be65cac8121ca.jpg resize: (1080, 1632) 1341292995 -5.0954657233767024 treat image : temp/1741287747_3271178_1341292985_915d6b4d5929657d448479c1897bc150.jpg resize: (1080, 1632) 1341292985 -6.206740247972152 treat image : temp/1741287747_3271178_1341292983_0ae53198afafc668cf724f27e13c5205.jpg resize: (1080, 1632) 1341292983 -5.429400606067042 treat image : temp/1741287747_3271178_1341292972_e066debb8019dedcce1a8b01b262e1d6.jpg resize: (1080, 1632) 1341292972 -6.253658288876437 treat image : temp/1741287747_3271178_1341292965_25d6989cae72ae690653192a7d5a82ca.jpg resize: (1080, 1632) 1341292965 -5.914180193315113 treat image : temp/1741287747_3271178_1341292959_c3e0b70342afa746ba3a78c5db5c2805.jpg resize: (1080, 1632) 1341292959 -5.840170771186625 treat image : temp/1741287747_3271178_1341266983_44ca67df029e2c6da60c29ebfed839b3.jpg resize: (1080, 1632) 1341266983 -5.043042100235924 treat image : temp/1741287747_3271178_1341266979_2807a87cc47a36622cc2b2f73a013d9e.jpg resize: (1080, 1632) 1341266979 -6.284346323457895 treat image : temp/1741287747_3271178_1341266974_b5d0f9d2ba964eb33ba487b7d7ca0be4.jpg resize: (1080, 1632) 1341266974 -5.046851112367382 treat image : temp/1741287747_3271178_1341266799_2e391053a3381bd1d8008f1fac473b76.jpg resize: (1080, 1632) 1341266799 -4.08691098273849 treat image : temp/1741287747_3271178_1341266795_2ca5f1ec28d6b2d8402c06d2a06fae30.jpg resize: (1080, 1632) 1341266795 -4.424737449766005 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.012592315673828125 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.012860298156738281 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014848709106445312 save missing photos in datou_result : time spend for datou_step_exec : 19.045281887054443 time spend to save output : 0.37679409980773926 total time spend for step 1 : 19.422075986862183 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.81user 6.13system 0:24.90elapsed 88%CPU (0avgtext+0avgdata 138904maxresident)k 26120inputs+11640outputs (782major+258370minor)pagefaults 0swaps