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 : 3565506 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 : 2847>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/3565506/ 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.364575147628784 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 Mon May 12 19:07: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/1747069649_3565506_1357705354_9f42b830214fe837d56f58088e9f0372.jpg resize: (1080, 1632) 1357705354 -6.139042454833438 treat image : temp/1747069649_3565506_1357705352_92de25ab73fb736c25d960f9ac8de73e.jpg resize: (1080, 1632) 1357705352 -5.725211185955917 treat image : temp/1747069649_3565506_1357705350_8073d38ce1c8ec1c03ea0466f915ea5f.jpg resize: (1080, 1632) 1357705350 -2.1516625215110317 treat image : temp/1747069649_3565506_1357705337_941ebd84efe447c9133354953a2066be.jpg resize: (1080, 1632) 1357705337 -2.379642306857189 treat image : temp/1747069649_3565506_1357705334_9edea129fd97b2a188c5f05ddb86ef98.jpg resize: (1080, 1632) 1357705334 -5.826563861940471 treat image : temp/1747069649_3565506_1357705329_21e7eedd8d4472d2f06805d2bdc89b6a.jpg resize: (1080, 1632) 1357705329 -5.780932695157637 treat image : temp/1747069649_3565506_1357705305_1e49030cc31e04e4c27c7f6ebad47aab.jpg resize: (1080, 1632) 1357705305 -5.600172346689076 treat image : temp/1747069649_3565506_1357705255_d0c2917e7ec71558db01cf4d05051423.jpg resize: (1080, 1632) 1357705255 -6.579809645520871 treat image : temp/1747069649_3565506_1357705232_3eff51bd0f41f90a461c35742d2850e5.jpg resize: (1080, 1632) 1357705232 -3.7999616271157426 treat image : temp/1747069649_3565506_1357705016_4d3e3fa9170152a392c9fb993b738838.jpg resize: (1080, 1632) 1357705016 -5.664772854897535 treat image : temp/1747069649_3565506_1357705015_c34e3a9775c9951838af6fc176745c57.jpg resize: (1080, 1632) 1357705015 -5.855442447113038 treat image : temp/1747069649_3565506_1357705012_fa5be22ad03e877316f2519c5be1555e.jpg resize: (1080, 1632) 1357705012 -1.6067776275094012 treat image : temp/1747069649_3565506_1357705010_a7676d0f20b610ae8659585f3c104cd5.jpg resize: (1080, 1632) 1357705010 -1.7869559065145797 treat image : temp/1747069649_3565506_1357704994_1e5ffbff8bedbcd2b443e0e30b39a2ce.jpg resize: (1080, 1632) 1357704994 -1.5572675056678438 treat image : temp/1747069649_3565506_1357704992_e01484d9ea0c48833d7c28befe036d1a.jpg resize: (1080, 1632) 1357704992 -6.105436798810297 treat image : temp/1747069649_3565506_1357704967_00a86d613511bc15884b2337366bd82c.jpg resize: (1080, 1632) 1357704967 -5.30083268853601 treat image : temp/1747069649_3565506_1357704942_d3eed73eb29a32d0adecbc9512c69278.jpg resize: (1080, 1632) 1357704942 -5.526983245175452 treat image : temp/1747069649_3565506_1357704904_82ef2e5ecf26c7f681d1f91e9c1b2d41.jpg resize: (1080, 1632) 1357704904 -5.964536707871158 treat image : temp/1747069649_3565506_1357704876_b6b19adb467bd0d85eec9b94fe808bf1.jpg resize: (1080, 1632) 1357704876 -5.86231433245502 treat image : temp/1747069649_3565506_1357704670_185b433464982fbe1804d2f5fbeedf05.jpg resize: (1080, 1632) 1357704670 -6.040524198935988 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.018817663192749023 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.015837430953979492 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017841339111328125 save missing photos in datou_result : time spend for datou_step_exec : 15.147131443023682 time spend to save output : 0.05742311477661133 total time spend for step 1 : 15.204554557800293 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.94user 3.82system 0:20.58elapsed 86%CPU (0avgtext+0avgdata 139128maxresident)k 120inputs+10480outputs (3major+256293minor)pagefaults 0swaps