You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could execute --trai --save under Win10, py3.5, tensorflow 1.9.0 but I understand it's not supported. I wonder if you can help me nevertheless, thank you
Dataset:
Train set size = 1420766
Test set size = 157862
Vocabulary size = 274562
Input layer size = 117
Number of classes = 2
Output folder: C:\Users\Ale\git\twitter-sentiment-cnn\output\run20180720-004328
2018-07-20 00:44:52.372521: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Data processing OK, creating network...
Traceback (most recent call last):
File "twitter-sentiment-cnn.py", line 292, in
test_batches = list(batch_iter(zip(x_test, y_test), FLAGS.batch_size, 1))
File "C:\Users\Ale\git\twitter-sentiment-cnn\data_helpers.py", line 185, in batch_iter
shuffled_data = data[shuffle_indices]
IndexError: too many indices for array
The text was updated successfully, but these errors were encountered:
I could execute --trai --save under Win10, py3.5, tensorflow 1.9.0 but I understand it's not supported. I wonder if you can help me nevertheless, thank you
======================= START! ========================
data_helpers: loading positive examples...
data_helpers: [OK]
data_helpers: loading negative examples...
data_helpers: [OK]
data_helpers: cleaning strings...
data_helpers: [OK]
data_helpers: generating labels...
data_helpers: [OK]
data_helpers: concatenating labels...
data_helpers: [OK]
data_helpers: padding strings...
data_helpers: [OK]
data_helpers: building vocabulary...
data_helpers: [OK]
data_helpers: building processed datasets...
data_helpers: [OK]
Flags:
Dataset:
Train set size = 1420766
Test set size = 157862
Vocabulary size = 274562
Input layer size = 117
Number of classes = 2
Output folder: C:\Users\Ale\git\twitter-sentiment-cnn\output\run20180720-004328
2018-07-20 00:44:52.372521: I T:\src\github\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Data processing OK, creating network...
Traceback (most recent call last):
File "twitter-sentiment-cnn.py", line 292, in
test_batches = list(batch_iter(zip(x_test, y_test), FLAGS.batch_size, 1))
File "C:\Users\Ale\git\twitter-sentiment-cnn\data_helpers.py", line 185, in batch_iter
shuffled_data = data[shuffle_indices]
IndexError: too many indices for array
The text was updated successfully, but these errors were encountered: