file | description |
---|---|
data/train_txt/ | training text fold |
data/test_txt/ | testing text fold |
data/train_txt.txt | file name list for training text |
data/test_txt.txt | file name list for testing text |
data/train_label.txt | label list for training text |
data/test_label.txt | label list for testing text |
Environment: python 3
Requirements:
pytorch
running example:
python main.py
output:
We use the following dataset for our example: R8 Dataset.link.