Skip to content
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

error in running using ember dataset #3

Open
srihitha97 opened this issue May 11, 2018 · 0 comments
Open

error in running using ember dataset #3

srihitha97 opened this issue May 11, 2018 · 0 comments

Comments

@srihitha97
Copy link

srihitha97 commented May 11, 2018

I'm getting the following error while running it, what could be the reason? I have printed out the labels FYI

python modeltest_multilayer.py
<TarInfo 'ember' at 0x1fc8ebc52a0>
<TarInfo 'ember/train_features_1.jsonl' at 0x1fc8ebc5430>
<TarInfo 'ember/train_features_0.jsonl' at 0x1fc8ebc54f8>
<TarInfo 'ember/ember_model_2017.txt' at 0x1fc8ebc55c0>
<TarInfo 'ember/train_features_3.jsonl' at 0x1fc8ebc5688>
<TarInfo 'ember/test_features.jsonl' at 0x1fc8ebc5750>
<TarInfo 'ember/train_features_5.jsonl' at 0x1fc8ebc5818>
<TarInfo 'ember/train_features_4.jsonl' at 0x1fc8ebc58e0>
<TarInfo 'ember/train_features_2.jsonl' at 0x1fc8ebc59a8>
{<TarInfo 'ember' at 0x1fc8ebc52a0>: 0, <TarInfo 'ember/train_features_1.jsonl' at 0x1fc8ebc5430>: 0, <TarInfo 'ember/train_features_0.jsonl' at 0x1fc8ebc54f8>: 0, <TarInfo 'ember/ember_model_2017.txt' at 0x1fc8ebc55c0>: 0, <TarInfo 'ember/train_features_3.jsonl' at 0x1fc8ebc5688>: 0, <TarInfo 'ember/test_features.jsonl' at 0x1fc8ebc5750>: 0, <TarInfo 'ember/train_features_5.jsonl' at 0x1fc8ebc5818>: 0, <TarInfo 'ember/train_features_4.jsonl' at 0x1fc8ebc58e0>: 0, <TarInfo 'ember/train_features_2.jsonl' at 0x1fc8ebc5a70>: 0, <TarInfo 'ember' at 0x1fc8ebc5b38>: 1, <TarInfo 'ember/train_features_1.jsonl' at 0x1fc8ebc5c00>: 1, <TarInfo 'ember/train_features_0.jsonl' at 0x1fc8ebc5cc8>: 1, <TarInfo 'ember/ember_model_2017.txt' at 0x1fc8ebc5d90>: 1, <TarInfo 'ember/train_features_3.jsonl' at 0x1fc8ebc5e58>: 1, <TarInfo 'ember/test_features.jsonl' at 0x1fc8ebc5f20>: 1, <TarInfo 'ember/train_features_5.jsonl' at 0x1fc8ebdb048>: 1, <TarInfo 'ember/train_features_4.jsonl' at 0x1fc8ebdb110>: 1, <TarInfo 'ember/train_features_2.jsonl' at 0x1fc8ebdb1d8>: 1}
{} //This is the sample_index and X.dat is 0kB as it is empty
Traceback (most recent call last):
File "modeltest_multilayer.py", line 8, in
X, y, sha256list = common.extract_features_and_persist()
File "C:\Users\srihitha.yadlapalli\Desktop\youarespecial-master\classifier\common.py", line 98, in extract_features_and_persist
len(sample_index), -1)
ValueError: cannot reshape array of size 0 into shape (0,newaxis)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant