Comments (5)
How much memory do you have available?
This model requires loading 2 large .npy files (utable and btable) both of which are > 2GB. These consist of almost 1 million word embeddings (each of which are 620 dimensional, single precision floats) as part of the skip-thoughts model.
Given that these embeddings are only used for MS COCO training sentences, it's possible I can create a reduced vocabulary version, where only ~30K words are necessary instead of 1M. I'll look into this.
from neural-storyteller.
I will test this now. Currently I am starting the test with 8GB of RAM free
from neural-storyteller.
still failed with a MemoryError
after only getting to 9.4GB used of 16
from neural-storyteller.
I haven't done anything different yet. I'll update once I have, probably next week (I've got a paper deadline this week)
from neural-storyteller.
Hi, ryankiros, We have also met the memmory error:
In [2]: z = generate.load_all()
/data/romance.npz
Loading skip-thoughts...
/usr/lib/python2.7/site-packages/theano/scan_module/scan.py:1019: Warning: In the strict mode, all neccessary shared variables must be passed as a part of non_sequences
'must be passed as a part of non_sequences', Warning)
Loading decoder...
Problem occurred during compilation with the command line below:
/usr/bin/g++ -shared -g -O3 -fno-math-errno -Wno-unused-label -Wno-unused-variable -Wno-write-strings -Wl,-rpath,/usr/lib64 -march=nocona -mcx16 -msahf -mno-movbe -maes -mno-pclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=20480 -mtune=nocona -D NPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -m64 -fPIC -I/usr/lib64/python2.7/site-packages/numpy/core/include -I/usr/include/python2.7 -I/usr/lib/python2.7/site-packages/theano/gof -fvisibility=hidden -o /root/.theano/compiledir_Linux-3.10-el7.x86_64-x86_64-with-centos-7.0.1406-Core-x86_64-2.7.5-64/tmpSPHNG7/de61f4c333d06430fc7dc014bf04eb25.so /root/.theano/compiledir_Linux-3.10-el7.x86_64-x86_64-with-centos-7.0.1406-Core-x86_64-2.7.5-64/tmpSPHNG7/mod.cpp -L/usr/lib64 -L/usr/lib64 -lpython2.7 -lopenblas
ERROR (theano.gof.cmodule): [Errno 12] Cannot allocate memory
We are running on a machine with 8Gb, but it failed.
I'm wondering how many memory do we need?
Thanks.
from neural-storyteller.
Related Issues (20)
- generate story error HOT 1
- config.py
- Killed (also skip-thoughts) HOT 3
- How to create new posbias for custom encoder/decoder? HOT 2
- Skipthought.py HOT 1
- No module named theano HOT 3
- Models adjust in config.py HOT 4
- Could I use the code to generate stories for commercial uses? HOT 1
- Generator.py transform.resize error
- Random Nearest captions followed by an error HOT 5
- Embedding captions... HOT 4
- ValueError: could not broadcast input array from shape (3600) into shape (2400)
- How to modify bias to generate longer stories?
- cannot allocate memory error,and i do not know how much RAM it needs HOT 1
- Fine tuning COCO HOT 1
- Have no access to download VGG19 parameters
- No such file or directory: '../uni_skip.npz.pkl' HOT 2
- vgg19.pkl link not available HOT 7
- Error in unzipping npz files
- load_model() takes 0 positional arguments but 2 were given anyone help please
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.
from neural-storyteller.