Giter Site home page Giter Site logo

Comments (3)

raghakot avatar raghakot commented on August 15, 2024

I tested it with tensor flow. I wonder if it needs more changes to work with theano. I will try it out and let u know soon.

Sent from Outlook Mobilehttps://aka.ms/qtex0l

On Sat, Apr 23, 2016 at 3:32 AM -0700, "Marko Jocić" <[email protected]mailto:[email protected]> wrote:

Hey Ragha, thank you for sharing this, nice job!

I'm having difficulties running your example. I'm using latest versions of Keras and Theano.

File "train_resnet.py", line 139, in
model = resnet()
File "resnet.py", line 110, in resnet
block1 = _residual_block(block_fn, nb_filters=64, repetations=3, is_first_layer=True)(pool1)
File "resnet.py", line 93, in f
input = block_function(nb_filters=nb_filters, init_subsample=init_subsample)(input)
File "resnet.py", line 50, in f
return _shortcut(input, residual)
File "resnet.py", line 72, in _shortcut
stride_width = input._shape[2].value / residual._shape[2].value
AttributeError: 'TensorVariable' object has no attribute '_shape'

Would you mind letting me know if have to do anything more in order to run your implementation of ResNet?

Thank you in advance,
Marko

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/1

from keras-resnet.

raghakot avatar raghakot commented on August 15, 2024

This should now be fixed. Try and let me know.

from keras-resnet.

jocicmarko avatar jocicmarko commented on August 15, 2024

I appreciate your effort, I also fixed the issue myself.

Thanks again and best regards,
Marko

from keras-resnet.

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.