Giter Club home page Giter Club logo

Comments (6)

daniel-kukiela avatar daniel-kukiela commented on September 25, 2024

Did you modify training files? It looks like number of lines in your tst2012 and/or tst2013 files between "from" and "to" files doesn't match. You have to have pairs, and that means number of lines in tst2012.from file must match number of lines in tst2012.to. Same for tst2013.(from|to).
Doublecheck that please.

from nmt-chatbot.

umangkr avatar umangkr commented on September 25, 2024

okay i'll recheck that.
can you tell me what vocab size should i use? my gpu has 2gb vram.

from nmt-chatbot.

daniel-kukiela avatar daniel-kukiela commented on September 25, 2024

With 2GB of VRAM try to lower 'num_units' to 256 and leave vocab as is.
If you get OOM error try to lower vocab by 2k, and try again. You can change 'vocab_size' in settings and run prepare_data.py again.
If you are doing any changes in hparams section of settings, remember to either set 'override_loaded_hparams' or remove everything inside 'model' folder (as settings are saved within model after first run of train.py).

from nmt-chatbot.

umangkr avatar umangkr commented on September 25, 2024

no no i am not doing any changes in anything..
i just ran it in default settings and this index error keeps coming up.

from nmt-chatbot.

daniel-kukiela avatar daniel-kukiela commented on September 25, 2024

So do a clean clone, change 'num_units' to 256 and do everything step by step once more.

from nmt-chatbot.

umangkr avatar umangkr commented on September 25, 2024

okay brother.
i'll do that and let you know.

from nmt-chatbot.

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.