Giter Site home page Giter Site logo

cacdi_attention_model's Introduction

To set up a virtual environment for cacdi_attention_model:

Identify a folder for the virtual environment files (I'll use /envpath below) Identify a folder for development (I'll use /devpath)

  1. Create python virtual environment

    virtualenv --system-site-packages /envpath/han

  2. Activate virtual environment

    source /envpath/han/bin/activate

  3. Check out cacdi_attention_model repo

    cd /devpath git clone [email protected]:xiaohua.liu/cacdi_attention_model.git

  4. Install cacdi_attention_model in virtual environment

    pip install --no-index -f /hcnlp/projects/cacdi/tools/python/wheelhouse -e /devpath/cacdi_attention_model/ --process-dependency-links

  5. Create environment variables

    export HDF5_DIR=/hcnlp/projects/cacdi/tools/lib/hdf5/hdf5-1.8.16 export HDF5_VERSION=1.8.16 export CACDI_DATA=/hcnlpdata/cacdi export GPU_LAUNCHER=/hcnlp/projects/cacdi/release/common_utils/latest/common_utils/process/gpu_nrg8_process_launcher.sh

  6. Verify installation is correct

    python -m unittest discover -s ./test/

cacdi_attention_model's People

Contributors

royliu761201 avatar

Watchers

James Cloos avatar Roy Liu avatar

Forkers

liuyang1123

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.