Skip to content

Commit 02f0f25

Browse files
committed
fix data path for CNN Text.
1 parent bf894e1 commit 02f0f25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/TensorFlowNET.Examples/TextProcess/CnnTextClassification.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ public class CnnTextClassification : IExample
2626
public int? DataLimit = null;
2727
public bool IsImportingGraph { get; set; } = false;
2828

29-
private string dataDir = "word_cnn";
29+
private const string dataDir = "word_cnn";
3030
private string dataFileName = "dbpedia_csv.tar.gz";
3131

32-
private const string TRAIN_PATH = "text_classification/dbpedia_csv/train.csv";
33-
private const string TEST_PATH = "text_classification/dbpedia_csv/test.csv";
32+
private const string TRAIN_PATH = "word_cnn/dbpedia_csv/train.csv";
33+
private const string TEST_PATH = "word_cnn/dbpedia_csv/test.csv";
3434

3535
private const int NUM_CLASS = 14;
3636
private const int BATCH_SIZE = 64;

0 commit comments

Comments
 (0)