Comments (7)
@2502572025 hi,i have get a error when i run a new caffe vision"s stn code .
error:
check error:unknown name: file
why ?
from spatialtransformerlayer.
Hello, @zengjianyou
You need to pay attention to the initialization of the regress layer bias.
The author customed his own initialization function.
from spatialtransformerlayer.
@2502572025 So,Don”t you use "file” type? I got worse result when i initialize the regress layer bias to “constant”.What should i do?
from spatialtransformerlayer.
@2502572025 Hi, Kevin,
Thank you for your interests in my code. When I did my experiments using my code, for MNIST experiment, I can get the results pretty close to the original paper, but for CUB datset, I can't. Unfortunately, the authors of the original paper do not intend to release the code (correct me if they do) so I cannot check what's the difference between my implementation and theirs.
But you can try other tensorflow implementations, https://github.com/kevinzakka/spatial-transformer-network or http://torch.ch/blog/2015/09/07/spatial_transformers.html
Bests,
Kaichun
from spatialtransformerlayer.
@daerduoCarey I am very interests in your code. I always got an unstable result,when i did my experiments using your code.The result stays oscillating when it runs to the end. I hope you can give me some advice. Thank you!!
from spatialtransformerlayer.
Hi, Kaichun. Many thanks for your attention.
I think the only difference is the data preprocessing between yours and mine.
I suppose this situation caused by the two factors.
i. The data preprocessing
My preprocessing is based on the PIL of python.
ii. The version of the caffe
I just changed the caffe version, the divergent training began to convergent.
So, if possible, can you give me your data or preprocessing script?
I want to find out what's wrong with my processing.
Thank you very much again!
Best Regards
Kevin
from spatialtransformerlayer.
hi,@xyyu-kevin , can you tell me how to add stn layer directly after input image data layer? and then pass the transformed into the pre-trained VGG16? the localization and the stn layer both needs backward to learn the parameter or not? How to set the lr?
from spatialtransformerlayer.
Related Issues (20)
- How you prevent from update theta that we don't want to update HOT 1
- PowerFile error! HOT 2
- Rotation
- Play with the theta parameters? HOT 1
- Add the stn after the data layer . HOT 2
- ST layer scales down input and produces wrong output during random iterations HOT 3
- Weight initialized from the Inception pretrained on ImageNet HOT 1
- What does this layer mean?
- CUB_200_2011 result? HOT 1
- how to use STN layer directly after imagedata layer for CUB
- Power File layer HOT 3
- dtheta update issue? transforming dtheta for getting theta? HOT 1
- cannot understand the initialization method of "output_grid" in st_layer.cpp HOT 1
- Update + whole caffe HOT 1
- Would you share some pretrained model for transfer learning? HOT 1
- How to chose the threshold for LocLoss? HOT 6
- Gradient test case may fail in GPU single precision mode HOT 4
- Bug (?) when normalising coordinates HOT 2
- .caffemodel for initialisation HOT 3
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 spatialtransformerlayer.