Coder Social home page Coder Social logo

deep-trans's People

Contributors

bhupenchn avatar dashayushman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

deep-trans's Issues

training take long time

i have Nvidia 940mx 4gb when I run training on my own data (different languages)

if i use

--size=1024 --num_layers=5 --steps_per_checkpoint=1000

it stop in this line for more 15 minutes

I tensorflow/core/common_runtime/gpu/pool_allocator.cc:259] Raising pool_size_limit_ from 2059 to

when i use smaller size and less layers
--size=512 --num_layers=2 --steps_per_checkpoint=1000

the result is

global step 1000 learning rate 0.0010 step-time 0.19 perplexity 1861.61
  eval: empty bucket 0
  eval: bucket 1 perplexity 6.93
  eval: bucket 2 perplexity 6.45
  eval: empty bucket 3
  eval: empty bucket 4
  eval: empty bucket 5
global step 2000 learning rate 0.0010 step-time 0.20 perplexity 4.04
  eval: empty bucket 0
  eval: bucket 1 perplexity 2.84
  eval: bucket 2 perplexity 3.03
  eval: empty bucket 3
  eval: empty bucket 4
  eval: empty bucket 5
global step 3000 learning rate 0.0010 step-time 0.20 perplexity 2.27
  eval: empty bucket 0
  eval: bucket 1 perplexity 2.12
  eval: bucket 2 perplexity 2.09
  eval: empty bucket 3
  eval: empty bucket 4
  eval: empty bucket 5

and continue to more and more step take more than 2 hours and not finish

how ever it small data just few words.

IndexError: list index out of range

Traceback (most recent call last):
File "transliterate.py", line 340, in main
decode()
File "transliterate.py", line 238, in decode
for output in outputs]))
IndexError: list index out of range

No module named models.rnn.translate

Traceback (most recent call last):
File "transliterate.py", line 32, in
import seq2seq_model
File "/data/home/kunal/Desktop/ML-Project/deep-trans/seq2seq_model.py", line 14, in
from tensorflow.models.rnn.translate import data_utils
ImportError: No module named models.rnn.translate

How to find train.rel.2.en & train.rel.2.hn????

These 2 datasets (train.rel.2.en & train.rel.2.hn), which are needed for training the model, are not in the source directory to download!
How can I download Them?
Should I prepare them by myself

Code is showing errors

While compiling the transliterate.py file,it is showing many errors.
Without removing errors, I cannot go to the next step. As you said that this file should be compiled without any errors.
Is it necessary to compile this file successfully?
So please reply as soon as possible.

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.