增加生成训练数据
This commit is contained in:
@ -20,7 +20,7 @@ from main import (
|
||||
)
|
||||
|
||||
matplotlib.use('TkAgg')
|
||||
|
||||
#####用于提取背景滤纸的样本,目的是在训练时加入滤纸的光谱,以减少滤纸与ftpe的误判
|
||||
|
||||
def apply_background_and_optional_resample_for_samples(df, bg_spectrum, bil_path):
|
||||
# 先做背景校正(自动识别以 wavelength_ 或 band_ 开头的光谱列,且长度不一致时尾部对齐)
|
||||
|
||||
Reference in New Issue
Block a user