Comments (5)
Hi,
In the IROS2018 model the network predicts 2 disparities (ie, a left-aligned and a "virtual" right-aligned maps). If you are using this checkpoint, you have to slice the tensor
from mobilepydnet.
Yes i am using that checkpoint. I am not sure about how exactly i should proceed with slicing. I found only 1 output model/L0/ResizeBilinear and used that to freeze the graph. Are you suggesting that i should be modifying the output before freezing the graph?
from mobilepydnet.
Yes, something like: tf.image.resize_images(self.disp2[:,:,:,0], size)
from mobilepydnet.
I am not experienced in neural networks, so i am quite confused. I don't manipulate any outputs nor do i run any inference in python. I just used the script in this post to export the pb file:
Since it's has only 1 output with 2 channels, i don't know how i am supposed to slice after freezing the graph.
from mobilepydnet.
You have two options:
- edit the graph: by adding the lines I wrote before, you’re changing the graph. Doing so, you have to freeze this new graph
- keep the graph as it is: if you know that the predicted disparity has two channels, where just the first one is meaningful at testing time, you can slice the output in your app (that is, you keep just the first channel)
from mobilepydnet.
Related Issues (20)
- what is the range you used for midas output HOT 3
- Dataset release HOT 5
- Do you use BN during training? HOT 1
- How to collect training dataset HOT 2
- About training loss HOT 1
- training loss weight for different scale depth prediction HOT 1
- Can you provide a detailed documentation towards training the model ? HOT 4
- How does mobilePydnet architecture differ from Pydnet architecture HOT 4
- Quantized Model HOT 2
- Crash Unexpected failure when preparing tensor allocations - Android 10 (Mi 9T) HOT 8
- Depth image for training HOT 1
- Questions about training pipeline HOT 2
- How to support KPU? HOT 1
- Training Code
- Model Output Issues
- Android Version HOT 3
- Disparity to distance HOT 5
- " Data loss: not an sstable" error when running provided pretrained inference
- About evaluation and loss function HOT 2
- What data augmentation do you use?
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 mobilepydnet.