Comments (4)
the 'i' in https://github.com/jeong-tae/RACNN-pytorch/blob/master/models/Loss.py#L7 is for the each scales. I currently use 3 different scales. so 'i' is range in (0, 3)
labels are same for each scales.
from racnn-pytorch.
You know, I still have some doubt about backpropagation for APN, I think it is incorrect to use a model's result as another model's loss, all the parameters should be calculated by the chain rule in backwardpropagation and Lrank_loss does not match this.
But in formula 11
I think there is no way to calculate the left side of the formula, but the right side of the formula can be calculated. You said that your apn does not converging well, and I didn't find a conversion method like formula 11 in your program. I don't know if this is the cause of the problem, this is just a guess .
from racnn-pytorch.
I also can't sure to calculate formula 11. i just refer the original caffe code for the attention crop backward
from racnn-pytorch.
i will close this issue. if you still have any question, re-open or make a new issue to contribute.
i will wait a good news to improve current repository. thx
from racnn-pytorch.
Related Issues (20)
- hi,i don't know what happened .RuntimeError: "exp" not implemented for 'torch.LongTensor' HOT 13
- TypeError: expected Tensor as element 0 in argument 0, but got list HOT 10
- save model and predict HOT 5
- Question of formula 8 HOT 5
- some question for loss HOT 2
- about apn HOT 1
- about saving the tx ty tl HOT 1
- Hello author, I would like to ask the two documents in the picture you have given in the project? I can't find these two files in the downloaded resource. HOT 2
- RuntimeError: _th_exp_out not supported on CUDAType for Long HOT 2
- RuntimeError: It is expected output_size equals to 1, but got size 2 HOT 3
- is there some bug HOT 2
- TypeError: 'module' object is not callable HOT 1
- some mistake in the code HOT 1
- Some mistake in APN HOT 5
- Use of Average Pool to Conv5_4 layers before APN? HOT 3
- RuntimeError: CUDA out of memory. HOT 2
- Problem of backward of APN HOT 1
- some question:'RACNN' object has no attribute 'module' HOT 1
- about data and what those .txt file contain HOT 3
- error find in line 75, RACNN.py when run train.py HOT 1
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 racnn-pytorch.