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 : 2486151 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 : 740>100 please execute split_portfolio.py -i 21403117 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2667237'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/2486151/ 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 : 4.1456310749053955 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 Fri Mar 14 07:17: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/1741933046_2486151_1344081273_02d76eee9027da3d4fa4eca916a6c2a0.jpg resize: (1080, 1632) 1344081273 -3.9677507205156735 treat image : temp/1741933046_2486151_1344081265_c4e7e5bba1cfc2f52cec70031cf413a8.jpg resize: (1080, 1632) 1344081265 -4.824996054444507 treat image : temp/1741933046_2486151_1344081242_0632cdc7d14815e8ea681c84b4f31bf0.jpg resize: (1080, 1632) 1344081242 -2.2635658844285294 treat image : temp/1741933046_2486151_1344081229_840047733abad75e52374d519dbbb0f4.jpg resize: (1080, 1632) 1344081229 -5.010936198804899 treat image : temp/1741933046_2486151_1344081221_f5ab747e606d304a3c548041413f0328.jpg resize: (1080, 1632) 1344081221 -5.908239643302855 treat image : temp/1741933046_2486151_1344081201_dab9d6641b1bc0e5ab3635a2f674c0dd.jpg resize: (1080, 1632) 1344081201 -6.348101834858127 treat image : temp/1741933046_2486151_1344081197_f713eff76f26801cccb802ab6c0af305.jpg resize: (1080, 1632) 1344081197 -6.535638718353486 treat image : temp/1741933046_2486151_1344081195_82240a8bc98111e8f55b2dcffa2d67d2.jpg resize: (1080, 1632) 1344081195 -6.18690197415703 treat image : temp/1741933046_2486151_1344081194_5f29e24c65b5f50a7e71f72b0ae94cb7.jpg resize: (1080, 1632) 1344081194 -5.809357793521647 treat image : temp/1741933046_2486151_1344081192_27a6dc60fde70a2334e7fdcf2bb6be0f.jpg resize: (1080, 1632) 1344081192 -5.395893353250087 treat image : temp/1741933046_2486151_1344081191_f1f606bb9a1100fcde66fe0816feed28.jpg resize: (1080, 1632) 1344081191 -1.8123958101744344 treat image : temp/1741933046_2486151_1344081173_a5d6dcacef7436574d22b0c40fbb2231.jpg resize: (1080, 1632) 1344081173 -5.417188445805219 treat image : temp/1741933046_2486151_1344081162_fe5c840020a4f885bb7ac8c5196cd409.jpg resize: (1080, 1632) 1344081162 -5.713957987227007 treat image : temp/1741933046_2486151_1344081152_1119512e789b73b8f11575027bc1acd6.jpg resize: (1080, 1632) 1344081152 -5.66983609086492 treat image : temp/1741933046_2486151_1344081143_afdae2210e64a06e7d02bcd3745e2fb1.jpg resize: (1080, 1632) 1344081143 -6.019829112795015 treat image : temp/1741933046_2486151_1344081136_fbf57a0361744f48deed0dc44967d3ed.jpg resize: (1080, 1632) 1344081136 -3.4885350173710665 treat image : temp/1741933046_2486151_1344081129_a09ab5a4b0ace5ab212e5040ad96acfd.jpg resize: (1080, 1632) 1344081129 -5.942520691264326 treat image : temp/1741933046_2486151_1344081121_f214a6df4aebdebdef36156e5bcd06ea.jpg resize: (1080, 1632) 1344081121 -6.002265309553724 treat image : temp/1741933046_2486151_1344081107_50ca7723d557c86b338b620eeca6fc1a.jpg resize: (1080, 1632) 1344081107 -5.991864900004806 treat image : temp/1741933046_2486151_1344081103_9499696e2135431b2b38269a6d00bc7c.jpg resize: (1080, 1632) 1344081103 -6.179876695394302 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.016364336013793945 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.014942407608032227 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 1.181605339050293 save missing photos in datou_result : time spend for datou_step_exec : 14.016520261764526 time spend to save output : 1.2181739807128906 total time spend for step 1 : 15.234694242477417 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.94user 1.39system 0:20.95elapsed 77%CPU (0avgtext+0avgdata 139552maxresident)k 5400inputs+10904outputs (33major+127764minor)pagefaults 0swaps