Comments (1)
Resolved.
To run TartanAir evaluation, the dataset should be in path datasets/mono
or datasets/TartanAir
.
When the video iterator failed to read content, it will fail silently and no exception will be raised.
The error only show up in the update
phase, since no image is fed into slam, the patch graph is a null graph and has no edge to optimize / reproject / etc.
adding a line to detect whether the video iterator (in evaluate_tartan.py
) reads successfully will help a lot to prevent this kind of problem ...
def video_iterator(imagedir, ext=".png", preload=True):
imfiles = glob.glob(osp.join(imagedir, "*{}".format(ext)))
data_list = []
for imfile in sorted(imfiles)[::STRIDE]:
image = torch.from_numpy(cv2.imread(imfile)).permute(2,0,1)
intrinsics = torch.as_tensor([fx, fy, cx, cy])
data_list.append((image, intrinsics))
if len(data_list) == 0: raise Exception("Failed to read input.")
for (image, intrinsics) in data_list:
yield image.cuda(), intrinsics.cuda()
from dpvo.
Related Issues (20)
- Question: is it applicable to do camera movement classification?
- Question about the channels of patch tensors
- ERROR: Failed building wheel for dpvo HOT 2
- Version of CMAKE
- Does it still require the intrinsic parameter of the camera and
- Cannot use dpviewer on Jetson AGX Orin HOT 2
- randomly selecting patch centroids vs. 2D keypoint locations HOT 2
- Extracting full image depth maps
- Unable to find cuda_ba in the site packages folder after running pip install . HOT 6
- Missing calib/icl_nuim.txt HOT 2
- Why does the program get stuck when calling ii jj kk in the forward function of net.py
- what part of the tartan dataset being used for training?
- Running in c++?
- About camera pose for Replica HOT 4
- scale drift on demo
- Compiling in Windows HOT 10
- Points not visible in DPViewer HOT 2
- How is TarTanAir dataset downloaded? HOT 2
- Run demo.py, while only loops twice and ends HOT 16
- Regarding the issue of deep initialization
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 dpvo.