-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assign requires shapes of both tensors to match #153
Comments
I changed the Did you also train against this commit, or a prior commit? If you change the value back to 128 does the error go away? As for the warning about minimum groups, yes that means you don't have enough data samples in those buckets (classes). |
I replace the config.json and label_assignments.json file each time so every test I have done has been with the same config file (where I have since ran training and evals on 3e5a52d (latest), cc1f326 and 1fd5e3e and have discovered that the only ones that are throwing that error, are those of commit cc1f326 with rnn=128, irrespective of which commit was used to train. See results below. Train on 3e5a52d (latest)
Train on cc17326 (18th July)
Train on 1fd5e3e (17th July)
Apologies if much time was wasted on this issue. Thanks! |
So it's working in the latest on Master now? Or am I misunderstanding? |
Correct, feel free to close, |
Description
Experiencing
tensorflow.python.framework.errors_impl.InvalidArgumentError
when runningmake eval_onelayer
from commit cc17326 (July 18th) onwards. I have confirmed that the error does not occur on 1fd5e3e (July 17th) or before.Environment
Output
The following output is a result of running a script which runs
train_onelayer
on a bunch of node extracted IOT pcaps and then aneval_onelayer
on some similar node extracted pcaps. The aboveInvalidArgumentError
happens in the evaluation step. (Second code snippet)I have also included the training step (first snippet) because there is the following warning
Warning: The least populated class in y has only 3 members, which is too few. The minimum number of groups for any class cannot be less than n_splits=5.
I have got this before a number of times and assumed it was something to do with not having enough data. Do you think this it at any way related to this error?Training
Evaluating
Thanks in advance.
The text was updated successfully, but these errors were encountered: