Upload config.py with huggingface_hub
Browse files
config.py
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright 2023 DeepMind Technologies Limited
|
| 2 |
+
#
|
| 3 |
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
| 4 |
+
# you may not use this file except in compliance with the License.
|
| 5 |
+
# You may obtain a copy of the License at
|
| 6 |
+
#
|
| 7 |
+
# http://www.apache.org/licenses/LICENSE-2.0
|
| 8 |
+
#
|
| 9 |
+
# Unless required by applicable law or agreed to in writing, software
|
| 10 |
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
| 11 |
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 12 |
+
# See the License for the specific language governing permissions and
|
| 13 |
+
# limitations under the License.
|
| 14 |
+
# ==============================================================================
|
| 15 |
+
|
| 16 |
+
"""Config file with parameters."""
|
| 17 |
+
|
| 18 |
+
obj_pc_n = 2048
|
| 19 |
+
robot_pc_n = 6
|
| 20 |
+
keypoint_n = 6
|
| 21 |
+
|
| 22 |
+
hidden_n = 256
|
| 23 |
+
obj_in_feats = 3
|
| 24 |
+
robot_in_feats = obj_in_feats
|
| 25 |
+
obj_out_feats = 512
|
| 26 |
+
robot_out_feats = obj_out_feats
|
| 27 |
+
robot_weighting = 500.0
|
| 28 |
+
matchnet_weighting = 200.0
|
| 29 |
+
num_hidden = 3
|
| 30 |
+
|
| 31 |
+
dist_loss_weight = 0.5
|
| 32 |
+
match_loss_weight = 0.5
|