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

More and better documentation #1

Open
gaa-cifasis opened this issue May 26, 2015 · 2 comments
Open

More and better documentation #1

gaa-cifasis opened this issue May 26, 2015 · 2 comments

Comments

@gaa-cifasis
Copy link
Member

No description provided.

@xiaoxing521
Copy link

First, Thank you for your open source. But I meet some question when I use VDiscover to detect testcases.
The command is:
~/VDiscover$ fextractor --dynamic /home/xingwenjing/VDiscover/examples/testcases/bc >bc.csv
~/VDiscover$ vpredictor ./bc.csv --dynamic --model /home/xingwenjing/VDiscover/examples/trained-models/model.pklz --out-file predictions.csv

And then report wrong message:

Traceback (most recent call last):
File "/home/xingwenjing/.local/bin/vpredictor", line 4, in
import('pkg_resources').run_script('VDiscover==0.1', 'vpredictor')
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 750, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 1524, in run_script
exec(code, namespace, namespace)
File "/home/xingwenjing/.local/lib/python2.7/site-packages/VDiscover-0.1-py2.7.egg/EGG-INFO/scripts/vpredictor", line 204, in
test_mode, probability=probability_mode)
File "/home/xingwenjing/.local/lib/python2.7/site-packages/VDiscover-0.1-py2.7.egg/vdiscover/Recall.py", line 20, in Recall
model = loadModel(model_file)
File "/home/xingwenjing/.local/lib/python2.7/site-packages/VDiscover-0.1-py2.7.egg/vdiscover/Utils.py", line 104, in loadModel
model = pickle.load(gzip.open(model_file))
File "/usr/lib/python2.7/pickle.py", line 1384, in load
return Unpickler(file).load()
File "/usr/lib/python2.7/pickle.py", line 864, in load
dispatchkey
File "/usr/lib/python2.7/pickle.py", line 1096, in load_global
klass = self.find_class(module, name)
File "/usr/lib/python2.7/pickle.py", line 1132, in find_class
klass = getattr(mod, name)
AttributeError: 'module' object has no attribute 'dynamic_tokenizer'

@sancicaXX
Copy link

@xiaoxing521 I meet the same questions, have you solved it yet?

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

No branches or pull requests

3 participants