Comments (7)
I did not check, but I guess var.assign
only creates the assignment operation.
That is, you have to run that operation after you create it, like this
assign_op = var.assign(res)
sess.run(assign_op) # also assign_op.op.run()
from admd.
That's strange because in PyTorch with the same network, optimizer, parameters and loss, 4 channels (RGB+Depth) gives better results than just 3 (RGB only) and that's what's expected, but with your code in tensorflow accuracy is lower with 4 channels...I think I will have no choice but to compare in PyTorch and extrapolate from there...
from admd.
This issue should not be closed because your code still don’t work with RGB+D concatenation...It should work like in pytorch (improve the performance and not decreasing them).
from admd.
Hi. This code refers to our paper. We never ever perform rgb+d concatenation there. I have been happy to help you with your code, but I cannot be in charge of solving issues with your modified version of my code.
from admd.
Ok but do you have any idea how its possible that your code gives lower performances with RGB+Depth concatenate than just RGB and Depth while in PyTorch its better ?
from admd.
There can be many reasons I think
- are you sure you are assigning the rgb weights correctly?
- random uniform initialization may not be a good choice, you can leave the default init which is automatically run in the solver (here)
- make sure you are training the new 4D filters and that they are in the list of trainable variable
3a) make sure the loss is optimized wrt such variables (here) - what kind of input are you using? depth in meters? here I am using HHA encoding, which is 3 channels.
4a) if you normalize depth in meters in the range of RGB this is probably not going to work, you are squeezeing too much. Try to visualized the nromalized data.
Hope this is useful.
from admd.
Thanks a lot I’m gonna check all those possible issues, when the problem will be solved I will write de solution here!
from admd.
Related Issues (14)
- Feature for comparison ResNet-50 on NYU
- Resnet 50 v1 or v2? HOT 2
- How to run the code on NTU for Action Recignition HOT 2
- Theoretical question about your TPAMI paper HOT 3
- confusion about dataset in each training step HOT 1
- Northwestern-UCLA dataset HOT 3
- The depth images of N-UCLA HOT 1
- Your code don't work... HOT 15
- Single stream rgb is working but double stream not HOT 11
- Help to change the first convolution HOT 12
- NYU classification: What modification do you do to your network ? HOT 10
- train_hallucination vs train_hallucination_p2 for NYUD HOT 9
- Help with train_hallucination_p2 for NYU HOT 12
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 admd.