• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[ICPR 2018] Indoor Scene Layout Estimation from a Single Image.

Indoor Scene Layout Estimation from a Single Image

one_lsun_result_banner

Paper

Indoor Scene Layout Estimation from a Single Image.

Hung Jin Lin, Sheng-Wei Huang, Shang-Hong Lai, Chen-Kuo Chiang National Tsing Hua University.
International Conference on Pattern Recognition (ICPR), 2018.
Read in public [PDF].

Citation

If you find the work is useful, please use the following BibTeX entry.

@inproceedings{lin2018layoutestimation,
    Author = {Hung Jin Lin and Sheng-Wei Huang and Shang-Hong Lai and Chen-Kuo Chiang},
    Title = {Indoor Scene Layout Estimation from a Single Image},
    Booktitle = {2018 24th International Conference on Pattern Recognition (ICPR)},
    Year = {2018}
}

Prerequisite

  • Python 3.6+
  • PyTorch 1.0+
  • OneGAN newest is okay.
  • pip install -e requirements.txt

Dataset

Checkpoint

Pre-trained weight at Google Drive.

Cannot provide original checkpoint in paper due to the agreement, so this is a re-trained checkpoint for fast evaluation.

Updated Jan 2021.

Usage

Thanks @shuuchen for an all-in-one project, you may also refer to https://github.com/shuuchen/lsun-room-dsc!

  • Training

    • Dataset LSUN Room Layout Dataset into the folders of ./data/lsun_room.

      • images/: RGB image *.jpg of indoor room scene
      • layout_seg/: layout ground truth *.mat planar segmentation
    • Trained model will be saved to folder ./ckpts

    python main.py --phase train --edge_factor 0.2 --l2_factor 0.2 --name baseline
  • Validation

    • Validate on LSUN-Room / Hedau datasets.
    python main.py --phase eval --dataset hedau --folder ./data/hedau --pretrain_path {checkpoint_path}
  • Testing

    • On your photo or image sequence
    # single image
    python demo.py image --weight {checkpoint_path} --path {image_filepath}
    
    # images in folder
    python demo.py image --weight {checkpoint_path} --path {image_folder}
    • On video or webcam
    # video
    python demo.py video --weight {checkpoint_path} --path {test_video}
    
    # webcam
    python demo.py video --weight {checkpoint_path} --device 0
  • Toolkit

    # this is my modified script for usage demonstration,
    # you may need to modify the official Matlab code to evaluate your results.
    matlab -nojvm -nodisplay -nosplash -r "demo('$EXPERIMENT_OUTPUT_FOLDER'); exit;"

More Results

one_lsun_result_more

More Repositories

1

CrawlerTutorial

爬蟲極簡教學(fetch, parse, search, multiprocessing, API)- PTT 為例
Python
342
star
2

dcard-spider

A spider on Dcard. Strong and speedy.
Python
96
star
3

iLms-nthu-API

專為 學生 / 助教 / 開發者 所寫的 iLMS 通用 API/command-line 環境。An iLMS client for stduents, assistants and developers.
Python
20
star
4

pixel-styler

Concise implementation of image-to-image translation.
Python
14
star
5

Tone-Enhancement

An implementation of tone enhancement. May refer to "Two-scale Tone Management for Photographic Look", SIGGRAPH 2006.
Python
10
star
6

OneGan

One more freaking GAN, I'll be sick.
Python
9
star
7

Parallel-Sorting-odd-even-sort

Parallel Odd-Even Sort in MPI (Message Passing Interface) with two approaches.
C
7
star
8

All-Pair-Shortest-Path-CUDA

Accelerate algorithm block all-pair shortest path through CUDA
Cuda
6
star
9

Parallel-Mandelbrot-Set

Comute and display Mandelbrot set in parallel.
C++
5
star
10

Course-CompilerDesign

10320 CS340400, Compiler Design, NTHU. A simple comiler for C in order to generate assembly code Andes with help of lex and yacc.
Yacc
5
star
11

blog

Personal blog powered by Hexo. https://levirve.github.io/blog
4
star
12

deep-insight-tensorflow

An example tutorial project for deep learning on MNIST.
Python
3
star
13

imaple-crawler

A BBS crawler for imaple.tw
Python
3
star
14

GooTool

Google API wrapper agents - 使用 Google API 實作
Python
3
star
15

dotfiles

Shell
2
star
16

dcard-lumberjack

Lumberjack in Dcard !
Python
2
star
17

projectize

TypeScript
2
star
18

MIPS-SingleCycleSimulator

Single Cycle Simulator for MIPS instructions
C++
1
star
19

TheLeetCoder

Write the LeetCode with unit test features.
C++
1
star
20

mir-final

MATLAB
1
star
21

Course-NetworkProgramming

10320 CS 423300 Network Programming, NTHU
C++
1
star
22

Course-ComputerGraphics

A repository for NTHU CS 550000 Computer Graphics homeworks.
C
1
star
23

ResearchGate.py

A parser for Research Gate
Python
1
star
24

Parallel-N-Body-Simulation

Parallel N-Body Simulation with Barnes-Hut algorithm.
C++
1
star
25

DiskAnalyze

Make a report of the specific directory for the disk usage.
Python
1
star