Closed Jivnesh closed 3 years ago
This error can be reproduced using the following steps. I have created a conda environment with the following specifications. GPU: GeForce RTX 2080 Ti with Cuda 9.2 & python=3.6.13
pip install antu==0.0.5a0
pip install bidict==0.19.0
pip install overrides==3.0.0
pip install cython==0.29.17
pip install numpy==1.18.2
mkdir dynet-base
cd dynet-base
Download dynet==2.0.3
from here and eigen
from here
.gz
files present in the eigen
folder using find . -name '*.gz' -exec gunzip '{}' \;
dynet_2.0.3
and rename it as dynet
dynet
and eigen
folder into dynet-base
directory which we just created
cd dynet
mkdir build
cd build
cmake .. -DEIGEN3_INCLUDE_DIR=../../eigen -DPYTHON=`which python` -DBACKEND=cuda
make -j 2 # replace 2 with the number of available cores
cd python
python ../../setup.py build --build-dir=.. --skip-build install --user # add `--user` for a user-local install.
export LD_LIBRARY_PATH=/path/to/dynet/build/dynet/:$LD_LIBRARY_PATH
Once, the environment is setup then executed training command
python train.py --config_file ../configs/debug.cfg
I solved it. Solution is use dynet=2.1
instead of using dynet=2.0.3
I was trying to run this model on my custom data. I got stuck with this error. I am not sure whether is this due to dynet version issue. I am attaching the error log below. It will be great if you can direct me to the possible reason for this error and some directions to fix it. It will be great! Thanks in advance. I have installed
dynet=2.0
withEigen
given by you in the latest issue. My GPU RAM is 11GB with cuda 9.2