evandowning / deepreflect

Discovering Malicious Functionality through Binary Reconstruction
GNU General Public License v3.0
51 stars 11 forks source link

Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/root/.virtualenvs/dr/lib/python3.7/site-packages/numpy/lib/npyio.py", line 444, in load raise ValueError("Cannot load file containing pickled data " #6

Closed zijiancogito closed 3 years ago

zijiancogito commented 3 years ago

I used features download from Dataset.md/feature.tar.gz. Then I tried to run the command "python feature_check.py train.txt", where "train.txt" was copied from "Dataset.md/models.zip". It would raised aboved errors. What's wrong with it?

nav60 commented 3 years ago

Hi, feature_check.py required .npy files to perform required operation. Open the train.txt or test.txt and see the path of the file. do you have files in this path. If not then extract the feature.tar.gz and place as given in the train.txt and test.txt . You have to do some manual work to correct path. Hope it will help

zijiancogito commented 3 years ago

Thank you! I fix this by using files in *_plus_feature/.

evandowning commented 3 years ago

@zijiancogito Would you like for me to add additional documentation mentioning this?

zijiancogito commented 2 years ago

Yes. I think so.