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 : 1874151 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 : 3128>100 please execute split_portfolio.py -i 22109363 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2728262'] with mtr_portfolio_ids : ['22109363'] and first list_photo_ids : [] new path : /proc/1874151/ 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.835707426071167 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 Apr 17 18:57:32 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/1744909049_1874151_1350780470_d0ebada58526790e055bf0e54fe19bd8.jpg resize: (1080, 1632) 1350780470 -4.7991515434895895 treat image : temp/1744909049_1874151_1350780411_de469ef392c46a35afe100a2d908e8e3.jpg resize: (1080, 1632) 1350780411 -3.868539690153204 treat image : temp/1744909049_1874151_1350780358_8822bb8ca3a8cde519bf2702b13cd8c4.jpg resize: (1080, 1632) 1350780358 -5.2807758082890475 treat image : temp/1744909049_1874151_1350780302_a3e4ab653d27f4d372f6a901990e4f35.jpg resize: (1080, 1632) 1350780302 -5.419419672037066 treat image : temp/1744909049_1874151_1350780239_77f217666f9daf9546d18c2c65c6e469.jpg resize: (1080, 1632) 1350780239 -5.704820738497928 treat image : temp/1744909049_1874151_1350769389_0f5e3e8cd1639eb5cc2d806b3e11116b.jpg resize: (1080, 1632) 1350769389 -5.683009481724105 treat image : temp/1744909049_1874151_1350769349_0d0af7fe578856b469ac8c929615b053.jpg resize: (1080, 1632) 1350769349 -1.6923268697209823 treat image : temp/1744909049_1874151_1350769347_49dec004d45fa100c5e3d36a9f469630.jpg resize: (1080, 1632) 1350769347 -2.825023079872224 treat image : temp/1744909049_1874151_1350769297_fb44d5be809a7030d8d57982adb25317.jpg resize: (1080, 1632) 1350769297 -6.023911780369846 treat image : temp/1744909049_1874151_1350769293_39a850bfa538a9cf5e5460c0db3cf474.jpg resize: (1080, 1632) 1350769293 -5.887740712831261 treat image : temp/1744909049_1874151_1350769291_9299f7fae30aef60befd355288194ae9.jpg resize: (1080, 1632) 1350769291 -5.416782788079648 treat image : temp/1744909049_1874151_1350769288_840d497cb9f3336268e29989ce5880d6.jpg resize: (1080, 1632) 1350769288 -6.12501213664296 treat image : temp/1744909049_1874151_1350769284_472d6ef5165b013c80d9fa931130a926.jpg resize: (1080, 1632) 1350769284 -3.966331834353688 treat image : temp/1744909049_1874151_1350769244_52e9d72c1002d63131442ca4dca15e2f.jpg resize: (1080, 1632) 1350769244 -4.50421715116236 treat image : temp/1744909049_1874151_1350769240_46791029e2b41c8cd5768f41659c0ef3.jpg resize: (1080, 1632) 1350769240 -5.5386325553916 treat image : temp/1744909049_1874151_1350769236_e4a33015e6d88875322410510f97ffb0.jpg resize: (1080, 1632) 1350769236 -3.000344122161813 treat image : temp/1744909049_1874151_1350769232_35106577f46b581293c984ff448d0630.jpg resize: (1080, 1632) 1350769232 -5.189450096628669 treat image : temp/1744909049_1874151_1350769228_5a71c9ac55725f188a2676abf3b6978f.jpg resize: (1080, 1632) 1350769228 -6.025860212024061 treat image : temp/1744909049_1874151_1350769225_c01837f15cae25993742b1ffd249bc82.jpg resize: (1080, 1632) 1350769225 -4.428496721607578 treat image : temp/1744909049_1874151_1350769184_df04f3d7030cab95e8aef94005956545.jpg resize: (1080, 1632) 1350769184 -3.6461464082693458 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.015885591506958008 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.01648688316345215 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01600480079650879 save missing photos in datou_result : time spend for datou_step_exec : 20.863905668258667 time spend to save output : 0.05363202095031738 total time spend for step 1 : 20.917537689208984 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.18user 8.18system 0:27.60elapsed 84%CPU (0avgtext+0avgdata 140004maxresident)k 4992inputs+10072outputs (43major+258292minor)pagefaults 0swaps