Comments (3)
After further investigation it seems that each row in r['fc8']
is equal, and keeping only the first row fixes the shape mismatch. This is done by changing the folowing line:
#scr.append(1 * r['fc8'])
scr.append(1*np.expand_dims(r['fc8'][0], axis=0)) # (10,20) -> (1,20)
For 1 crop only the code runs without errors but produces poor mAP results (order of 3%), which is much lower than the 53% you get by random guessing...
from voc-classification.
Nevermind, this is what happens if you give a (faulty?) deploy.prototxt as input as opposed to a train.prototxt. If you're looking for a working example have a look here: https://github.com/jeffdonahue/bigan
from voc-classification.
@polo5 Did you solve the mismatch problem? I spent a lot of days debugging the code but failed. The jeffdonahue/bigan code has same problem. Besides, my test_resize_layer.cpp also failed in the 'make test' compiling.
Help,please.
from voc-classification.
Related Issues (7)
- Is there a python2.x version of this code? HOT 2
- The code does not work for models/bvlc_alexnet/deploy.prototxt
- Size mismatch in SigmoidCrossEntropyLoss HOT 6
- VOC Classification Code is not working for my model that has the alexnet structure HOT 2
- How can I get the state-of-art performance of VOC in the classification task?
- Do you have benchmark results for VOC for image classification?
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 voc-classification.