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 : 1521836 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 : 2818>100 please execute split_portfolio.py -i 25706983 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3454488'] with mtr_portfolio_ids : ['25706983'] and first list_photo_ids : [] new path : /proc/1521836/ 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.1606156826019287 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 Wed Aug 6 17:17: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/1754493449_1521836_1375501794_a096b29204b3fc59d9a51daf555b9d40.jpg resize: (1080, 1632) 1375501794 -4.651721640725231 treat image : temp/1754493449_1521836_1375501792_a8799ac33adb755ac108a5c4914d4c17.jpg resize: (1080, 1632) 1375501792 -5.573890596146273 treat image : temp/1754493449_1521836_1375501790_29aa7853b62708c360f3ac08dcd21ff8.jpg resize: (1080, 1632) 1375501790 -6.034834318378644 treat image : temp/1754493449_1521836_1375501788_6569ee37ec48f1117c7a5a2fc5e3e397.jpg resize: (1080, 1632) 1375501788 -5.606624041017113 treat image : temp/1754493449_1521836_1375501784_ffdde50652b5be5ea7ab3130fb96cdbf.jpg resize: (1080, 1632) 1375501784 5.756089128675669 treat image : temp/1754493449_1521836_1375501783_279f162a55d5b21ae8621c202dd70b5a.jpg resize: (1080, 1632) 1375501783 5.756089128675669 treat image : temp/1754493449_1521836_1375501780_c91e2ec8feedccd5bb2e21296c67e8b4.jpg resize: (1080, 1632) 1375501780 -1.9507530456536086 treat image : temp/1754493449_1521836_1375501779_372c9567e2c5cb5cd7ffca2168816528.jpg resize: (1080, 1632) 1375501779 -1.9507530456536086 treat image : temp/1754493449_1521836_1375501777_42a6484e002f26c93e626e23665d85b7.jpg resize: (1080, 1632) 1375501777 -1.502785464099961 treat image : temp/1754493449_1521836_1375501776_beeea10c59ed44f909591bd8ffe1ce27.jpg resize: (1080, 1632) 1375501776 -1.502785464099961 treat image : temp/1754493449_1521836_1375501773_be86363bc8d2c24007210c49c2fcad52.jpg resize: (1080, 1632) 1375501773 -2.5416930460308182 treat image : temp/1754493449_1521836_1375501772_7f333d3d231f09262acd3b5f579ae347.jpg resize: (1080, 1632) 1375501772 -2.5416930460308182 treat image : temp/1754493449_1521836_1375501762_ff378b16b892497c2ccb7df7ab5ee0c1.jpg resize: (1080, 1632) 1375501762 -1.3369348842908164 treat image : temp/1754493449_1521836_1375501760_43fcac397cde8d0c1e4e0e675a38d101.jpg resize: (1080, 1632) 1375501760 -5.196058902957288 treat image : temp/1754493449_1521836_1375501758_ed616e98360555cab735bd3fbae4f899.jpg resize: (1080, 1632) 1375501758 -1.900842086377042 treat image : temp/1754493449_1521836_1375501757_f4f98c80e177e2c438da4610d8ccd2ec.jpg resize: (1080, 1632) 1375501757 -5.404613657059937 treat image : temp/1754493449_1521836_1375501755_fe588b926ac8043a4dcdccc8f65c2f2e.jpg resize: (1080, 1632) 1375501755 -4.793745751490851 treat image : temp/1754493449_1521836_1375501750_722b52fe96ff0416ec4412e1e0ce7737.jpg resize: (1080, 1632) 1375501750 -3.8802885451994142 treat image : temp/1754493449_1521836_1375501744_57e60586933e3bc0be1971f97bb07b08.jpg resize: (1080, 1632) 1375501744 -4.605079160197713 treat image : temp/1754493449_1521836_1375501741_66c1debc6c1d5b359ba78168e59cde6b.jpg resize: (1080, 1632) 1375501741 -4.36496953137409 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.01654672622680664 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.0160372257232666 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017629146575927734 save missing photos in datou_result : time spend for datou_step_exec : 18.306297063827515 time spend to save output : 0.05593681335449219 total time spend for step 1 : 18.362233877182007 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 6.76system 0:24.07elapsed 87%CPU (0avgtext+0avgdata 138160maxresident)k 88inputs+8080outputs (3major+258790minor)pagefaults 0swaps