human-centric-scene-synthesis
所属分类:硬件设计
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2018-02-23 21:10:50
上 传 者:
sh-1993
说明: CVPR2018代码-使用随机语法的以人为中心的室内场景合成。,
(Code for CVPR2018 - Human-centric Indoor Scene Synthesis Using Stochastic Grammar.,)
文件列表:
LICENSE (1066, 2018-02-23)
src/ (0, 2018-02-23)
src/CMakeLists.txt (164, 2018-02-23)
src/clean.sh (65, 2018-02-23)
src/cpp/ (0, 2018-02-23)
src/cpp/CMakeLists.txt (1731, 2018-02-23)
src/cpp/Entity.cpp (6316, 2018-02-23)
src/cpp/Entity.h (3024, 2018-02-23)
src/cpp/Evaluator.cpp (5381, 2018-02-23)
src/cpp/Evaluator.h (1284, 2018-02-23)
src/cpp/Furniture.cpp (7262, 2018-02-23)
src/cpp/Furniture.h (2536, 2018-02-23)
src/cpp/Learner.cpp (23384, 2018-02-23)
src/cpp/Learner.h (1978, 2018-02-23)
src/cpp/Room.cpp (31743, 2018-02-23)
src/cpp/Room.h (4742, 2018-02-23)
src/cpp/SUNCGMetadata.cpp (4991, 2018-02-23)
src/cpp/SUNCGMetadata.h (1531, 2018-02-23)
src/cpp/Sampler.cpp (6589, 2018-02-23)
src/cpp/Sampler.h (1223, 2018-02-23)
src/cpp/helper.cpp (4435, 2018-02-23)
src/cpp/helper.h (1404, 2018-02-23)
src/cpp/lib/ (0, 2018-02-23)
src/cpp/lib/easylogging++.cc (114489, 2018-02-23)
src/cpp/lib/easylogging++.h (180319, 2018-02-23)
src/cpp/lib/json.hpp (420795, 2018-02-23)
src/cpp/lib/polygon.cpp (492, 2018-02-23)
src/cpp/lib/polygon.h (704, 2018-02-23)
src/cpp/lib/rrt/ (0, 2018-02-23)
src/cpp/lib/rrt/2dplane/ (0, 2018-02-23)
src/cpp/lib/rrt/2dplane/2dplane.cpp (409, 2018-02-23)
src/cpp/lib/rrt/2dplane/2dplane.hpp (931, 2018-02-23)
src/cpp/lib/rrt/2dplane/GridStateSpace.cpp (6360, 2018-02-23)
src/cpp/lib/rrt/2dplane/GridStateSpace.hpp (1202, 2018-02-23)
src/cpp/lib/rrt/2dplane/ObstacleGrid.cpp (3108, 2018-02-23)
src/cpp/lib/rrt/2dplane/ObstacleGrid.hpp (1491, 2018-02-23)
src/cpp/lib/rrt/2dplane/PlaneStateSpace.hpp (1459, 2018-02-23)
src/cpp/lib/rrt/BiRRT.hpp (5716, 2018-02-23)
... ...
# CVPR2018 - Human-centric Indoor Scene Synthesis Using Stochastic Grammar
## Instructions
### Running the sampler
- Download the following files and save to `src/metatdata/stats`
- furnitureAffordance.json: https://drive.google.com/file/d/1DvjLij3FjPnPv-e775BNhO9NpuvmCZqy/view?usp=sharing
- stats: https://drive.google.com/file/d/1eTv3QlSqa1Pq9Bm94nbTB0dMwErxn3Ou/view?usp=sharing
- Modify the paths in the `main` function in `src/cpp/main.cpp`
- Build and run the sampler:
```cpp
cd src/cpp
mkdir build && cd build
cmake ..
make -j8
./cpp 0
```
- The sampled results are saved as txt and json files in `tmp/samples'. The txt files can be opened and viewed by [RoomArranger](http://www.roomarranger.com/) (free to use on Linux).
### Visualizing the results
- Change the paths in 'src/python/config.py'
- Run 'src/python/visualize_activity.py'. The visualization results are saved in 'tmp/figures'.
If you find this code useful, please cite our work with the following bibtex:
```
@inproceedings{qi2018human,
title={Human-centric Indoor Scene Synthesis Using Stochastic Grammar},
author={Qi, Siyuan and Zhu, Yixin and Huang, Siyuan and Jiang, Chenfanfu and Zhu, Song-Chun},
booktitle={Conference on Computer Vision and Pattern Recognition (CVPR)},
year={2018}
}
```
近期下载者:
相关文件:
收藏者: