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 : 1034881 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 : 532>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/1034881/ 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.4457340240478516 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 07: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/1747026448_1034881_1357600848_ebe29b2647836ac914ab2f6f24509e34.jpg resize: (1080, 1632) 1357600848 -2.6729732468447565 treat image : temp/1747026448_1034881_1357600846_be173dcd642d2a182ffe145275c90104.jpg resize: (1080, 1632) 1357600846 -1.900536290264006 treat image : temp/1747026448_1034881_1357600845_330303991d198e9aa0142c287b618258.jpg resize: (1080, 1632) 1357600845 -2.3431552734733616 treat image : temp/1747026448_1034881_1357600825_c2193c33507a681c4805c06c94e77acd.jpg resize: (1080, 1632) 1357600825 -5.513920608994806 treat image : temp/1747026448_1034881_1357600822_131eca81dd30958d2e23a7f7d0a306d0.jpg resize: (1080, 1632) 1357600822 -5.517855528110428 treat image : temp/1747026448_1034881_1357600820_26ebaf0a7772411a81316df20dcece11.jpg resize: (1080, 1632) 1357600820 -5.595552599066866 treat image : temp/1747026448_1034881_1357600818_ef7959af921a5142cb884e4ec5b747a7.jpg resize: (1080, 1632) 1357600818 -4.493641464204381 treat image : temp/1747026448_1034881_1357600817_555134f73ca203c78f3d0f0c93d3c355.jpg resize: (1080, 1632) 1357600817 -5.138085533710131 treat image : temp/1747026448_1034881_1357600793_b45f40a38bc3fc7f716a5c5fdf34cb4a.jpg resize: (1080, 1632) 1357600793 -5.066209311914032 treat image : temp/1747026448_1034881_1357600791_e99dc8382fb47b3c255a125f8aa3324f.jpg resize: (1080, 1632) 1357600791 -3.7403126749460656 treat image : temp/1747026448_1034881_1357600790_45e72013bef1b26cf6e173359200c626.jpg resize: (1080, 1632) 1357600790 -4.400520060936172 treat image : temp/1747026448_1034881_1357600788_5fa0359ec1fc76d92c875b594bd7266f.jpg resize: (1080, 1632) 1357600788 -6.025664813292229 treat image : temp/1747026448_1034881_1357600786_0701c167b1c6a07bf09fdb16653eb68c.jpg resize: (1080, 1632) 1357600786 -2.7595929561396364 treat image : temp/1747026448_1034881_1357600784_5ee88510d3e12fc46eaefb72c7d6e778.jpg resize: (1080, 1632) 1357600784 -5.043621712891648 treat image : temp/1747026448_1034881_1357600759_c281610a2a4ff85d27f71dbebfa9b770.jpg resize: (1080, 1632) 1357600759 -2.056429114823767 treat image : temp/1747026448_1034881_1357600757_96f307ef4fbdb8c5f81f86154ecd7eb7.jpg resize: (1080, 1632) 1357600757 -2.2495826088513247 treat image : temp/1747026448_1034881_1357600756_f0bfbff1caed7953bb8ddf0a631da964.jpg resize: (1080, 1632) 1357600756 -3.157303606837273 treat image : temp/1747026448_1034881_1357600753_a48cd881c0bc69debbf2e9d850e70352.jpg resize: (1080, 1632) 1357600753 -5.169439837388785 treat image : temp/1747026448_1034881_1357600750_455b52f451c7ac8ce19d3cd70c9f7a83.jpg resize: (1080, 1632) 1357600750 -5.285816187162598 treat image : temp/1747026448_1034881_1357600728_5645fd67184509f9816d2d44812107f7.jpg resize: (1080, 1632) 1357600728 -6.0825495658365965 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.01335906982421875 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.028981447219848633 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.029055118560791016 save missing photos in datou_result : time spend for datou_step_exec : 16.65968418121338 time spend to save output : 0.07669496536254883 total time spend for step 1 : 16.736379146575928 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.53user 5.37system 0:23.23elapsed 85%CPU (0avgtext+0avgdata 141604maxresident)k 144inputs+9264outputs (1major+261270minor)pagefaults 0swaps