Skip to content

Commit 5ec8460

Browse files
committed
License, removed tools/
1 parent 85d8e3f commit 5ec8460

File tree

7 files changed

+31
-23
lines changed

7 files changed

+31
-23
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2016 Christopher B. Choy
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 3D-R<sup>2</sup>N<sup>2</sup>: 3D Recurrent Reconstruction Neural Network
22

3-
This repository contains the source codes for the paper [Choy et al., 3D-R2N2: A Unified Approach for Single and Multi-view 3D Object Reconstruction, ECCV 2016](http://arxiv.org/abs/1604.00449). Given one or multiple views of an object, the network generates voxelized (voxel is 3D equivalent of pixel) reconstruction of the object in 3D. This is the first work that generates a voxelized 3D reconstruction given 2D image observations using a neural network.
3+
This repository contains the source codes for the paper [Choy et al., 3D-R2N2: A Unified Approach for Single and Multi-view 3D Object Reconstruction, ECCV 2016](http://arxiv.org/abs/1604.00449). Given one or multiple views of an object, the network generates voxelized (voxel is 3D equivalent of pixel) reconstruction of the object in 3D. This is the first work that generates a voxelized 3D reconstruction given multiple 2D image observations using a recurrent neural network.
44

55
## Citing this work
66

@@ -22,9 +22,9 @@ If you find this work useful in your research, please consider citing:
2222

2323
Traditionally, single view reconstruction and multi view reconstruction are disjoint problmes that has been dealt using different approaches. In this work, we first propose a unified framework for both single and multi view reconstruction using a `3D Recurrent Reconstruction Neural Network` (3D-R2N2).
2424

25-
| Schematic of the `3D-Convolutional LSTM` | Inputs (red cells + feature) for each cell (purple) |
26-
|:----------------------------------------:|:---------------------------------------------------:|
27-
| ![3D-LSTM](imgs/lstm.png) | ![3D-LSTM](imgs/lstm_time.png) |
25+
| The schematic of the `3D-Convolutional LSTM` | Inputs (red cells + feature) for each cell (purple) |
26+
|:--------------------------------------------:|:---------------------------------------------------:|
27+
| ![3D-LSTM](imgs/lstm.png) | ![3D-LSTM](imgs/lstm_time.png) |
2828

2929
We can feed in images a random order since the network is trained to be invariant to the order. The ciritical component that enables the network to be invariant to the order is the `3D-Convolutional LSTM` which we first proposed in this work. The `3D-Convolutional LSTM` selectively updates parts that are visible and keeps the parts that are self occluded (please refer to [http://cvgl.stanford.edu/3d-r2n2/](http://cvgl.stanford.edu/3d-r2n2/) for the supplementary material for analysis).
3030

@@ -91,3 +91,7 @@ tar -xzf ShapeNetVox32.tgz -C ShapeNet/
9191
```
9292
./experiments/script/res_gru_net.sh
9393
```
94+
95+
## LICENSE
96+
97+
MIT License
File renamed without changes.

lib/data_process.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
from lib.config import cfg
1616
from lib.data_augmentation import preprocess_img
1717
from lib.data_io import get_voxel_file, get_rendering_file
18-
19-
import tools.binvox_rw as binvox_rw
18+
from lib.binvox_rw import read_as_3d_array
2019

2120

2221
def print_error(func):
@@ -171,7 +170,7 @@ def load_img(self, category, model_id, image_id):
171170
def load_label(self, category, model_id):
172171
voxel_fn = get_voxel_file(category, model_id)
173172
with open(voxel_fn, 'rb') as f:
174-
voxel = binvox_rw.read_as_3d_array(f)
173+
voxel = read_as_3d_array(f)
175174

176175
return voxel
177176

tools/__init__.py

Whitespace-only changes.

tools/_init_paths.py

-16
This file was deleted.

tools/binvox

-339 KB
Binary file not shown.

0 commit comments

Comments
 (0)