question-answering's Issues
CUDA out of memory
Hi @tangbinh ,
while i am training the BIDAF i.e.,
python train.py --arch bidaf --embed-path wordvec/glove/glove.840B.300d.txt --checkpoint-dir checkpoints/bidaf --log-file logs --lr 0.01
getting an error like
RuntimeError: CUDA out of memory. Tried to allocate 4.27 GiB (GPU 0; 10.92 GiB total capacity; 5.10 GiB already allocated; 1.00 GiB free; 9.09 GiB reserved in total by PyTorch)
but i am inruuning in a gpu system having
python 3.6
11.gb graphic card
32 gb ram
and Nvidia support also
i was unable to understand why this error is getting can you explain me clearly
Thank you ,
Manikantha Sekhar
Hi, I have met errors during preprocessing.
The error code like this:
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/anaconda3/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/anaconda3/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/anaconda3/lib/python3.6/multiprocessing/pool.py", line 103, in worker
initializer(*initargs)
File "/anaconda3/lib/python3.6/multiprocessing/pool.py", line 103, in worker
initializer(*initargs)
File "preprocess.py", line 23, in init_tokenizer
TOK = CoreNLPTokenizer(annota File "preprocess.py", line 23, in init_tokenizer
TOK = CoreNLPTokenizer(annotators=annotators)
tors=annotators)
File "/Users/fzy/question-answering/reader/data/tokenizer.py", line 50, in init
self._launch()
File "/Users/fzy/question-answering/reader/data/tokenizer.py", line 73, in _launch
self.corenlp.expect_exact('NLP>', searchwindowsize=100)
File "/Users/fzy/question-answering/reader/data/tokenizer.py", line 50, in init
self._launch()
File "/anaconda3/lib/python3.6/site-packages/pexpect/spawnbase.py", line 390, in expect_exact
return exp.expect_loop(timeout)
File "/Users/fzy/question-answering/reader/data/tokenizer.py", line 73, in _launch
self.corenlp.expect_exact('NLP>', searchwindowsize=100)
File "/anaconda3/lib/python3.6/site-packages/pexpect/expect.py", line 107, in expect_loop
return self.timeout(e)
File "/anaconda3/lib/python3.6/site-packages/pexpect/spawnbase.py", line 390, in expect_exact
return exp.expect_loop(timeout)
File "/anaconda3/lib/python3.6/site-packages/pexpect/expect.py", line 70, in timeout
raise TIMEOUT(msg)
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/site-packages/pexpect/expect.py", line 107, in expect_loop
return self.timeout(e)
File "/anaconda3/lib/python3.6/site-packages/pexpect/expect.py", line 70, in timeout
raise TIMEOUT(msg)
pexpect.exceptions.TIMEOUT: Timeout exceeded.
How could I debug them? Thanks in advance!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.