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 : 1731041 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 : 592>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1731041/ 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.3935227394104004 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 Wed May 14 07:27: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/1747200448_1731041_1358097671_7c5bb9f04e5a9855edc25449fcffeef4.jpg resize: (1080, 1632) 1358097671 -4.516669783054402 treat image : temp/1747200448_1731041_1358097667_3eb2727d84c62d8ddd258f737bd615e1.jpg resize: (1080, 1632) 1358097667 -5.886472445714709 treat image : temp/1747200448_1731041_1358097665_81bbc24f9c8207efa33ba96c749adfcb.jpg resize: (1080, 1632) 1358097665 -3.453697789563695 treat image : temp/1747200448_1731041_1358097663_c35379f31153582be65789ef2a737008.jpg resize: (1080, 1632) 1358097663 -6.101259367106426 treat image : temp/1747200448_1731041_1358097659_95a44124809e060a473f07b8eee03c53.jpg resize: (1080, 1632) 1358097659 -5.63488860094435 treat image : temp/1747200448_1731041_1358097560_601bbd4d92572ffd8aa1486bcd5282a2.jpg resize: (1080, 1632) 1358097560 -5.952604489912886 treat image : temp/1747200448_1731041_1358097555_ea1d986ada9804efa659ff37a2f534a3.jpg resize: (1080, 1632) 1358097555 -5.969709629698649 treat image : temp/1747200448_1731041_1358097529_ba6ce41e81def661d0e1f6381c5012b2.jpg resize: (1080, 1632) 1358097529 -2.0053037998720598 treat image : temp/1747200448_1731041_1358097479_79c1c02ef2abc6b876220e3cc627f445.jpg resize: (1080, 1632) 1358097479 -5.682254394509325 treat image : temp/1747200448_1731041_1358097477_13e19e5d3002d020ab14d0f22047cb45.jpg resize: (1080, 1632) 1358097477 -6.297187659635404 treat image : temp/1747200448_1731041_1358097473_29b073ceeb520d1f63bfe1c5c5ca9736.jpg resize: (1080, 1632) 1358097473 -5.888382037503849 treat image : temp/1747200448_1731041_1358097469_02f8d4fc5078100bcd587d7b06a38e57.jpg resize: (1080, 1632) 1358097469 -6.016161590316537 treat image : temp/1747200448_1731041_1358097465_8e97ea43b5c62cfab9a25c237f3aea7a.jpg resize: (1080, 1632) 1358097465 -6.081755700104137 treat image : temp/1747200448_1731041_1358097458_27ebd9da3307b74eefc4ef6a93c6a5c6.jpg resize: (1080, 1632) 1358097458 -6.126887601951167 treat image : temp/1747200448_1731041_1358097430_86744ca7f9fa6c57e3eef39b25be80a1.jpg resize: (1080, 1632) 1358097430 -2.0825322913469106 treat image : temp/1747200448_1731041_1358097427_3f500866c1d6dd8b8356c95b9d0a2b4b.jpg resize: (1080, 1632) 1358097427 -2.7602018811878257 treat image : temp/1747200448_1731041_1358097425_34e774a7d1f4a5bf62617174f1df8604.jpg resize: (1080, 1632) 1358097425 -5.092803621089732 treat image : temp/1747200448_1731041_1358097422_9088b3b71df847d94a91ede5354dbfce.jpg resize: (1080, 1632) 1358097422 -5.8817014023367475 treat image : temp/1747200448_1731041_1358097385_b166ba95f073750ce882560f4d6c971a.jpg resize: (1080, 1632) 1358097385 -4.242664877836515 treat image : temp/1747200448_1731041_1358097381_1f5816b9236db494eafce8a72da477d9.jpg resize: (1080, 1632) 1358097381 -5.038745711853934 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.013567924499511719 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.032906532287597656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05411052703857422 save missing photos in datou_result : time spend for datou_step_exec : 15.778137683868408 time spend to save output : 0.10569596290588379 total time spend for step 1 : 15.883833646774292 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.31user 3.90system 0:21.81elapsed 83%CPU (0avgtext+0avgdata 140780maxresident)k 2816inputs+10680outputs (20major+260869minor)pagefaults 0swaps