Skip to content

Commit

Permalink
Release 0.3.1 - Fix depth Map Config and Pillow version (#21)
Browse files Browse the repository at this point in the history
* Only use depth downsample factor if in config

* Updated version of Pillow
  • Loading branch information
codyreading authored Apr 1, 2021
1 parent 33ef63a commit 5a96b37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion pcdet/datasets/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ def __init__(self, dataset_cfg=None, class_names=None, training=True, root_path=

self.grid_size = self.data_processor.grid_size
self.voxel_size = self.data_processor.voxel_size
self.depth_downsample_factor = self.dataset_cfg.DEPTH_MAP.DOWNSAMPLE_FACTOR

if "DEPTH_MAP" in self.dataset_cfg:
self.depth_downsample_factor = self.dataset_cfg.DEPTH_MAP.DOWNSAMPLE_FACTOR

self.total_epochs = 0
self._merge_all_iters_to_one_epoch = False

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ networkx==2.5
numba==0.52.0
numpy==1.20.1
oauthlib==3.1.0
Pillow==8.1.0
Pillow==8.1.2
protobuf==3.15.3
pyasn1==0.4.8
pyasn1-modules==0.2.8
Expand Down

0 comments on commit 5a96b37

Please sign in to comment.