Comments (5)
Hey Nicholasli1995,
Thanks for putting together this awesome repo, I really appreciate how thoroughly documented the setup is.
Would it be possible to get a few hints as to how to run the model on a single image as opposed to a directory?
I see that the data_loader in 'inference' is nearly directly from PyTorch, so it's probably my lack of experience with PyTorch that has me confused.
Separately, I also tried making my own directory and referencing it in my .yaml file, the following command still gave me an error about referencing the KITTI dataset
python .\inference.py --cfg "../configs/single_inference_test.yml" --visualize True --batch_to_show 1
I was a little bit surprised to see "training" in the file not found path as I'm not asking to train -- I would expect to have to place an analogous 'test.txt' in this directory with the single test image filename, but I don't think that's currently the issue.
Thanks! Clayton
Hi Clayton, can you explain your use case that "run the model on a single image as opposed to a directory"? Do you mean you don't want to initialize the kitti directory and simply process a single image? In that case, you can modify the image list .txt file so that it only contains the name of the image you need.
The error happened because the code assumes a directory structure as detailed in https://github.com/Nicholasli1995/EgoNet/blob/master/docs/preparation.md
from egonet.
Hi Nicholasli1995,
The intentional was to setup a pipeline so some other code could pass EgoNet an image without loading from a file but I did not fully grasp the D4LCN dependency earlier, so I think I can figure it out from here.
Thanks!
Clayton
from egonet.
Hi Nicholasli1995,
The intentional was to setup a pipeline so some other code could pass EgoNet an image without loading from a file but I did not fully grasp the D4LCN dependency earlier, so I think I can figure it out from here.
Thanks! Clayton
Sure. As long as there is a provided 2D region-of-interest EgoNet can be used. Any detector can be used apart from D4LCN to provide such proposals.
from egonet.
Just want to make sure, but EgoNet requires more than a 2D region of interest, right? For example, a YOLO model couldn't be used because it doesn't provide the y-rotation, 3d size, or 3d location?
from egonet.
Just want to make sure, but EgoNet requires more than a 2D region of interest, right? For example, a YOLO model couldn't be used because it doesn't provide the y-rotation, 3d size, or 3d location?
Not exactly. A user can also choose to feed 2D boxes to define the RoIs. The 3D inputs were just used to compute 2D RoIs by projecting them to the image plane. The "Reproduce results on the test split" section in https://github.com/Nicholasli1995/EgoNet/blob/master/docs/inference.md#reproduce-results-on-the-test-split shows the example of using only 2D boxes as inputs.
from egonet.
Related Issues (17)
- About the license for this model HOT 2
- Visualazition problem
- Use EgoNet on custom data HOT 5
- Generate 3D rectangular coordinates using 2D rectangular boxes HOT 4
- Inference on custom dataset does not give proper 3d bboxes HOT 12
- Relation between kpts_3d_pred and pose HOT 2
- Result Image HOT 1
- 关于“car_instance”中代码的请教 HOT 1
- 如何使用该模型推断自己的图片
- 如何使用该模型推断自己的图片 HOT 4
- Cannot use my predicted files to run the inference.py
- Training Script HOT 2
- Reproduce Result in Kitti dataset HOT 1
- Reproduce results on the test split HOT 2
- No arg_max in KITTI_train_ICRs.yml file HOT 1
- Stream from camera HOT 7
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 egonet.