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 : 439807 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 : 259>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/439807/ 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.5857725143432617 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 May 13 01:22:29 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/1747092147_439807_1357756002_434c7bc27533ee1ebd05bb62556d63d0.jpg resize: (1080, 1632) 1357756002 -3.5879150568980127 treat image : temp/1747092147_439807_1357752101_ac4486a66d3cdf9b2b0e4e0994a0cbe9.jpg resize: (1080, 1632) 1357752101 -5.034912790975999 treat image : temp/1747092147_439807_1357752099_2c6431c1e971b5654990244c35523728.jpg resize: (1080, 1632) 1357752099 -4.011223298499738 treat image : temp/1747092147_439807_1357752097_e715d0a75330df4f4e4262bfb87abd04.jpg resize: (1080, 1632) 1357752097 -4.109778757091405 treat image : temp/1747092147_439807_1357752081_49a145b26bbb418d18da04e9ca70d66c.jpg resize: (1080, 1632) 1357752081 -5.844013219819209 treat image : temp/1747092147_439807_1357752080_3d95086963bafe960ffddc1386db8836.jpg resize: (1080, 1632) 1357752080 -5.542575618159738 treat image : temp/1747092147_439807_1357752077_f53193b825cab09c650f6516fad326c7.jpg resize: (1080, 1632) 1357752077 -6.394599558992592 treat image : temp/1747092147_439807_1357752072_6bd08822f851adbbd0b4f604e79a2d26.jpg resize: (1080, 1632) 1357752072 -6.359313200650852 treat image : temp/1747092147_439807_1357752068_1fccbf91103a2f37d53d4ffcdd66ce5c.jpg resize: (1080, 1632) 1357752068 -5.258212215886922 treat image : temp/1747092147_439807_1357752063_c25a96e1ef47272ff9dab696816721d3.jpg resize: (1080, 1632) 1357752063 -5.990780916610677 treat image : temp/1747092147_439807_1357751833_857f9430b28be25113936a4ed8fdfa52.jpg resize: (1080, 1632) 1357751833 -5.5530375112120876 treat image : temp/1747092147_439807_1357751777_7caea193d73a3e7a36346129f21a8a7d.jpg resize: (1080, 1632) 1357751777 -5.812006358191179 treat image : temp/1747092147_439807_1357751764_b5a9b2a7df51b8018b592689e2d36d70.jpg resize: (1080, 1632) 1357751764 -5.991085206717087 treat image : temp/1747092147_439807_1357751255_b982a3bf622085be439e954e7363916c.jpg resize: (1080, 1632) 1357751255 -5.619919500442531 treat image : temp/1747092147_439807_1357751253_c0b69ff5af272a5f48a26cdd07d2a447.jpg resize: (1080, 1632) 1357751253 -3.500692844048504 treat image : temp/1747092147_439807_1357751251_ad1d8d8c5b1ef456d8631db0e5699bed.jpg resize: (1080, 1632) 1357751251 -6.034518274417114 treat image : temp/1747092147_439807_1357751249_a083e21dd073d971fca0241c278145d7.jpg resize: (1080, 1632) 1357751249 -6.204061225278802 treat image : temp/1747092147_439807_1357751220_a9ad812da190a9b30777bb7026fa7ad2.jpg resize: (1080, 1632) 1357751220 -5.789382327419211 treat image : temp/1747092147_439807_1357751218_4a66dcd0917e79ae2e03278c834a8bf3.jpg resize: (1080, 1632) 1357751218 -3.6676343241371856 treat image : temp/1747092147_439807_1357751217_18c5cc15286a8b4795d352f52dcb8912.jpg resize: (1080, 1632) 1357751217 -5.860741047598369 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.015713930130004883 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.016315460205078125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0226290225982666 save missing photos in datou_result : time spend for datou_step_exec : 15.145557165145874 time spend to save output : 0.05905961990356445 total time spend for step 1 : 15.204616785049438 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.95user 3.62system 0:20.62elapsed 85%CPU (0avgtext+0avgdata 139972maxresident)k 112inputs+10880outputs (1major+257539minor)pagefaults 0swaps