Comments (3)
modify your batch size
from h-denseunet.
When I run
sh bash_train.sh
, there were some questions as the following:Traceback (most recent call last): File "train_ 2ddense.py". line 215, in <modulestrain_ and_ predictl File "train_ 2ddense.py". line 180, in train_ and_ predict model = make_ parallel (model, args.b 1 l0, mini_ batch=l) File "Keras-2.0. 8/keras/utils2/multi gpu.py". line 68, in make_ parallel merged . append(concatenate(outputs axis=0)) File "Keras-2.0. 8/keras/layers/merge.py line 600 in concatenate return Concatenate(axis=axis, **kwa rgs ) (inputs ) File "Keras-2.0. 8/keras/engine/topologypy line 602, in_ call__ output = self . call(inputs, **kwargs ) File "Keras-2. 0.8/keras/layers/merge.py line 332, in call return K.concatenate(inputs axis=self .axis) File "Keras-2.0. 8/keras/backend/tensorflow_ backend.py". line 1707. in concatenate return tf . sparse_ concat(axis, tensors ) File " /usr/local/lib/python2.7/dist -packages/ tenso rflow/python/ops/sparse_ ops.py". line 237. in sparse_ concat gen_ sparse_ ops._ sparse_ concat(inds, vals, shapes, axis, name=name) ) File "/usr/local/lib/python2 .7/dist- packages/ tenso rflow/ python/ops/gen_ sparse_ ops.py". line 663, in_ sparse_ concat concat_ dim=concat_ dim. namename) File "/usr/local/lib/python2 .7/dist -packages/ tensorf Low/ python/ framework/op_ def_ library.py". line 570, in ,apply_ op_ helper (input_ name, op_ type_ name, len(values), num_ attr.minimum ) ValueError: List argument ' indices' to 'SparseConcat' 0p with length 0 shorter than minimum length 2.So why did these happen? How to solve them?
I have the same question. I wonder how you solved it. thx!
from h-denseunet.
Have you solved the problem? I met the same question.
from h-denseunet.
Related Issues (20)
- keras.layers.input batch_shape 最基本問題 HOT 1
- how to predict by model denseunet-2d?
- About generate livermask HOT 1
- 请问'27386' 是怎么计算出来的呢?
- my questions about Hdenseunet
- Evaluating the results?
- Request Dataset
- np.where(livertumor == 2) HOT 1
- about preprocessing.py HOT 1
- Where is the code for slicing 3D volumes to 2d slices
- How do I get the number 27386
- 2D coarse segmentation ResNet network HOT 1
- Where is the test dataset? HOT 4
- Could you share the 3Dircadb data set? official website link is too slow HOT 1
- in train_2ddense.py, in the code ' steps = 27386 / args.b', How do I get the number 27386
- anybody who can tell me about how to calculate the number '27386' HOT 2
- about train_2ddense.py
- about model_best.hdf5
- densenet161_weights_tf.h5
- livermask 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 h-denseunet.