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 : 871817 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 : 5121>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/871817/ 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 : 2.4191997051239014 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 25 17:47:29 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/1753458446_871817_1373777991_7fdb0f0caa4529102948dd0a83b5de7f.jpg resize: (1080, 1632) 1373777991 -5.882643409639724 treat image : temp/1753458446_871817_1373777989_4a93d3119d99292e31e8c7c533c40be4.jpg resize: (1080, 1632) 1373777989 -5.879292127592913 treat image : temp/1753458446_871817_1373777988_8dee9e6059d43a1aa2c91dcc6d577a48.jpg resize: (1080, 1632) 1373777988 -5.87730332929158 treat image : temp/1753458446_871817_1373777986_86ba9b3520f6775f57d4cd2eef0c0f0d.jpg resize: (1080, 1632) 1373777986 -5.876569950841527 treat image : temp/1753458446_871817_1373777984_2f90f2a77b97e2d5ad11fab475512ab9.jpg resize: (1080, 1632) 1373777984 -5.874909975701205 treat image : temp/1753458446_871817_1373777982_8f6c84daa9f24674a7c4a896ebbac60c.jpg resize: (1080, 1632) 1373777982 -5.863878422270015 treat image : temp/1753458446_871817_1373777963_be284e0e6966ced458de7e10b5edb9a1.jpg resize: (1080, 1632) 1373777963 -5.969254649750983 treat image : temp/1753458446_871817_1373777962_6dea228bfb2d8d8cc9e9f4deee1ed8d1.jpg resize: (1080, 1632) 1373777962 -5.900978304443189 treat image : temp/1753458446_871817_1373777960_a916b4af772c1f4266b0233262d13e50.jpg resize: (1080, 1632) 1373777960 -5.897079994879315 treat image : temp/1753458446_871817_1373777959_13718430ea7f4fe29921b349cf3037c4.jpg resize: (1080, 1632) 1373777959 -5.896656948418317 treat image : temp/1753458446_871817_1373777958_c6562f155cec08ce04a498e33bc2e740.jpg resize: (1080, 1632) 1373777958 -5.8853620199341 treat image : temp/1753458446_871817_1373777952_a4bb3f472eb60369d96803fdd7ebb0bf.jpg resize: (1080, 1632) 1373777952 -5.883495739160848 treat image : temp/1753458446_871817_1373777939_0e413b9fd044f545d413bbb3d7073ad0.jpg resize: (1080, 1632) 1373777939 -5.902584664708572 treat image : temp/1753458446_871817_1373777933_45a9076d496ed05544778c0d06e3a0a1.jpg resize: (1080, 1632) 1373777933 -5.911014931037195 treat image : temp/1753458446_871817_1373777929_8b9a5e300bdc487fb20101bae855f446.jpg resize: (1080, 1632) 1373777929 -5.921779090829831 treat image : temp/1753458446_871817_1373777927_189f8b1de319a6fc59976dfc9f7bd0bc.jpg resize: (1080, 1632) 1373777927 -5.917885623850828 treat image : temp/1753458446_871817_1373777920_0efecef37696b890480c3a475b6d8eba.jpg resize: (1080, 1632) 1373777920 -5.911109075639676 treat image : temp/1753458446_871817_1373777908_8c4869448644a7dca511dd8d60ffd15b.jpg resize: (1080, 1632) 1373777908 -5.917089743001767 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.014617919921875 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.011876106262207031 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.018906116485595703 save missing photos in datou_result : time spend for datou_step_exec : 15.515395879745483 time spend to save output : 0.05037331581115723 total time spend for step 1 : 15.56576919555664 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 14.03user 4.32system 0:19.89elapsed 92%CPU (0avgtext+0avgdata 138388maxresident)k 376inputs+10240outputs (17major+240457minor)pagefaults 0swaps