Comments (6)
Hi @kevinlin311tw ,
It is only an experimental semi-finished realization. It only supports affine transform and suffers from a very low speed. I exploited it before I went out for business, and I don't have time to continue work on it.
The codes is very easy to use. It takes a feature map blob and an affine tansform parameter blob, ouput the interpolated feature map. The affine tansform parameter can be got by a two-layer NN regression model as the paper describes.
It will be appreciated if you could take over the work, continueing to accomplish it.
from caffe-windows.
@happynear, nice work!
I will try to develop it further. For the begging - bug report #35 :)
from caffe-windows.
Hi, @happynear ,
I have a question about the regression layer (localization network). I implement it with two fully-connected layers, and the outputs of the second fully-connected layer is 6. But in their paper, they claimed that a final regression layer should be appended after NN. I'm puzzled about which kind of regression layer is (like L2)? And as we cannot access to the groundtruth of transformation \theta, how can we do regression?
Thanks a lot!
from caffe-windows.
@wazhenzhen ,
The gradient of the second fc layer is from transformer_layer. The foumula of calculating the gradient is written in the paper, and that is the most important highlight of the paper. I have implemented the codes in transformer_layer.cpp
and transformer_layer.cu
.
from caffe-windows.
@happynear , Thanks! As I'm a freshman on caffe, I'm still not clear about how to implement the whole spatial transformer network to a standard CNN. Could you share a .prototxt file to show how to use the transformer layer, it will be much clear I think.
Thanks a lot!
from caffe-windows.
I am busy for cvpr deadline now. After that, I will continue to work on the transformer layer.
from caffe-windows.
Related Issues (20)
- how to use Contrastive/Triplet loss layer? Is there any train_val.ptototxt example?
- Accessing .\windows
- building caffe issue fatal error LNK1104 cannot open file python36.lib HOT 6
- can not compile in the windows
- python3.5报错LINK : fatal error LNK1104: 无法打开文件“python36.lib” HOT 2
- Can not find the prototxt including the LabelSpecificAdd
- fatal error: caffe/proto/caffe.pb.h: No such file or directory HOT 1
- softmax_loss = 0 ,under ubuntu16.04,cuda10,opencv 3.4.5
- caffe_pb2.py has no LabelMap() HOT 1
- win10+cuda10+cudnn7.3编译出现MSB271错误? HOT 3
- 编译出现:InitLogLevelPipe错误
- python3.5
- Compile on ubuntu
- mnist demo failed
- compile error on win10 + VS2017 + cuda9
- after deleting a Net instance, the GPU memory is not released
- 求助大佬,win7 64位,vs2015+cuda10.2 环境下编译需要如何修改啊?
- 0 projects, projects or modules unavailable
- cuda11.1+win10+vs2015+rtx3090 NetParameter problem
- libcaffe编译成功,pycaffe 编译失败
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 caffe-windows.