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 : 2443994 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/2443994/ 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.2962653636932373 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 Jul 18 03:57: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/1752803848_2443994_1372327936_aebc25787cf4f79fb630e331f4b6cac2.jpg resize: (1080, 1632) 1372327936 -3.737896018926822 treat image : temp/1752803848_2443994_1372327934_6cd373808b2404584cfc6464cae2550b.jpg resize: (1080, 1632) 1372327934 -4.896623670634447 treat image : temp/1752803848_2443994_1372327930_0e0e57f0e14938ed9dd91aa2117d7d3e.jpg resize: (1080, 1632) 1372327930 -3.4358413934807572 treat image : temp/1752803848_2443994_1372327907_b4ce72881df7f7ef95f9d8022a66806e.jpg resize: (1080, 1632) 1372327907 -5.186145294834546 treat image : temp/1752803848_2443994_1372327904_c58945fdcae6a3f81ee1d4b7d0a83e86.jpg resize: (1080, 1632) 1372327904 20.0 treat image : temp/1752803848_2443994_1372327903_3b5e5f9a6c2ebf8b76910a320a1a6693.jpg resize: (1080, 1632) 1372327903 -1.779862838256978 treat image : temp/1752803848_2443994_1372327901_fe529cfd5632be5ed4e755ce012a1801.jpg resize: (1080, 1632) 1372327901 -2.646698224539142 treat image : temp/1752803848_2443994_1372327900_9cad45340b29431f1323a1d21db72d3c.jpg resize: (1080, 1632) 1372327900 -4.313066670058807 treat image : temp/1752803848_2443994_1372327898_157390e3c5d7ff62cf2ebdba8942fd9b.jpg resize: (1080, 1632) 1372327898 -1.6875290318471985 treat image : temp/1752803848_2443994_1372327869_cae0a3050c76c3696fc4488d74b23cce.jpg resize: (1080, 1632) 1372327869 -2.930131392415961 treat image : temp/1752803848_2443994_1372327847_4ad42d79781a8bbc3ad18fd429ff387f.jpg resize: (1080, 1632) 1372327847 -2.669011616471271 treat image : temp/1752803848_2443994_1372327843_771bdc9171c476508f2896a3da897639.jpg resize: (1080, 1632) 1372327843 -2.5121457190331444 treat image : temp/1752803848_2443994_1372327841_05348655f8fcc0c489eee3293697534d.jpg resize: (1080, 1632) 1372327841 -3.5062824667660926 treat image : temp/1752803848_2443994_1372327839_b79f89dcee674ac6e4d3398e4710ae00.jpg resize: (1080, 1632) 1372327839 -5.743249746264178 treat image : temp/1752803848_2443994_1372327836_75d4d18f42a19bb30793eee6add2f21b.jpg resize: (1080, 1632) 1372327836 -5.2100821836999165 treat image : temp/1752803848_2443994_1372327834_631678ba6f39c16d5a1028c834056e2a.jpg resize: (1080, 1632) 1372327834 -4.9766653611098555 treat image : temp/1752803848_2443994_1372327818_ad5fe8b52b023dcadb9010230f00d80e.jpg resize: (1080, 1632) 1372327818 -4.2227752026575915 treat image : temp/1752803848_2443994_1372327813_5eeb73cdcb36ed84f323cb2de7033d7c.jpg resize: (1080, 1632) 1372327813 -5.117165314842145 treat image : temp/1752803848_2443994_1372327809_9ea120b715c90581b148147b875f59f7.jpg resize: (1080, 1632) 1372327809 -4.8061469585348 treat image : temp/1752803848_2443994_1372327808_8c8f44e7f8c8e8362eb93c3cc3f284c3.jpg resize: (1080, 1632) 1372327808 -5.280458800945263 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.012681007385253906 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.3829686641693115 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014725685119628906 save missing photos in datou_result : time spend for datou_step_exec : 15.290062665939331 time spend to save output : 0.4156379699707031 total time spend for step 1 : 15.705700635910034 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.83user 4.08system 0:21.66elapsed 82%CPU (0avgtext+0avgdata 139780maxresident)k 88inputs+8192outputs (17major+259649minor)pagefaults 0swaps