GithubHelp home page GithubHelp logo

Comments (5)

CedricChing avatar CedricChing commented on July 25, 2024

I've solved the problem.THANKS ANYWAY.

from deep_complex_networks.

Mi1234 avatar Mi1234 commented on July 25, 2024

Hi CedricChing:

How did you fix the problem of "ValueError: Operands could not be broadcast together with shapes (32, 16, 44) (32, 16, 22)" after running command: python scripts/run.py train --model complex?
I am using python2.7, Theano (0.10.0b1), and Keras (2.0.6).

Thanks,
Miranda

from deep_complex_networks.

CedricChing avatar CedricChing commented on July 25, 2024
Hello, @Mi1234 !

    The data format of Theano is 'channel_first', but the default setting of keras is 'channel_last', which is the data format of Tensorflow. So the data_format in file '~/.keras/keras.json' should be changed to 'channel_first'. You can follow the instructions here https://keras.io/backend/#switching-from-one-backend-to-another
    Hope this suggestion can help you.
    Have a good day.
    Cedric

from deep_complex_networks.

Mi1234 avatar Mi1234 commented on July 25, 2024

Thank you very much, CedricChing!
The problem has been solved following you instruction.

Best,
Miranda

from deep_complex_networks.

omair-khalid avatar omair-khalid commented on July 25, 2024

I am still facing the same issue even after trying this fix. I run the command:

python scripts/run.py train -d cifar10

Any further help will be highly appreciated. :)

dnn_valueerror

from deep_complex_networks.

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.