Skip to content

Commit 07cbccd

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 33347dc commit 07cbccd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

torch_points3d/applications/base_architectures/base_model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import torch.nn as nn
22

3+
34
# This is the base class of the Backbone/API models, that provides useful functions to use within these models
45
class BaseModel(nn.Module):
56

torch_points3d/utils/model_building_utils/resolver_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import collections
22

3+
34
# from https://stackoverflow.com/questions/6027558/flatten-nested-dictionaries-compressing-keys
45
# flattens nested dicts to a single dict, with keys concatenated
56
# e.g. flatten_dict({'a': 1, 'c': {'a': 2, 'b': {'x': 5, 'y' : 10}}, 'd': [1, 2, 3]})

0 commit comments

Comments
 (0)