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
Thanks for your implementation!
When I want to train my model,I have a x_train(32300,92160) y_train(32300,1),but I got an error:
- Scanning and fitting for X ((32300,)) and y ((32300,)) started
- Window shape: [1, 23040] Total windows: 69121
Traceback (most recent call last):
File "gcForest_fer.py", line 71, in
mgc_forest.fit(x_train, y_train)
File "/home/wangjian/wj/deep_forest.py", line 68, in fit
for mgs in self.mgs_instances
File "/home/wangjian/wj/deep_forest.py", line 191, in scan
sliced_X, sliced_y = self.slices(X, y)
File "/home/wangjian/wj/deep_forest.py", line 154, in slices
windows_slices_list = X[(slice(None),) + axis_slices]
IndexError: too many indices for array.
Can you tell me why I am wrong? Thank you!
The text was updated successfully, but these errors were encountered:
Thanks for your implementation!
When I want to train my model,I have a x_train(32300,92160) y_train(32300,1),but I got an error:
- Scanning and fitting for X ((32300,)) and y ((32300,)) started
- Window shape: [1, 23040] Total windows: 69121
Traceback (most recent call last):
File "gcForest_fer.py", line 71, in
mgc_forest.fit(x_train, y_train)
File "/home/wangjian/wj/deep_forest.py", line 68, in fit
for mgs in self.mgs_instances
File "/home/wangjian/wj/deep_forest.py", line 191, in scan
sliced_X, sliced_y = self.slices(X, y)
File "/home/wangjian/wj/deep_forest.py", line 154, in slices
windows_slices_list = X[(slice(None),) + axis_slices]
IndexError: too many indices for array.
Can you tell me why I am wrong? Thank you!
The text was updated successfully, but these errors were encountered: