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 : 3900698 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 : 3094>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/3900698/ 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.9958670139312744 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 21:02: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/1747076548_3900698_1357656087_dc9783c62cd19648890dbee754fb35a2.jpg resize: (1080, 1632) 1357656087 -3.355698882434614 treat image : temp/1747076548_3900698_1357656083_da9cfe5c7b0c6f35a32eaa6733a2d4e4.jpg resize: (1080, 1632) 1357656083 -2.7729635773658 treat image : temp/1747076548_3900698_1357656082_0cb9ec1dda8dbe2e1b31b6fe9b25834e.jpg resize: (1080, 1632) 1357656082 -2.7729635773658 treat image : temp/1747076548_3900698_1357656078_e0acd57ea27a28e1d5e10feb47975f04.jpg resize: (1080, 1632) 1357656078 -1.7828189183193033 treat image : temp/1747076548_3900698_1357656076_988b6f52c18ec5c99cf11e52c9d47947.jpg resize: (1080, 1632) 1357656076 -1.7828189183193033 treat image : temp/1747076548_3900698_1357656071_dc0abfa7baee210af87fae9c61d5842e.jpg resize: (1080, 1632) 1357656071 -5.910171240191045 treat image : temp/1747076548_3900698_1357656070_c36d779a9ef0d0af493f470b2e18abfe.jpg resize: (1080, 1632) 1357656070 -5.910171240191045 treat image : temp/1747076548_3900698_1357656049_769b8f552e1e6e3ee38dd92a030482ec.jpg resize: (1080, 1632) 1357656049 -5.558233925324142 treat image : temp/1747076548_3900698_1357656042_2033d2bbd67264c0914e04a42cad33de.jpg resize: (1080, 1632) 1357656042 -4.8147403400284015 treat image : temp/1747076548_3900698_1357656036_ecb15ece48ede99fcdbb82ff48f5dccf.jpg resize: (1080, 1632) 1357656036 -1.2123981122592302 treat image : temp/1747076548_3900698_1357656028_d92befc0e0192973f7fc315ee78d4b8e.jpg resize: (1080, 1632) 1357656028 -3.8337120994931255 treat image : temp/1747076548_3900698_1357655922_0e7d8e2a0b7a688111ae50498c979aba.jpg resize: (1080, 1632) 1357655922 -0.7572594385579664 treat image : temp/1747076548_3900698_1357655909_3a04552d7e63460d0e455f2da2704b7f.jpg resize: (1080, 1632) 1357655909 -1.082496895282776 treat image : temp/1747076548_3900698_1357655864_97fafb367fe7e509f59b0d0117c5f272.jpg resize: (1080, 1632) 1357655864 -1.2409815122038481 treat image : temp/1747076548_3900698_1357655847_e1a6cfe05a1b718c99bc9b6f7bc3e8cd.jpg resize: (1080, 1632) 1357655847 -2.9371735291905305 treat image : temp/1747076548_3900698_1357655843_a6398a197e22c849bd840330d58ea80a.jpg resize: (1080, 1632) 1357655843 -5.683748916520643 treat image : temp/1747076548_3900698_1357655526_ea9e760d17a32ba075fd0fd48bc7e06b.jpg resize: (1080, 1632) 1357655526 -5.288745437917227 treat image : temp/1747076548_3900698_1357655471_ca3145916a613ff8307c9ebfc735497c.jpg resize: (1080, 1632) 1357655471 -3.8390800216430607 treat image : temp/1747076548_3900698_1357655430_95f3ac3ac835b4f6c08499c8c61a4faf.jpg resize: (1080, 1632) 1357655430 -2.955511851310901 treat image : temp/1747076548_3900698_1357655395_d86e7ccb0abcb3f58959aa0cf15da197.jpg resize: (1080, 1632) 1357655395 -3.763953812838387 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.016602277755737305 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.016063690185546875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.019268274307250977 save missing photos in datou_result : time spend for datou_step_exec : 17.0312237739563 time spend to save output : 0.058141469955444336 total time spend for step 1 : 17.089365243911743 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.25user 4.59system 0:22.39elapsed 88%CPU (0avgtext+0avgdata 139920maxresident)k 0inputs+8600outputs (12major+256024minor)pagefaults 0swaps