Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 73e4685

Browse files
committedNov 4, 2024·
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 6df971e commit 73e4685

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed
 

‎torch_points3d/applications/base_architectures/base_model.py

+1
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

+1
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)
Please sign in to comment.