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 : 2003447 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 : 973>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/2003447/ 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.374138593673706 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 09:02: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/1747206146_2003447_1358107425_4b6e070684d806e5df3855f494e22aa5.jpg resize: (1080, 1632) 1358107425 -5.265573055928068 treat image : temp/1747206146_2003447_1358107041_5917bfb9a27ff2bf4e50d72b061f0a27.jpg resize: (1080, 1632) 1358107041 -6.103257374255093 treat image : temp/1747206146_2003447_1358107013_0a12f51724a835293acf7ccab738dccb.jpg resize: (1080, 1632) 1358107013 -4.921406214247659 treat image : temp/1747206146_2003447_1358106982_2e5e6cc0f40945ac030552e17f36d0aa.jpg resize: (1080, 1632) 1358106982 -3.7735408716804386 treat image : temp/1747206146_2003447_1358106934_615b31ae1a1a7f907d2a10a6355cb3a4.jpg resize: (1080, 1632) 1358106934 -5.179083974043746 treat image : temp/1747206146_2003447_1358106885_25020d05aeca895f53a568b98d649fe8.jpg resize: (1080, 1632) 1358106885 -2.79021654708114 treat image : temp/1747206146_2003447_1358106857_576141260b65197480be38d2a10022bf.jpg resize: (1080, 1632) 1358106857 -5.768613427267741 treat image : temp/1747206146_2003447_1358106505_d268e37a1b566b0b3e7c7bbde7e51a3f.jpg resize: (1080, 1632) 1358106505 -2.9513197337639405 treat image : temp/1747206146_2003447_1358106501_95e97ec9e38fd8e77826f8d7cf9622f6.jpg resize: (1080, 1632) 1358106501 -4.196118214117509 treat image : temp/1747206146_2003447_1358106498_4238838976f64aa0af88d9a712ac14b7.jpg resize: (1080, 1632) 1358106498 -6.427955909596297 treat image : temp/1747206146_2003447_1358106495_3fa51a94833259606c56aab4c80b660a.jpg resize: (1080, 1632) 1358106495 -6.518762269757571 treat image : temp/1747206146_2003447_1358106492_09c36856109fc93a98cfbe06098c0084.jpg resize: (1080, 1632) 1358106492 -5.973280488214783 treat image : temp/1747206146_2003447_1358100020_385d30c5eb8badd0e5f6694b2b8b10b3.jpg resize: (1080, 1632) 1358100020 -4.42352359934927 treat image : temp/1747206146_2003447_1358100016_84ecc01a8472cc16b389b156c6a6dc06.jpg resize: (1080, 1632) 1358100016 -6.085548724357252 treat image : temp/1747206146_2003447_1358100012_8e324caff770a6a528e452131449f456.jpg resize: (1080, 1632) 1358100012 -4.665625166360934 treat image : temp/1747206146_2003447_1358100009_bcca85682741c821994b6e5ecbcdd81b.jpg resize: (1080, 1632) 1358100009 -5.4216961847625855 treat image : temp/1747206146_2003447_1358100005_adddcd2b7a6c76b2f8801e508b032fac.jpg resize: (1080, 1632) 1358100005 -6.023609686466359 treat image : temp/1747206146_2003447_1358100000_c7993efdceae050c9babf00cb77a708e.jpg resize: (1080, 1632) 1358100000 -4.42352359934927 treat image : temp/1747206146_2003447_1358099412_14867ceea9c18ac485d6027db3dc1a6c.jpg resize: (1080, 1632) 1358099412 -4.755660315417804 treat image : temp/1747206146_2003447_1358099408_fbdf5feb5d3240944baf0c1b1aa456d0.jpg resize: (1080, 1632) 1358099408 -3.3640853557641806 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.012742757797241211 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.17779183387756348 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.18905210494995117 save missing photos in datou_result : time spend for datou_step_exec : 16.171618223190308 time spend to save output : 0.384105920791626 total time spend for step 1 : 16.555724143981934 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.61user 4.37system 0:20.50elapsed 92%CPU (0avgtext+0avgdata 141764maxresident)k 3816inputs+10368outputs (17major+257962minor)pagefaults 0swaps