aaltovision / hscnet Goto Github PK
View Code? Open in Web Editor NEWHierarchical Scene Coordinate Classification and Regression for Visual Localization
Home Page: https://aaltovision.github.io/hscnet/
License: MIT License
Hierarchical Scene Coordinate Classification and Regression for Visual Localization
Home Page: https://aaltovision.github.io/hscnet/
License: MIT License
Hi,
Line 46 in 543ff9f
Is this returned depth_
data the calibrated depth value which align to the corresponding RGB image?
Thanks in advance!
Hi, may I know why here needs to negate the y-axis again? As I know, the depth sensor and camera sensor use the same coordinate in the Kinect (https://learn.microsoft.com/en-us/azure/kinect-dk/coordinate-systems).
Line 30 in 543ff9f
Hope for your reply, thanks in advance!
Hi,
Thanks for sharing your great work.
May I know the mean of "centers.npy", "translation.txt" of each scene and the mean of "sensorTrans.txt".
Thanks!
Thanks for great work, but how to calculate the label.png from 3dpoints, if i have one image with camera pose, can i calculate the label.png?
It is throwing the following error while trying to train with kings college dataset. There is no file called "centers.npy"
envs/slam/lib/python3.7/site-packages/numpy/lib/npyio.py", line 428, in load
fid = open(os_fspath(file), "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/Cambridge/KingsCollege/centers.npy'
I execute the setup.py in pnpransac folder. Then the .so file is generated in pnpransac folder.
After generation of pnpransac.so, I evaluate the network by following command.
It happens import error such like below things:
(env3.7) ghpak@ghpak-All-Series:/python_ws/hscnet$ cd pnpransac//python_ws/hscnet/pnpransac$ python setup.py build_ext --inplace
(env3.7) ghpak@ghpak-All-Series:
Compiling pnpransacpy.pyx because it changed.
[1/1] Cythonizing pnpransacpy.pyx
/home/ghpak/python_ws/hscnet/env3.7/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/ghpak/python_ws/hscnet/pnpransac/pnpransacpy.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
running build_ext
building 'pnpransac' extension
creating build
creating build/temp.linux-x86_64-3.7
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I. -I/home/ghpak/python_ws/hscnet/env3.7/include -I/home/ghpak/python_ws/hscnet/env3.7/include -I/usr/include/python3.7m -c pnpransacpy.cpp -o build/temp.linux-x86_64-3.7/pnpransacpy.o -fopenmp -std=c++11
In file included from /usr/include/numpy/ndarraytypes.h:1777:0,
from /usr/include/numpy/ndarrayobject.h:18,
from /usr/include/numpy/arrayobject.h:4,
from pnpransacpy.cpp:644:
/usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^
x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.7/pnpransacpy.o -L/home/ghpak/python_ws/hscnet/env3.7/lib -lopencv_core -lopencv_calib3d -o /home/ghpak/python_ws/hscnet/pnpransac/pnpransac.cpython-37m-x86_64-linux-gnu.so
(env3.7) ghpak@ghpak-All-Series:/python_ws/hscnet/pnpransac$ cd ..//python_ws/hscnet$ python eval.py --model hscnet --dataset Cambridge --scene KingsCollege --checkpoint Cambridge/hscnet/KingsCollege/ --data_path data/Cambridge/KingsCollege/
(env3.7) ghpak@ghpak-All-Series:
Traceback (most recent call last):
File "eval.py", line 12, in
from pnpransac import pnpransac
ImportError: ./pnpransac/pnpransac.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN2cv6String10deallocateEv
How can I solve this problem...?
Hi, Will you update codes for Aachen?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.