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

Default Script Fails when Run with Testing/Training Data #2

Open
cai-michael opened this issue Jan 16, 2020 · 1 comment
Open

Default Script Fails when Run with Testing/Training Data #2

cai-michael opened this issue Jan 16, 2020 · 1 comment

Comments

@cai-michael
Copy link

When running the default test script python scripts/netTCR.py -infile test_data/data.txt -outfile NetTCR_predictions.txt using either Python 2.7.17 or Python 3.6.9 I get the following output:

Traceback (most recent call last): File "scripts/netTCR.py", line 170, in <module> best_params = np.load(param_dir + "params.t." + str(t) + ".v." + str(v) + ".s." + str(s) + ".npz")['arr_0'] File "/home/local/ASUAD/mrcai/.local/lib/python2.7/site-packages/numpy/lib/npyio.py", line 262, in __getitem__ pickle_kwargs=self.pickle_kwargs) File "/home/local/ASUAD/mrcai/.local/lib/python2.7/site-packages/numpy/lib/format.py", line 696, in read_array raise ValueError("Object arrays cannot be loaded when " ValueError: Object arrays cannot be loaded when allow_pickle=False

As a workaround at the moment you can downgrade numpy to 1.16.1 to be able to run the script successfully.

I think the default value in numpy has changed and allow_pickle needs to be directly assigned as True.

@cai-michael
Copy link
Author

cai-michael commented Feb 21, 2020

GILGFVFTL ASSTRS1DTQY HLA-A02:01 1

GILGFVFTL ASSTG7SWEOY HLA-A02:01 1

GILGFVFTL ASSIRSS__QYF HLA-A02:01 1

There's also some training data that seems to have numbers that don't belong when I try to run the data on the training set even.

@cai-michael cai-michael changed the title Script fails when run with the default test data Default Script Fails when Run with Testing/Training Data Feb 21, 2020
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