tree-detection-evo icon indicating copy to clipboard operation
tree-detection-evo copied to clipboard

What is some data type?

Open adminmyw opened this issue 3 years ago • 4 comments

hello,Doc.! In your code, there has some Unexplained data like 'train_stats.npy'、'train_test.shp', would you tell me how it is like. And in 'from src.customnets import SimpleNet',there is no name cl in 'import src.customlayers as cl'. Please tell me how to solve it? God bless you!!!!!!!!

adminmyw avatar Dec 29 '21 09:12 adminmyw

train_stats.npy is a file that contains both mean and std for training data, used for normalizing the data. You have to get those for your own data, as unfortunately hyperspectral data varies so much (different number of bands, different bandwidths and central wavelengths etc...) that providing these metrics that always works is practically impossible. train_test.shp just contains the train-test-split for our data.

Thanks for noticing that customlayers.py was missing, I added that.

mayrajeo avatar Jan 03 '22 08:01 mayrajeo

Please tell me how to build my own Training and verification data with code

adminmyw avatar Jan 03 '22 08:01 adminmyw

Or,could you give a sample like this? 图片

adminmyw avatar Jan 03 '22 08:01 adminmyw

Thank you very much!!!

adminmyw avatar Jan 03 '22 08:01 adminmyw