ecm-nmt's People
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 .or
python 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?
Can not reproduce the result for iwslt de-en, I only got 35.0 BELU score.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.