Giter Site home page Giter Site logo

Comments (4)

shamilcm avatar shamilcm commented on August 19, 2024

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.

mojesty avatar mojesty commented on August 19, 2024

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.

shamilcm avatar shamilcm commented on August 19, 2024

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.

jiusigua avatar jiusigua commented on August 19, 2024

@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)

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.