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 : 2748825 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 : 2038>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/2748825/ 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.302983045578003 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 15:32: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/1747056747_2748825_1357647092_ae6cac9508984d304791fb2709ee7a1a.jpg resize: (1080, 1632) 1357647092 -1.2659394716623897 treat image : temp/1747056747_2748825_1357647087_f131facbd5681fdf77bfc94857f14eff.jpg resize: (1080, 1632) 1357647087 0.796209185832505 treat image : temp/1747056747_2748825_1357647085_c1cbe36c62c070536efad444861a03cf.jpg resize: (1080, 1632) 1357647085 -2.8394522726083635 treat image : temp/1747056747_2748825_1357647081_51d9acd0e2a70c4cb0da3b344cfa9c21.jpg resize: (1080, 1632) 1357647081 -6.272092722434246 treat image : temp/1747056747_2748825_1357647075_6d2595b6fb40bbde1d277fc6a3c676ed.jpg resize: (1080, 1632) 1357647075 -6.232155823408093 treat image : temp/1747056747_2748825_1357647034_0b77aeb211eaca87c868330f2c2b4503.jpg resize: (1080, 1632) 1357647034 -5.524568620980104 treat image : temp/1747056747_2748825_1357647029_1d9999732b669179c338570d036d9d1b.jpg resize: (1080, 1632) 1357647029 -2.8499002119490973 treat image : temp/1747056747_2748825_1357647024_07e7116c57da6fbc9b5d524eb7f5202b.jpg resize: (1080, 1632) 1357647024 -3.188455504998129 treat image : temp/1747056747_2748825_1357647020_31239b73e26cd0681d44c654950d7fd7.jpg resize: (1080, 1632) 1357647020 -3.7323666396799875 treat image : temp/1747056747_2748825_1357647014_c3714d2b28a8e752252d26662d165dac.jpg resize: (1080, 1632) 1357647014 -4.279648662298487 treat image : temp/1747056747_2748825_1357646968_7f076b8ad2139e2dfb5e89a34e72a1e6.jpg resize: (1080, 1632) 1357646968 -1.6154661404752158 treat image : temp/1747056747_2748825_1357646966_67b238653f22abfdd0cef267487e657d.jpg resize: (1080, 1632) 1357646966 -3.6550932107704437 treat image : temp/1747056747_2748825_1357646963_f27ff915b716ae49e730e4abdbcafb53.jpg resize: (1080, 1632) 1357646963 -5.386941305408778 treat image : temp/1747056747_2748825_1357646959_f586a97659577902f3d1e791e6121d76.jpg resize: (1080, 1632) 1357646959 -5.159670574394811 treat image : temp/1747056747_2748825_1357646954_11ef7e2fde68efb10af4d075dc10d646.jpg resize: (1080, 1632) 1357646954 -5.579200587129391 treat image : temp/1747056747_2748825_1357646923_b27bd768f0541581ce8afe0d41255162.jpg resize: (1080, 1632) 1357646923 -4.129504887764712 treat image : temp/1747056747_2748825_1357646918_d986172eefcb696278af73576f106b45.jpg resize: (1080, 1632) 1357646918 -3.2882128099889267 treat image : temp/1747056747_2748825_1357646915_c314ca2f0f157ff8e93433472df5247f.jpg resize: (1080, 1632) 1357646915 -4.084538900106344 treat image : temp/1747056747_2748825_1357646907_0ea5f42f23ac5e76df1d52293d878143.jpg resize: (1080, 1632) 1357646907 -3.5790664311400304 treat image : temp/1747056747_2748825_1357646877_52cbfbb12d0b54e6a4ed97e858c4e6d9.jpg resize: (1080, 1632) 1357646877 -1.1961807330268963 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.01572108268737793 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.019006967544555664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01798391342163086 save missing photos in datou_result : time spend for datou_step_exec : 16.96061873435974 time spend to save output : 0.05748724937438965 total time spend for step 1 : 17.01810598373413 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.74user 5.11system 0:22.42elapsed 88%CPU (0avgtext+0avgdata 137292maxresident)k 208inputs+9136outputs (19major+260676minor)pagefaults 0swaps