Git Product home page Git Product logo

Comments (3)

mnc1423 avatar mnc1423 commented on July 16, 2024

modify your batch size

from h-denseunet.

Jingwen-Lee avatar Jingwen-Lee commented on July 16, 2024

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.

WeiDuan123 avatar WeiDuan123 commented on July 16, 2024

Have you solved the problem? I met the same question.

from h-denseunet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.