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 : 678116 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 : 1827>100 please execute split_portfolio.py -i 20195867 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2542720'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/678116/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 15 ; length of list_pids : 15 ; length of list_args : 15 time to download the photos : 3.242945432662964 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 Tue Feb 4 19:02: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/1738692149_678116_1334622711_db2c0d359c2c70697b27732a71a811ac.jpg resize: (1080, 1632) 1334622711 -2.605028979553553 treat image : temp/1738692149_678116_1334622682_567b115e5e566724040bbc5d2f762803.jpg resize: (1080, 1632) 1334622682 -6.364594205758348 treat image : temp/1738692149_678116_1334622447_92be3467bd908f9ca5efb4e132330fe2.jpg resize: (1080, 1632) 1334622447 -6.398950939180508 treat image : temp/1738692149_678116_1334622440_d5963c04bfeded9fe91566dccf0ee97a.jpg resize: (1080, 1632) 1334622440 -6.29449415876814 treat image : temp/1738692149_678116_1334622435_8e36c917258c45d7f387a9e1a6b89ff5.jpg resize: (1080, 1632) 1334622435 -5.954717351582146 treat image : temp/1738692149_678116_1334622432_41fea53382135600c163b98a26319cee.jpg resize: (1080, 1632) 1334622432 -5.006552961195172 treat image : temp/1738692149_678116_1334622425_70fbb91c00afe30e32c55151f4ecaee9.jpg resize: (1080, 1632) 1334622425 -5.362113901020887 treat image : temp/1738692149_678116_1334622401_f9f5ec9b183dc0bd1175e7b2a86f05a7.jpg resize: (1080, 1632) 1334622401 -2.2054759136488364 treat image : temp/1738692149_678116_1334622396_19050e64430ced41b5fd2697f9adcd2d.jpg resize: (1080, 1632) 1334622396 -5.9904704250775245 treat image : temp/1738692149_678116_1334622392_d795ab8278f505f97e339768364ac104.jpg resize: (1080, 1632) 1334622392 -5.761268460026444 treat image : temp/1738692149_678116_1334622384_19bde486db1298a05f10ed6c83b91305.jpg resize: (1080, 1632) 1334622384 -3.980877538387885 treat image : temp/1738692149_678116_1334622373_77989d2e89058a05db2515e547e71e8a.jpg resize: (1080, 1632) 1334622373 -6.388651971919335 treat image : temp/1738692149_678116_1334622335_c6b3fa5418b8683918371e484ee84cce.jpg resize: (1080, 1632) 1334622335 -5.907453151212244 treat image : temp/1738692149_678116_1334622330_cad00d337004cbe2754368debabb7cde.jpg resize: (1080, 1632) 1334622330 -3.5222181855478727 treat image : temp/1738692149_678116_1334622314_f034ccbc4febd92379c3bf2af2443c5e.jpg resize: (1080, 1632) 1334622314 -2.593798813970487 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 : 15 time used for this insertion : 0.013791561126708984 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 15 time used for this insertion : 0.012799263000488281 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 time used for this insertion : 0.01385807991027832 save missing photos in datou_result : time spend for datou_step_exec : 12.989946126937866 time spend to save output : 0.04518771171569824 total time spend for step 1 : 13.035133838653564 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 15 set_done_treatment 11.56user 3.48system 0:19.76elapsed 76%CPU (0avgtext+0avgdata 141672maxresident)k 48inputs+8184outputs (15major+210799minor)pagefaults 0swaps