Git Product home page Git Product logo

nettcr's People

Contributors

morniel avatar vanessajurtz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nettcr's Issues

Default Script Fails when Run with Testing/Training Data

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.

Which version of tensorflow and numpy to use

Can you please list in the README.md the dependencies?
Test example won't work with the latest tensorflow 2.x. I've managed to run it with:

numpy==1.16.1
tensorflow==1.13.1

Are these OK or you recommend some other versions?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.