nshaud / DeepHyperX

Deep learning toolbox based on PyTorch for hyperspectral data classification.
Other
439 stars 122 forks source link

How to use the disjoint mode? #57

Closed simonep1052 closed 1 year ago

simonep1052 commented 1 year ago

Hello,

Can anyone teach me how to use the disjoint mode correctly please?

I use the below command but the code cannot be run. !python main.py --model SVM --dataset IndianPines --sampling_mode disjoint --cuda 0

I also tried to find if there were training and testing split samples on the GRSS DASE Website to download. However, there are only testing samples to download.

Here is the environment I used:

simonep1052 commented 1 year ago

Found out how to use the disjoint mode after a few tries. We just need to write the training_sample argument as well. A command like !python main.py --model SVM --dataset IndianPines --sampling_mode disjoint --training_sample 0.3 --cuda 0 will be able to be run.