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 : 267654 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 : 4640>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/267654/ 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.81699800491333 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 Thu Jul 17 13:52:30 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/1752753147_267654_1372406025_9926f6f28d5f64987107696d03621460.jpg resize: (1080, 1632) 1372406025 -5.169546895470966 treat image : temp/1752753147_267654_1372406017_a3ccacac263840d0dc8a062395e4442c.jpg resize: (1080, 1632) 1372406017 -5.121589513302321 treat image : temp/1752753147_267654_1372406015_13962df494bb4acd848abd5ff6441e46.jpg resize: (1080, 1632) 1372406015 -5.178384118371357 treat image : temp/1752753147_267654_1372406011_742a8344ffdb4f3a76bee296433ec3c9.jpg resize: (1080, 1632) 1372406011 -5.0011148950960065 treat image : temp/1752753147_267654_1372406008_7d380eccdf156d13d48abaa3e4930f57.jpg resize: (1080, 1632) 1372406008 -4.839705202344648 treat image : temp/1752753147_267654_1372406005_09bb35a6ba11d0f8b54b8fe689f9a249.jpg resize: (1080, 1632) 1372406005 -4.964314624041023 treat image : temp/1752753147_267654_1372342893_0fcff5a72caf44f078d0b6cde26bf4d9.jpg resize: (1080, 1632) 1372342893 -5.212932442991155 treat image : temp/1752753147_267654_1372342890_bf529431cd2f98f759b13cd1bd92017a.jpg resize: (1080, 1632) 1372342890 -4.542382580134525 treat image : temp/1752753147_267654_1372342887_78d8bf2b1d46eaee32c591a1a7a468b5.jpg resize: (1080, 1632) 1372342887 -4.552338964981235 treat image : temp/1752753147_267654_1372342885_ae29762985febead819fe61f19364007.jpg resize: (1080, 1632) 1372342885 -4.547689444957444 treat image : temp/1752753147_267654_1372342882_610a1313c595b16b5f97b55ccdaa1019.jpg resize: (1080, 1632) 1372342882 -3.916668948951398 treat image : temp/1752753147_267654_1372342879_c1e8f851dd3309249801a894c09c3768.jpg resize: (1080, 1632) 1372342879 -4.184753821057332 treat image : temp/1752753147_267654_1372342865_4d2be11789e0eca4fa6b3f661ef727ba.jpg resize: (1080, 1632) 1372342865 -6.064162400268363 treat image : temp/1752753147_267654_1372342863_4c2adc3ce13887ad0587264ba7159152.jpg resize: (1080, 1632) 1372342863 -6.064261811544752 treat image : temp/1752753147_267654_1372342861_3201dbd46a252b3dac86c8bdcc93f217.jpg resize: (1080, 1632) 1372342861 -6.0507459050515395 treat image : temp/1752753147_267654_1372342858_a3afd08e77ce07d04d249472048c7dc2.jpg resize: (1080, 1632) 1372342858 -6.062608098569855 treat image : temp/1752753147_267654_1372342857_55d2045bc46a480132d4f0c5415fe360.jpg resize: (1080, 1632) 1372342857 -6.071414181802424 treat image : temp/1752753147_267654_1372342854_61878787790666bef570e302c66d1888.jpg resize: (1080, 1632) 1372342854 -5.661061076942997 treat image : temp/1752753147_267654_1372342833_10314c5e386003cdca0c6d50e16f1cd4.jpg resize: (1080, 1632) 1372342833 -6.076711447754068 treat image : temp/1752753147_267654_1372342830_68be0d8ae2bea7b8f9ee72342d76bc2c.jpg resize: (1080, 1632) 1372342830 -6.0722487820580255 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.033286094665527344 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.037511587142944336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03992176055908203 save missing photos in datou_result : time spend for datou_step_exec : 15.316624641418457 time spend to save output : 0.12464785575866699 total time spend for step 1 : 15.441272497177124 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.04user 3.86system 0:20.28elapsed 88%CPU (0avgtext+0avgdata 141244maxresident)k 96inputs+9688outputs (8major+257214minor)pagefaults 0swaps