Giter Club home page Giter Club logo

ecm-nmt's People

Contributors

stillkeeptry avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ecm-nmt's Issues

how to run this experiment?

when i run train.py, the following happens:
File "/home/dyhu/lzd/ECM-NMT/fairseq/fairseq/checkpoint_utils.py", line 130, in load_checkpoint epoch_itr = trainer.get_train_iterator(epoch=0, load_dataset=True, data_selector=data_selector) File "/home/dyhu/lzd/ECM-NMT/fairseq/fairseq/trainer.py", line 258, in get_train_iterator epoch=epoch, File "/home/dyhu/lzd/ECM-NMT/fairseq/fairseq/tasks/fairseq_task.py", line 156, in get_batch_iterator required_batch_size_multiple=required_batch_size_multiple, File "/home/dyhu/lzd/ECM-NMT/fairseq/fairseq/data/data_utils.py", line 220, in batch_by_size 'Please build Cython components with:pip install --editable .' ImportError: Please build Cython components with:pip install --editable .orpython setup.py build_ext --inplace``

then i try to run pip install --editable .
it happends:
Moving to /home/dyhu/anaconda3/envs/lzd/lib/python3.6/site-packages/fairseq.egg-link from /tmp/pip-uninstall-q_oj1q0m/fairseq.egg-link ERROR: Command errored out with exit status 1: /home/dyhu/anaconda3/envs/lzd/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/dyhu/lzd/ECM-NMT/fairseq/setup.py'"'"'; __file__='"'"'/home/dyhu/lzd/ECM-NMT/fairseq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
what should i do, please?

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.