Comments (5)
Are you using the Keras version written in the readme file?
Previous errors regarding the 'Graph' object were fixed by using the correct version.
from nnproject_deepmask.
Yes, I'm using Keras 0.3.1
$ pip show keras
---
Metadata-Version: 2.0
Name: Keras
Version: 0.3.1
Summary: Theano-based Deep Learning library
Home-page: https://github.com/fchollet/keras
Author: Francois Chollet
Author-email: [email protected]
Installer: pip
License: MIT
Location: /usr/local/lib/python2.7/site-packages
Requires: theano, pyyaml, six
Classifiers:
from nnproject_deepmask.
Seems like the weights file you provided is illegal.
Did you download and convert graph weights with HeplerScripts/CreateVggGraphWeights.py?
from nnproject_deepmask.
I re-downloaded the net and got another error:
$ python EndToEnd.py
Using Theano backend.
/usr/local/lib/python2.7/site-packages/theano/tensor/signal/downsample.py:6: UserWarning: downsample module has been moved to the theano.tensor.signal.pool module.
"downsample module has been moved to the theano.tensor.signal.pool module.")
2016-10-19 15:08:45.333989: loading net...
2016-10-19 15:08:48.983922: compiling net...
2016-10-19 15:09:02.794350: preparing data...
Traceback (most recent call last):
File "EndToEnd.py", line 208, in <module>
main()
File "EndToEnd.py", line 178, in main
train_images, train_expected_scores, train_expected_masks = prepare_data(train_images_path)
File "EndToEnd.py", line 136, in prepare_data
images = prepare_local_images(ex_paths)
File "/Users/skurilyak/Documents/dev/testing/abbypa/NNProject_DeepMask/ImageUtils.py", line 10, in prepare_local_images
return np.stack(prepared_imgs)
File "/usr/local/lib/python2.7/site-packages/numpy/core/shape_base.py", line 335, in stack
raise ValueError('need at least one array to stack')
ValueError: need at least one array to stack
Any ideas?
from nnproject_deepmask.
Did you create the learning dataset using ExamplesGenerator.py?
from nnproject_deepmask.
Related Issues (20)
- How to run on Mac OS ? HOT 7
- Beside reading the source code , is there a convenient instructions for training custom data? HOT 4
- Final Weights HOT 1
- ExamplesGenerator not generating examples HOT 2
- Error in creating VGG weights python27 HOT 1
- ImportError: No module named CocoUtils HOT 1
- CreateVggGraphWeights.py error (not graph error) HOT 1
- Fine Tuning HOT 1
- EndToEnd.py can't find images HOT 2
- Data preprocessing and object size
- tensorflow
- license + IOU results
- Interpret the results
- I followed all your installation requirements. I am not able to load vgg_16 model through the keras APi.
- CreateVggGraphWeights.py error HOT 1
- Error allocating device memory HOT 3
- Is EndToEnd.py the entrance for the whole project? HOT 2
- Train loss and test loss are both NaN HOT 1
- How to mark the detected object on the original image according the predction output? HOT 2
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 nnproject_deepmask.