GithubHelp home page GithubHelp logo

fabiencro / knmt Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 15.0 4.33 MB

A Neural Machine Translation implementation in Chainer

License: GNU General Public License v3.0

Python 93.30% Makefile 0.01% Shell 2.25% Perl 4.44%

knmt's People

Contributors

fabiencro avatar fbergeron avatar gugen-otsuki avatar hitochan777 avatar tzawa 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  avatar  avatar

knmt's Issues

Command Misunderstood

I am sorry, it must be obvious for you all. But I'm new at this and can't understand/execute the knmt commands. To prepare the data, your command is:
knmt make_data train.src train.tgt data_prefix --dev_src valid.src --dev_tgt valid.tgt --src_voc_size 100000 --tgt_voc_size 30000

my files' extensions are en and bn

should I replace train.src as train.en and train.tgt as train.bn? I did that, but it says, (after showing some other errors): "No such file or directory"

Also, what should I write in the place of data_prefix?

Please help me out with an actual command with actual file names.

cudnn not found cuda9/cudnn 7.03

ubuntu 16.04 Nvidia V100
knmt version
/usr/local/lib/python2.7/dist-packages/cupy-4.0.0b2-py2.7-linux-x86_64.egg/cupy/core/fusion.py:659: FutureWarning: cupy.core.fusion is experimental. The interface can change in the future.
util.experimental('cupy.core.fusion')
/usr/local/lib/python2.7/dist-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
package version: 0.10.0
installed in: /home/levinth/knmt/nmt_chainer/utilities

*********** chainer version ***********
version 4.0.0b2
cuda True
cudnn True
cuda_version 9000
cudnn_version unavailable

but
levinth@zt-gpu-lin-1:/knmt$ echo $CUDA_PATH
/usr/local/cuda
levinth@zt-gpu-lin-1:
/knmt$ echo $LD_LIBRARY_PATH
/opt/lib:/usr/local/cuda-9.0/lib64:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/nccl:/usr/local/lib:/usr/local/mpi/lib:/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11:/home/levinth/torch/install/lib:/home/levinth/torch/install/lib:
levinth@zt-gpu-lin-1:/knmt$ ls -l /usr/local/cuda
lrwxrwxrwx 1 root root 8 Nov 8 14:33 /usr/local/cuda -> cuda-9.0
levinth@zt-gpu-lin-1:
/knmt$ ls -l /usr/local/cuda/lib64/libcudnn*
lrwxrwxrwx 1 root root 43 Nov 8 15:21 /usr/local/cuda/lib64/libcudnn.so.7 -> /usr/lib/x86_64-linux-gnu/libcudnn.so.7.0.3
lrwxrwxrwx 1 root root 43 Nov 8 15:14 /usr/local/cuda/lib64/libcudnn.so.7.0 -> /usr/lib/x86_64-linux-gnu/libcudnn.so.7.0.3
levinth@zt-gpu-lin-1:~/knmt$ ls -l /usr/lib/x86_64-linux-gnu/libcudnn.so.7.0.3
-rw-r--r-- 1 root root 285372592 Sep 15 20:02 /usr/lib/x86_64-linux-gnu/libcudnn.so.7.0.3

does this have anything to do with chainer/chainer#3922
where is ws_size?

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.