Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: api server #3
feature: api server #3
Changes from all commits
95b9777
e1ad9d6
d8f2437
f4aae92
4744726
a489bfe
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
DuLa-Net
This is the pytorch demo code of our CVPR 2019 paper
DuLa-Net: A Dual-Projection Network for Estimating Room Layouts from a Single RGB Panorama (Arxiv, Project)
By this repo you can estimate the 3D room layout from a single indoor RGB panorama. To see more details please refer to the paper or project page.
Prerequisites
Pretrained Model
First, please download the pretrained models and copy to ./Model/ckpt/
The pretrained models are trained on our Realtor360 dataset with different backbone networks.
Quick start
docker-compose up -d
docker-compose down
docker ps
docker-compose build
docker-compose logs -f ${server, worker}
APIs
Explore detailed information about the APIs in the Swagger UI documentation, accessible at http://localhost. The Swagger UI provides a comprehensive overview of the available APIs, including endpoints, methods, and detailed descriptions to assist you in understanding and interacting with the application.
In this repository, we've concentrated on building the AI service segment shown in the diagram below.
Pre-processing
The input panorama should be already aligned with the Manhattan World. We recommand you using the PanoBasic in Matlab or the python implementation here. Those tool can help you do the pre-processing to align the panorama.
Predict
Then using below command to load the pretrained model and predict the 3D layout.
If you want to use other backbone networks(default is resnet18).
More Results
Dataset
The Realtor360 dataset currently couldn’t be made publicly available due to some legal privacy issue. Please refer to the MatterportLayout dataset(coming soon), which resembles the Realtor360 in all aspects.