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 : 2471573 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 : 1414>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2471573/ 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.4052278995513916 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 May 16 06:57: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/1747371447_2471573_1358837016_029288e651a4699cf7e2b61f08fb225f.jpg resize: (1080, 1632) 1358837016 -5.147134474684583 treat image : temp/1747371447_2471573_1358836952_69628b00fba6d0c5ffd0f3d0d0ae9f41.jpg resize: (1080, 1632) 1358836952 -5.668726124770315 treat image : temp/1747371447_2471573_1358836925_ec68f85fcd705f3e06baafe8c0fc81ef.jpg resize: (1080, 1632) 1358836925 -5.671924916530621 treat image : temp/1747371447_2471573_1358836912_e08d2562a0ee1b6d85b592a30c67f704.jpg resize: (1080, 1632) 1358836912 -5.433246386438607 treat image : temp/1747371447_2471573_1358836686_528078c112ab0cfda769512761c114b4.jpg resize: (1080, 1632) 1358836686 -3.6450518068420648 treat image : temp/1747371447_2471573_1358836654_cb9dbeb3f4059d8fc7ee2f024fee50f4.jpg resize: (1080, 1632) 1358836654 -6.087534405842995 treat image : temp/1747371447_2471573_1358836648_d2dafa27feaa23285cbc70f678d54e65.jpg resize: (1080, 1632) 1358836648 -4.7059377627197705 treat image : temp/1747371447_2471573_1358836647_ae3501e1af7868a3c6f704e1bae017ea.jpg resize: (1080, 1632) 1358836647 -6.035963352350266 treat image : temp/1747371447_2471573_1358836644_5d1546f46634cd0fc6bec83f65a8925a.jpg resize: (1080, 1632) 1358836644 -6.067833164530916 treat image : temp/1747371447_2471573_1358836617_ed40e898bf7f2413ff5cb068a348b2dd.jpg resize: (1080, 1632) 1358836617 -5.115229745848888 treat image : temp/1747371447_2471573_1358835941_37bd5dc7d3484c2472a98dc0568c783a.jpg resize: (1080, 1632) 1358835941 -3.4579941924416646 treat image : temp/1747371447_2471573_1358835895_43980d6b9c72fa8c977190ec4b43d28d.jpg resize: (1080, 1632) 1358835895 -1.8845807993962487 treat image : temp/1747371447_2471573_1358835863_5f9503b07d9aa34b358f65193c49a41a.jpg resize: (1080, 1632) 1358835863 -1.7789872751882938 treat image : temp/1747371447_2471573_1358835306_4066fe46cfc1f15f173739e2037ab74b.jpg resize: (1080, 1632) 1358835306 -4.855939167592011 treat image : temp/1747371447_2471573_1358835255_030f56cde4af69abe566a41cc187eacd.jpg resize: (1080, 1632) 1358835255 -6.13047053983031 treat image : temp/1747371447_2471573_1358835204_1c6fb067c23ceb85402a9b0d86706cdf.jpg resize: (1080, 1632) 1358835204 -3.1052473588273024 treat image : temp/1747371447_2471573_1358835157_153fe6765d2a2039962536f72fe93a03.jpg resize: (1080, 1632) 1358835157 -4.930666677313092 treat image : temp/1747371447_2471573_1358835126_9c8c2d5cccf8907cf8a50011a95f358b.jpg resize: (1080, 1632) 1358835126 -5.223857547169967 treat image : temp/1747371447_2471573_1358835100_f68a5deb8326d62881774930f593a871.jpg resize: (1080, 1632) 1358835100 -5.873306122151207 treat image : temp/1747371447_2471573_1358834488_fdf8dbc840729a2e3f071c108a85332c.jpg resize: (1080, 1632) 1358834488 -6.11392981008424 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.017811059951782227 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 : 2.0806007385253906 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1338484287261963 save missing photos in datou_result : time spend for datou_step_exec : 15.92710280418396 time spend to save output : 2.236680507659912 total time spend for step 1 : 18.163783311843872 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 4.23system 0:23.03elapsed 80%CPU (0avgtext+0avgdata 142308maxresident)k 120inputs+10176outputs (6major+256320minor)pagefaults 0swaps