Comments (3)
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.
This should now be fixed. Try and let me know.
from keras-resnet.
I appreciate your effort, I also fixed the issue myself.
Thanks again and best regards,
Marko
from keras-resnet.
Related Issues (20)
- Should we watch val_loss or val_acc in callbacks? HOT 2
- Spec requirement for running resnet152 HOT 1
- Model cannot add original to filtered data.
- Error CNTK
- Training loss reduces sooo slow
- image prediction HOT 2
- possible bug between residual unit and shortcut HOT 1
- Last layer activation HOT 1
- TimeDistributed wrapping causing issues
- about data provider HOT 1
- Stuck in first epoch
- Where is the model saved? HOT 2
- inference image preprocessing HOT 1
- Merging before BM and Pool__resnet50
- TypeError: __init__() takes at least 4 arguments (1 given)
- Problem of funtion _shortcut HOT 1
- Why Conv2_1 has stride of (1,1)?
- Some questions about feature map size matching.
- AttributeError: module 'resnet' has no attribute 'ResnetBuilder' HOT 2
- Why does epochs stop at 56 times?
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 keras-resnet.