Comments (4)
You seem to be using a different version of Fairseq from that in the download.sh script (https://github.com/nusnlp/mlconvgec2018/blob/master/software/download.sh#L1)
The Fairseq provided in the download.sh script does not have that error in Line 54.
https://github.com/shamilcm/fairseq-py/blob/master/fairseq/data.py#L54
The FairSeq from the official repo (https://github.com/pytorch/fairseq/blob/master/fairseq/data.py#L54 ) has that error in line 54.
from mlconvgec2018.
Oh well, I restarted software/download.sh
and run.sh
gave me another error:
from fairseq import libbleu
ImportError: cannot import name 'libbleu'
from mlconvgec2018.
Did you run the setup.py following README (https://github.com/shamilcm/fairseq-py)? Note that the Fairseq version that we have used needs PyTorch 0.2.0post3 compiled from source.
from mlconvgec2018.
@shamilcm Hi , When I run the setup.py following README, I got a error:
(py3.5) gpower@gpower:~/zhangtianjiu/NLP/mlconvgec2018-master/software/fairseq-py/pytorch$ git reset --hard a03e5cb40938b6b3f3e6dbddf9cff8afdff72d1b HEAD is now at a03e5cb40 Remind users to submodule update.
My development environment is Linux+ Anaconda3 + Python 3.6 + CUDA 9.0
How can I solve the problem?
from mlconvgec2018.
Related Issues (20)
- Using interactive instead of generate to evaluate HOT 1
- Python error: <stdin> is a directory, cannot continue HOT 2
- the size of training dataset? HOT 2
- How to use language model (94Bcclm.trie)? HOT 2
- TypeError: iter() returned non-iterator of type 'NBestList' HOT 9
- An error about Compile and install PyTorch(0.2.0) HOT 5
- Accuracy of trained model? HOT 12
- Fairseq-py Installation Issue HOT 5
- About training data
- reranker error HOT 6
- pytorch version? HOT 3
- pre-trainined embeddings. HOT 1
- ImportError: cannot import name 'libbleu' HOT 4
- 'Levenshtein greater than source size' when training re-ranker HOT 1
- Output directory error while running run.sh in google colab HOT 1
- ImportError: cannot import name 'libbleu' from 'fairseq' HOT 3
- Requesting NUCLE dataset 3.2
- Error loading state_size in FConvModel : size mismatch in encoder-decoder weights
- General question: GEC data preprocessing
- Can this model be used for any language?
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.
from mlconvgec2018.